public class PrintOperationRequest extends com.microsoft.graph.http.BaseRequest<PrintOperation>
Constructor and Description |
---|
PrintOperationRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the PrintOperation
|
PrintOperationRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions,
java.lang.Class<? extends PrintOperation> responseClass)
The request for the PrintOperation
|
Modifier and Type | Method and Description |
---|---|
PrintOperation |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<PrintOperation> |
deleteAsync()
Delete this item from the service
|
PrintOperationRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PrintOperation |
get()
Gets the PrintOperation from the service
|
java.util.concurrent.CompletableFuture<PrintOperation> |
getAsync()
Gets the PrintOperation from the service
|
PrintOperation |
patch(PrintOperation sourcePrintOperation)
Patches this PrintOperation with a source
|
java.util.concurrent.CompletableFuture<PrintOperation> |
patchAsync(PrintOperation sourcePrintOperation)
Patches this PrintOperation with a source
|
PrintOperation |
post(PrintOperation newPrintOperation)
Creates a PrintOperation with a new object
|
java.util.concurrent.CompletableFuture<PrintOperation> |
postAsync(PrintOperation newPrintOperation)
Creates a PrintOperation with a new object
|
PrintOperation |
put(PrintOperation newPrintOperation)
Creates a PrintOperation with a new object
|
java.util.concurrent.CompletableFuture<PrintOperation> |
putAsync(PrintOperation newPrintOperation)
Creates a PrintOperation with a new object
|
PrintOperationRequest |
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, withHttpMethod
public PrintOperationRequest(@Nonnull java.lang.String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable java.util.List<? extends com.microsoft.graph.options.Option> requestOptions, @Nonnull java.lang.Class<? extends PrintOperation> responseClass)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this requestresponseClass
- the class of the responsepublic PrintOperationRequest(@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<PrintOperation> getAsync()
@Nullable public PrintOperation 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<PrintOperation> deleteAsync()
@Nullable public PrintOperation 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<PrintOperation> patchAsync(@Nonnull PrintOperation sourcePrintOperation)
sourcePrintOperation
- the source object with updates@Nullable public PrintOperation patch(@Nonnull PrintOperation sourcePrintOperation) throws com.microsoft.graph.core.ClientException
sourcePrintOperation
- 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<PrintOperation> postAsync(@Nonnull PrintOperation newPrintOperation)
newPrintOperation
- the new object to create@Nullable public PrintOperation post(@Nonnull PrintOperation newPrintOperation) throws com.microsoft.graph.core.ClientException
newPrintOperation
- 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<PrintOperation> putAsync(@Nonnull PrintOperation newPrintOperation)
newPrintOperation
- the object to create/update@Nullable public PrintOperation put(@Nonnull PrintOperation newPrintOperation) throws com.microsoft.graph.core.ClientException
newPrintOperation
- the object to create/updatecom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public PrintOperationRequest select(@Nonnull java.lang.String value)
value
- the select clause@Nonnull public PrintOperationRequest expand(@Nonnull java.lang.String value)
value
- the expand clause