public class ManagedDeviceReferenceRequest extends com.microsoft.graph.http.BaseReferenceRequest<ManagedDevice>
| Constructor and Description |
|---|
ManagedDeviceReferenceRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the ManagedDevice
|
| Modifier and Type | Method and Description |
|---|---|
ManagedDeviceReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ManagedDevice |
put(ManagedDevice srcManagedDevice)
Puts the ManagedDevice
|
java.util.concurrent.CompletableFuture<ManagedDevice> |
putAsync(ManagedDevice srcManagedDevice)
Puts the ManagedDevice
|
ManagedDeviceReferenceRequest |
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 ManagedDeviceReferenceRequest(@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 ManagedDeviceReferenceRequest select(@Nonnull java.lang.String value)
value - the select clause@Nonnull public ManagedDeviceReferenceRequest expand(@Nonnull java.lang.String value)
value - the expand clause@Nonnull public java.util.concurrent.CompletableFuture<ManagedDevice> putAsync(@Nonnull ManagedDevice srcManagedDevice)
srcManagedDevice - the ManagedDevice reference to PUT@Nullable public ManagedDevice put(@Nonnull ManagedDevice srcManagedDevice) throws com.microsoft.graph.core.ClientException
srcManagedDevice - the ManagedDevice reference to PUTcom.microsoft.graph.core.ClientException - an exception occurs if there was an error while the request was sent