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