public class AgreementCollectionRequest extends com.microsoft.graph.http.BaseEntityCollectionRequest<Agreement,AgreementCollectionResponse,AgreementCollectionPage>
| Constructor and Description |
|---|
AgreementCollectionRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request builder for this collection of Agreement
|
| Modifier and Type | Method and Description |
|---|---|
AgreementCollectionRequest |
count()
Sets the count value to true for the request
|
AgreementCollectionRequest |
count(boolean value)
Sets the count value for the request
|
AgreementCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
AgreementCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
AgreementCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
Agreement |
post(Agreement newAgreement)
Creates a new Agreement
|
java.util.concurrent.CompletableFuture<Agreement> |
postAsync(Agreement newAgreement)
Creates a new Agreement
|
AgreementCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
AgreementCollectionRequest |
skip(int value)
Sets the skip value for the request
|
AgreementCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
AgreementCollectionRequest |
top(int value)
Sets the top value for the request
|
get, getAsync, postaddCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, buildFromResponse, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic AgreementCollectionRequest(@Nonnull
java.lang.String requestUrl,
@Nonnull
com.microsoft.graph.core.IBaseClient<?> client,
@Nullable
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this request@Nonnull public java.util.concurrent.CompletableFuture<Agreement> postAsync(@Nonnull Agreement newAgreement)
newAgreement - the Agreement to create@Nonnull public Agreement post(@Nonnull Agreement newAgreement) throws com.microsoft.graph.core.ClientException
newAgreement - the Agreement to createcom.microsoft.graph.core.ClientException@Nonnull public AgreementCollectionRequest expand(@Nonnull java.lang.String value)
value - the expand clause@Nonnull public AgreementCollectionRequest filter(@Nonnull java.lang.String value)
value - the filter clause@Nonnull public AgreementCollectionRequest orderBy(@Nonnull java.lang.String value)
value - the order by clause@Nonnull public AgreementCollectionRequest select(@Nonnull java.lang.String value)
value - the select clause@Nonnull public AgreementCollectionRequest top(int value)
value - the max number of items to return@Nonnull public AgreementCollectionRequest count(boolean value)
value - whether or not to return the count of objects with the request@Nonnull public AgreementCollectionRequest count()
@Nonnull public AgreementCollectionRequest skip(int value)
value - of the number of items to skip@Nonnull public AgreementCollectionRequest skipToken(@Nonnull java.lang.String skipToken)
skipToken - - Token for pagination