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, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public 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 IMailFolderCollectionRequest
public IMailFolderCollectionPage get() throws ClientException
get
in interface IMailFolderCollectionRequest
ClientException
public void post(MailFolder newMailFolder, ICallback<? super MailFolder> callback)
post
in interface IMailFolderCollectionRequest
public MailFolder post(MailFolder newMailFolder) throws ClientException
post
in interface IMailFolderCollectionRequest
ClientException
public IMailFolderCollectionRequest expand(java.lang.String value)
expand
in interface IMailFolderCollectionRequest
value
- the expand clausepublic IMailFolderCollectionRequest filter(java.lang.String value)
filter
in interface IMailFolderCollectionRequest
value
- the filter clausepublic IMailFolderCollectionRequest orderBy(java.lang.String value)
orderBy
in interface IMailFolderCollectionRequest
value
- the order by clausepublic IMailFolderCollectionRequest select(java.lang.String value)
select
in interface IMailFolderCollectionRequest
value
- the select clausepublic IMailFolderCollectionRequest top(int value)
top
in interface IMailFolderCollectionRequest
value
- the max number of items to returnpublic IMailFolderCollectionRequest skip(int value)
skip
in interface IMailFolderCollectionRequest
value
- of the number of items to skippublic IMailFolderCollectionRequest skipToken(java.lang.String skipToken)
skipToken
in interface IMailFolderCollectionRequest
skipToken
- - Token for paginationpublic IMailFolderCollectionPage buildFromResponse(MailFolderCollectionResponse response)