public interface IMailFolderRequest extends IHttpRequest
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super MailFolder> callback)
Delete this item from the service
|
IMailFolderRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
MailFolder |
get()
Gets the MailFolder from the service
|
void |
get(ICallback<? super MailFolder> callback)
Gets the MailFolder from the service
|
MailFolder |
patch(MailFolder sourceMailFolder)
Patches this MailFolder with a source
|
void |
patch(MailFolder sourceMailFolder,
ICallback<? super MailFolder> callback)
Patches this MailFolder with a source
|
MailFolder |
post(MailFolder newMailFolder)
Posts a MailFolder with a new object
|
void |
post(MailFolder newMailFolder,
ICallback<? super MailFolder> callback)
Posts a MailFolder with a new object
|
MailFolder |
put(MailFolder newMailFolder)
Posts a MailFolder with a new object
|
void |
put(MailFolder newMailFolder,
ICallback<? super MailFolder> callback)
Posts a MailFolder with a new object
|
IMailFolderRequest |
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, withHttpMethod
void get(ICallback<? super MailFolder> callback)
callback
- the callback to be called after success or failureMailFolder get() throws ClientException
ClientException
- this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super MailFolder> callback)
callback
- the callback when the deletion action has completedvoid delete() throws ClientException
ClientException
- if there was an exception during the delete operationvoid patch(MailFolder sourceMailFolder, ICallback<? super MailFolder> callback)
sourceMailFolder
- the source object with updatescallback
- the callback to be called after success or failureMailFolder patch(MailFolder sourceMailFolder) throws ClientException
sourceMailFolder
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonvoid post(MailFolder newMailFolder, ICallback<? super MailFolder> callback)
newMailFolder
- the new object to createcallback
- the callback to be called after success or failureMailFolder post(MailFolder newMailFolder) throws ClientException
newMailFolder
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonvoid put(MailFolder newMailFolder, ICallback<? super MailFolder> callback)
newMailFolder
- the object to create/updatecallback
- the callback to be called after success or failureMailFolder put(MailFolder newMailFolder) throws ClientException
newMailFolder
- the object to create/updateClientException
- this exception occurs if the request was unable to complete for any reasonIMailFolderRequest select(java.lang.String value)
value
- the select clauseIMailFolderRequest expand(java.lang.String value)
value
- the expand clause