public class MailFolderCopyRequest extends BaseRequest implements IMailFolderCopyRequest
Modifier and Type | Field and Description |
---|---|
protected MailFolderCopyBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
MailFolderCopyRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this MailFolderCopy
|
Modifier and Type | Method and Description |
---|---|
IMailFolderCopyRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
MailFolder |
post() |
void |
post(ICallback<MailFolder> callback) |
IMailFolderCopyRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IMailFolderCopyRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
protected final MailFolderCopyBody body
public MailFolderCopyRequest(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 post(ICallback<MailFolder> callback)
post
in interface IMailFolderCopyRequest
public MailFolder post() throws ClientException
post
in interface IMailFolderCopyRequest
ClientException
public IMailFolderCopyRequest select(java.lang.String value)
select
in interface IMailFolderCopyRequest
value
- the select clausepublic IMailFolderCopyRequest top(int value)
top
in interface IMailFolderCopyRequest
value
- the max number of items to returnpublic IMailFolderCopyRequest expand(java.lang.String value)
expand
in interface IMailFolderCopyRequest
value
- the expand clause