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