Package com.microsoft.graph.requests
Class Windows81GeneralConfigurationRequest
java.lang.Object
com.microsoft.graph.http.BaseRequest<Windows81GeneralConfiguration>
com.microsoft.graph.requests.Windows81GeneralConfigurationRequest
- All Implemented Interfaces:
com.microsoft.graph.http.IHttpRequest
public class Windows81GeneralConfigurationRequest
extends com.microsoft.graph.http.BaseRequest<Windows81GeneralConfiguration>
The class for the Windows81General Configuration Request.
-
Field Summary
Fields inherited from class com.microsoft.graph.http.BaseRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
-
Constructor Summary
ConstructorsConstructorDescriptionWindows81GeneralConfigurationRequest
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request for the Windows81GeneralConfiguration -
Method Summary
Modifier and TypeMethodDescriptiondelete()
Delete this item from the serviceDelete this item from the serviceSets the expand clause for the requestget()
Gets the Windows81GeneralConfiguration from the servicegetAsync()
Gets the Windows81GeneralConfiguration from the servicepatch
(Windows81GeneralConfiguration sourceWindows81GeneralConfiguration) Patches this Windows81GeneralConfiguration with a sourcepatchAsync
(Windows81GeneralConfiguration sourceWindows81GeneralConfiguration) Patches this Windows81GeneralConfiguration with a sourcepost
(Windows81GeneralConfiguration newWindows81GeneralConfiguration) Creates a Windows81GeneralConfiguration with a new objectpostAsync
(Windows81GeneralConfiguration newWindows81GeneralConfiguration) Creates a Windows81GeneralConfiguration with a new objectput
(Windows81GeneralConfiguration newWindows81GeneralConfiguration) Creates a Windows81GeneralConfiguration with a new objectputAsync
(Windows81GeneralConfiguration newWindows81GeneralConfiguration) Creates a Windows81GeneralConfiguration with a new objectSets the select clause for the requestMethods inherited from class com.microsoft.graph.http.BaseRequest
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.http.IHttpRequest
getHttpRequest
-
Constructor Details
-
Windows81GeneralConfigurationRequest
public Windows81GeneralConfigurationRequest(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request for the Windows81GeneralConfiguration- Parameters:
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request
-
-
Method Details
-
getAsync
Gets the Windows81GeneralConfiguration from the service- Returns:
- a future with the result
-
get
@Nullable public Windows81GeneralConfiguration get() throws com.microsoft.graph.core.ClientExceptionGets the Windows81GeneralConfiguration from the service- Returns:
- the Windows81GeneralConfiguration from the request
- Throws:
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason
-
deleteAsync
Delete this item from the service- Returns:
- a future with the deletion result
-
delete
@Nullable public Windows81GeneralConfiguration delete() throws com.microsoft.graph.core.ClientExceptionDelete this item from the service- Returns:
- the resulting response if the service returns anything on deletion
- Throws:
com.microsoft.graph.core.ClientException
- if there was an exception during the delete operation
-
patchAsync
@Nonnull public CompletableFuture<Windows81GeneralConfiguration> patchAsync(@Nonnull Windows81GeneralConfiguration sourceWindows81GeneralConfiguration) Patches this Windows81GeneralConfiguration with a source- Parameters:
sourceWindows81GeneralConfiguration
- the source object with updates- Returns:
- a future with the result
-
patch
@Nullable public Windows81GeneralConfiguration patch(@Nonnull Windows81GeneralConfiguration sourceWindows81GeneralConfiguration) throws com.microsoft.graph.core.ClientException Patches this Windows81GeneralConfiguration with a source- Parameters:
sourceWindows81GeneralConfiguration
- the source object with updates- Returns:
- the updated Windows81GeneralConfiguration
- Throws:
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason
-
postAsync
@Nonnull public CompletableFuture<Windows81GeneralConfiguration> postAsync(@Nonnull Windows81GeneralConfiguration newWindows81GeneralConfiguration) Creates a Windows81GeneralConfiguration with a new object- Parameters:
newWindows81GeneralConfiguration
- the new object to create- Returns:
- a future with the result
-
post
@Nullable public Windows81GeneralConfiguration post(@Nonnull Windows81GeneralConfiguration newWindows81GeneralConfiguration) throws com.microsoft.graph.core.ClientException Creates a Windows81GeneralConfiguration with a new object- Parameters:
newWindows81GeneralConfiguration
- the new object to create- Returns:
- the created Windows81GeneralConfiguration
- Throws:
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason
-
putAsync
@Nonnull public CompletableFuture<Windows81GeneralConfiguration> putAsync(@Nonnull Windows81GeneralConfiguration newWindows81GeneralConfiguration) Creates a Windows81GeneralConfiguration with a new object- Parameters:
newWindows81GeneralConfiguration
- the object to create/update- Returns:
- a future with the result
-
put
@Nullable public Windows81GeneralConfiguration put(@Nonnull Windows81GeneralConfiguration newWindows81GeneralConfiguration) throws com.microsoft.graph.core.ClientException Creates a Windows81GeneralConfiguration with a new object- Parameters:
newWindows81GeneralConfiguration
- the object to create/update- Returns:
- the created Windows81GeneralConfiguration
- Throws:
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason
-
select
Sets the select clause for the request- Parameters:
value
- the select clause- Returns:
- the updated request
-
expand
Sets the expand clause for the request- Parameters:
value
- the expand clause- Returns:
- the updated request
-