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