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