public interface IDirectoryRoleRequest extends IHttpRequest
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<DirectoryRole> callback)
Delete this item from the service
|
IDirectoryRoleRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
DirectoryRole |
get()
Gets the DirectoryRole from the service
|
void |
get(ICallback<DirectoryRole> callback)
Gets the DirectoryRole from the service
|
DirectoryRole |
patch(DirectoryRole sourceDirectoryRole)
Patches this DirectoryRole with a source
|
void |
patch(DirectoryRole sourceDirectoryRole,
ICallback<DirectoryRole> callback)
Patches this DirectoryRole with a source
|
DirectoryRole |
post(DirectoryRole newDirectoryRole)
Posts a DirectoryRole with a new object
|
void |
post(DirectoryRole newDirectoryRole,
ICallback<DirectoryRole> callback)
Posts a DirectoryRole with a new object
|
IDirectoryRoleRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getHeaders, getHttpMethod, getOptions, getRequestUrl, getUseCaches, setUseCaches
void get(ICallback<DirectoryRole> callback)
callback
- the callback to be called after success or failureDirectoryRole get() throws ClientException
ClientException
- this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<DirectoryRole> callback)
callback
- the callback when the deletion action has completedvoid delete() throws ClientException
ClientException
- if there was an exception during the delete operationvoid patch(DirectoryRole sourceDirectoryRole, ICallback<DirectoryRole> callback)
sourceDirectoryRole
- the source object with updatescallback
- the callback to be called after success or failureDirectoryRole patch(DirectoryRole sourceDirectoryRole) throws ClientException
sourceDirectoryRole
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonvoid post(DirectoryRole newDirectoryRole, ICallback<DirectoryRole> callback)
newDirectoryRole
- the new object to createcallback
- the callback to be called after success or failureDirectoryRole post(DirectoryRole newDirectoryRole) throws ClientException
newDirectoryRole
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonIDirectoryRoleRequest select(java.lang.String value)
value
- the select clauseIDirectoryRoleRequest expand(java.lang.String value)
value
- the expand clause