public class DirectoryRequest extends BaseRequest implements IDirectoryRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
DirectoryRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the Directory
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super Directory> callback)
Delete this item from the service
|
IDirectoryRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Directory |
get()
Gets the Directory from the service
|
void |
get(ICallback<? super Directory> callback)
Gets the Directory from the service
|
Directory |
patch(Directory sourceDirectory)
Patches this Directory with a source
|
void |
patch(Directory sourceDirectory,
ICallback<? super Directory> callback)
Patches this Directory with a source
|
Directory |
post(Directory newDirectory)
Creates a Directory with a new object
|
void |
post(Directory newDirectory,
ICallback<? super Directory> callback)
Creates a Directory with a new object
|
Directory |
put(Directory newDirectory)
Creates a Directory with a new object
|
void |
put(Directory newDirectory,
ICallback<? super Directory> callback)
Creates a Directory with a new object
|
IDirectoryRequest |
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 DirectoryRequest(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 Directory> callback)
get in interface IDirectoryRequestcallback - the callback to be called after success or failurepublic Directory get() throws ClientException
get in interface IDirectoryRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super Directory> callback)
delete in interface IDirectoryRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IDirectoryRequestClientException - if there was an exception during the delete operationpublic void patch(Directory sourceDirectory, ICallback<? super Directory> callback)
patch in interface IDirectoryRequestsourceDirectory - the source object with updatescallback - the callback to be called after success or failurepublic Directory patch(Directory sourceDirectory) throws ClientException
patch in interface IDirectoryRequestsourceDirectory - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(Directory newDirectory, ICallback<? super Directory> callback)
post in interface IDirectoryRequestnewDirectory - the new object to createcallback - the callback to be called after success or failurepublic Directory post(Directory newDirectory) throws ClientException
post in interface IDirectoryRequestnewDirectory - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(Directory newDirectory, ICallback<? super Directory> callback)
put in interface IDirectoryRequestnewDirectory - the object to create/updatecallback - the callback to be called after success or failurepublic Directory put(Directory newDirectory) throws ClientException
put in interface IDirectoryRequestnewDirectory - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IDirectoryRequest select(java.lang.String value)
select in interface IDirectoryRequestvalue - the select clausepublic IDirectoryRequest expand(java.lang.String value)
expand in interface IDirectoryRequestvalue - the expand clause