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