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