public class RoleDefinitionRequest extends BaseRequest implements IRoleDefinitionRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
RoleDefinitionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the RoleDefinition
|
RoleDefinitionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends RoleDefinition> responseClass)
The request for the RoleDefinition
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<RoleDefinition> callback)
Delete this item from the service
|
IRoleDefinitionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
RoleDefinition |
get()
Gets the RoleDefinition from the service
|
void |
get(ICallback<RoleDefinition> callback)
Gets the RoleDefinition from the service
|
RoleDefinition |
patch(RoleDefinition sourceRoleDefinition)
Patches this RoleDefinition with a source
|
void |
patch(RoleDefinition sourceRoleDefinition,
ICallback<RoleDefinition> callback)
Patches this RoleDefinition with a source
|
RoleDefinition |
post(RoleDefinition newRoleDefinition)
Creates a RoleDefinition with a new object
|
void |
post(RoleDefinition newRoleDefinition,
ICallback<RoleDefinition> callback)
Creates a RoleDefinition with a new object
|
IRoleDefinitionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic RoleDefinitionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends RoleDefinition> responseClass)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestresponseClass - the class of the responsepublic RoleDefinitionRequest(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<RoleDefinition> callback)
get in interface IRoleDefinitionRequestcallback - the callback to be called after success or failurepublic RoleDefinition get() throws ClientException
get in interface IRoleDefinitionRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<RoleDefinition> callback)
delete in interface IRoleDefinitionRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IRoleDefinitionRequestClientException - if there was an exception during the delete operationpublic void patch(RoleDefinition sourceRoleDefinition, ICallback<RoleDefinition> callback)
patch in interface IRoleDefinitionRequestsourceRoleDefinition - the source object with updatescallback - the callback to be called after success or failurepublic RoleDefinition patch(RoleDefinition sourceRoleDefinition) throws ClientException
patch in interface IRoleDefinitionRequestsourceRoleDefinition - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(RoleDefinition newRoleDefinition, ICallback<RoleDefinition> callback)
post in interface IRoleDefinitionRequestnewRoleDefinition - the new object to createcallback - the callback to be called after success or failurepublic RoleDefinition post(RoleDefinition newRoleDefinition) throws ClientException
post in interface IRoleDefinitionRequestnewRoleDefinition - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IRoleDefinitionRequest select(java.lang.String value)
select in interface IRoleDefinitionRequestvalue - the select clausepublic IRoleDefinitionRequest expand(java.lang.String value)
expand in interface IRoleDefinitionRequestvalue - the expand clause