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