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