public class UserSettingsRequest extends BaseRequest implements IUserSettingsRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
UserSettingsRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the UserSettings
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super UserSettings> callback)
Delete this item from the service
|
IUserSettingsRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
UserSettings |
get()
Gets the UserSettings from the service
|
void |
get(ICallback<? super UserSettings> callback)
Gets the UserSettings from the service
|
UserSettings |
patch(UserSettings sourceUserSettings)
Patches this UserSettings with a source
|
void |
patch(UserSettings sourceUserSettings,
ICallback<? super UserSettings> callback)
Patches this UserSettings with a source
|
UserSettings |
post(UserSettings newUserSettings)
Creates a UserSettings with a new object
|
void |
post(UserSettings newUserSettings,
ICallback<? super UserSettings> callback)
Creates a UserSettings with a new object
|
UserSettings |
put(UserSettings newUserSettings)
Creates a UserSettings with a new object
|
void |
put(UserSettings newUserSettings,
ICallback<? super UserSettings> callback)
Creates a UserSettings with a new object
|
IUserSettingsRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic UserSettingsRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void get(ICallback<? super UserSettings> callback)
get in interface IUserSettingsRequestcallback - the callback to be called after success or failurepublic UserSettings get() throws ClientException
get in interface IUserSettingsRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super UserSettings> callback)
delete in interface IUserSettingsRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IUserSettingsRequestClientException - if there was an exception during the delete operationpublic void patch(UserSettings sourceUserSettings, ICallback<? super UserSettings> callback)
patch in interface IUserSettingsRequestsourceUserSettings - the source object with updatescallback - the callback to be called after success or failurepublic UserSettings patch(UserSettings sourceUserSettings) throws ClientException
patch in interface IUserSettingsRequestsourceUserSettings - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(UserSettings newUserSettings, ICallback<? super UserSettings> callback)
post in interface IUserSettingsRequestnewUserSettings - the new object to createcallback - the callback to be called after success or failurepublic UserSettings post(UserSettings newUserSettings) throws ClientException
post in interface IUserSettingsRequestnewUserSettings - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(UserSettings newUserSettings, ICallback<? super UserSettings> callback)
put in interface IUserSettingsRequestnewUserSettings - the object to create/updatecallback - the callback to be called after success or failurepublic UserSettings put(UserSettings newUserSettings) throws ClientException
put in interface IUserSettingsRequestnewUserSettings - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IUserSettingsRequest select(java.lang.String value)
select in interface IUserSettingsRequestvalue - the select clausepublic IUserSettingsRequest expand(java.lang.String value)
expand in interface IUserSettingsRequestvalue - the expand clause