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