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