public class ApprovalCollectionRequest extends com.microsoft.graph.http.BaseEntityCollectionRequest<Approval,ApprovalCollectionResponse,ApprovalCollectionPage>
| Constructor and Description |
|---|
ApprovalCollectionRequest(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 Approval
|
| Modifier and Type | Method and Description |
|---|---|
ApprovalCollectionRequest |
count()
Sets the count value to true for the request
|
ApprovalCollectionRequest |
count(boolean value)
Sets the count value for the request
|
ApprovalCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ApprovalCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ApprovalCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
Approval |
post(Approval newApproval)
Creates a new Approval
|
java.util.concurrent.CompletableFuture<Approval> |
postAsync(Approval newApproval)
Creates a new Approval
|
ApprovalCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ApprovalCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ApprovalCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
ApprovalCollectionRequest |
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 ApprovalCollectionRequest(@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<Approval> postAsync(@Nonnull Approval newApproval)
newApproval - the Approval to create@Nonnull public Approval post(@Nonnull Approval newApproval) throws com.microsoft.graph.core.ClientException
newApproval - the Approval to createcom.microsoft.graph.core.ClientException@Nonnull public ApprovalCollectionRequest expand(@Nonnull java.lang.String value)
value - the expand clause@Nonnull public ApprovalCollectionRequest filter(@Nonnull java.lang.String value)
value - the filter clause@Nonnull public ApprovalCollectionRequest orderBy(@Nonnull java.lang.String value)
value - the order by clause@Nonnull public ApprovalCollectionRequest select(@Nonnull java.lang.String value)
value - the select clause@Nonnull public ApprovalCollectionRequest top(int value)
value - the max number of items to return@Nonnull public ApprovalCollectionRequest count(boolean value)
value - whether or not to return the count of objects with the request@Nonnull public ApprovalCollectionRequest count()
@Nonnull public ApprovalCollectionRequest skip(int value)
value - of the number of items to skip@Nonnull public ApprovalCollectionRequest skipToken(@Nonnull java.lang.String skipToken)
skipToken - - Token for pagination