public interface IRoleDefinitionRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super 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<? super RoleDefinition> callback)
Gets the RoleDefinition from the service
|
RoleDefinition |
patch(RoleDefinition sourceRoleDefinition)
Patches this RoleDefinition with a source
|
void |
patch(RoleDefinition sourceRoleDefinition,
ICallback<? super RoleDefinition> callback)
Patches this RoleDefinition with a source
|
RoleDefinition |
post(RoleDefinition newRoleDefinition)
Posts a RoleDefinition with a new object
|
void |
post(RoleDefinition newRoleDefinition,
ICallback<? super RoleDefinition> callback)
Posts a RoleDefinition with a new object
|
RoleDefinition |
put(RoleDefinition newRoleDefinition)
Posts a RoleDefinition with a new object
|
void |
put(RoleDefinition newRoleDefinition,
ICallback<? super 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, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super 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<? super 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<? super 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<? super 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 reasonvoid put(RoleDefinition newRoleDefinition, ICallback<? super RoleDefinition> callback)
newRoleDefinition - the object to create/updatecallback - the callback to be called after success or failureRoleDefinition put(RoleDefinition newRoleDefinition) throws ClientException
newRoleDefinition - the object to create/updateClientException - 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