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