public class PrintUsageByPrinterRequest extends com.microsoft.graph.http.BaseRequest<PrintUsageByPrinter>
| Constructor and Description |
|---|
PrintUsageByPrinterRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the PrintUsageByPrinter
|
| Modifier and Type | Method and Description |
|---|---|
PrintUsageByPrinter |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<PrintUsageByPrinter> |
deleteAsync()
Delete this item from the service
|
PrintUsageByPrinterRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PrintUsageByPrinter |
get()
Gets the PrintUsageByPrinter from the service
|
java.util.concurrent.CompletableFuture<PrintUsageByPrinter> |
getAsync()
Gets the PrintUsageByPrinter from the service
|
PrintUsageByPrinter |
patch(PrintUsageByPrinter sourcePrintUsageByPrinter)
Patches this PrintUsageByPrinter with a source
|
java.util.concurrent.CompletableFuture<PrintUsageByPrinter> |
patchAsync(PrintUsageByPrinter sourcePrintUsageByPrinter)
Patches this PrintUsageByPrinter with a source
|
PrintUsageByPrinter |
post(PrintUsageByPrinter newPrintUsageByPrinter)
Creates a PrintUsageByPrinter with a new object
|
java.util.concurrent.CompletableFuture<PrintUsageByPrinter> |
postAsync(PrintUsageByPrinter newPrintUsageByPrinter)
Creates a PrintUsageByPrinter with a new object
|
PrintUsageByPrinter |
put(PrintUsageByPrinter newPrintUsageByPrinter)
Creates a PrintUsageByPrinter with a new object
|
java.util.concurrent.CompletableFuture<PrintUsageByPrinter> |
putAsync(PrintUsageByPrinter newPrintUsageByPrinter)
Creates a PrintUsageByPrinter with a new object
|
PrintUsageByPrinterRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic PrintUsageByPrinterRequest(@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<PrintUsageByPrinter> getAsync()
@Nullable public PrintUsageByPrinter get() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<PrintUsageByPrinter> deleteAsync()
@Nullable public PrintUsageByPrinter delete() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException - if there was an exception during the delete operation@Nonnull public java.util.concurrent.CompletableFuture<PrintUsageByPrinter> patchAsync(@Nonnull PrintUsageByPrinter sourcePrintUsageByPrinter)
sourcePrintUsageByPrinter - the source object with updates@Nullable public PrintUsageByPrinter patch(@Nonnull PrintUsageByPrinter sourcePrintUsageByPrinter) throws com.microsoft.graph.core.ClientException
sourcePrintUsageByPrinter - the source object with updatescom.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<PrintUsageByPrinter> postAsync(@Nonnull PrintUsageByPrinter newPrintUsageByPrinter)
newPrintUsageByPrinter - the new object to create@Nullable public PrintUsageByPrinter post(@Nonnull PrintUsageByPrinter newPrintUsageByPrinter) throws com.microsoft.graph.core.ClientException
newPrintUsageByPrinter - the new object to createcom.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<PrintUsageByPrinter> putAsync(@Nonnull PrintUsageByPrinter newPrintUsageByPrinter)
newPrintUsageByPrinter - the object to create/update@Nullable public PrintUsageByPrinter put(@Nonnull PrintUsageByPrinter newPrintUsageByPrinter) throws com.microsoft.graph.core.ClientException
newPrintUsageByPrinter - the object to create/updatecom.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public PrintUsageByPrinterRequest select(@Nonnull java.lang.String value)
value - the select clause@Nonnull public PrintUsageByPrinterRequest expand(@Nonnull java.lang.String value)
value - the expand clause