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