public interface IRoleDefinitionRequest extends IHttpRequest
| 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)
Posts a RoleDefinition with a new object
|
void |
post(RoleDefinition newRoleDefinition,
ICallback<RoleDefinition> callback)
Posts a RoleDefinition with a new object
|
IRoleDefinitionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<RoleDefinition> callback)
callback - the callback to be called after success or failureRoleDefinition get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<RoleDefinition> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(RoleDefinition sourceRoleDefinition, ICallback<RoleDefinition> callback)
sourceRoleDefinition - the source object with updatescallback - the callback to be called after success or failureRoleDefinition patch(RoleDefinition sourceRoleDefinition) throws ClientException
sourceRoleDefinition - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(RoleDefinition newRoleDefinition, ICallback<RoleDefinition> callback)
newRoleDefinition - the new object to createcallback - the callback to be called after success or failureRoleDefinition post(RoleDefinition newRoleDefinition) throws ClientException
newRoleDefinition - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIRoleDefinitionRequest select(java.lang.String value)
value - the select clauseIRoleDefinitionRequest expand(java.lang.String value)
value - the expand clause