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