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