public class MailFolderCollectionRequest extends BaseCollectionRequest<MailFolderCollectionResponse,IMailFolderCollectionPage> implements IMailFolderCollectionRequest
| Constructor and Description |
|---|
MailFolderCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of MailFolder
|
| Modifier and Type | Method and Description |
|---|---|
IMailFolderCollectionPage |
buildFromResponse(MailFolderCollectionResponse response) |
IMailFolderCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IMailFolderCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IMailFolderCollectionPage |
get() |
void |
get(ICallback<? super IMailFolderCollectionPage> callback) |
IMailFolderCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
MailFolder |
post(MailFolder newMailFolder) |
void |
post(MailFolder newMailFolder,
ICallback<? super MailFolder> callback) |
IMailFolderCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IMailFolderCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IMailFolderCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IMailFolderCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, 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 MailFolderCollectionRequest(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 IMailFolderCollectionPage> callback)
get in interface IMailFolderCollectionRequestpublic IMailFolderCollectionPage get() throws ClientException
get in interface IMailFolderCollectionRequestClientExceptionpublic void post(MailFolder newMailFolder, ICallback<? super MailFolder> callback)
post in interface IMailFolderCollectionRequestpublic MailFolder post(MailFolder newMailFolder) throws ClientException
post in interface IMailFolderCollectionRequestClientExceptionpublic IMailFolderCollectionRequest expand(java.lang.String value)
expand in interface IMailFolderCollectionRequestvalue - the expand clausepublic IMailFolderCollectionRequest filter(java.lang.String value)
filter in interface IMailFolderCollectionRequestvalue - the filter clausepublic IMailFolderCollectionRequest orderBy(java.lang.String value)
orderBy in interface IMailFolderCollectionRequestvalue - the order by clausepublic IMailFolderCollectionRequest select(java.lang.String value)
select in interface IMailFolderCollectionRequestvalue - the select clausepublic IMailFolderCollectionRequest top(int value)
top in interface IMailFolderCollectionRequestvalue - the max number of items to returnpublic IMailFolderCollectionRequest skip(int value)
skip in interface IMailFolderCollectionRequestvalue - of the number of items to skippublic IMailFolderCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IMailFolderCollectionRequestskipToken - - Token for paginationpublic IMailFolderCollectionPage buildFromResponse(MailFolderCollectionResponse response)