public class ContactFolderCollectionRequest extends BaseCollectionRequest<ContactFolderCollectionResponse,IContactFolderCollectionPage> implements IContactFolderCollectionRequest
| Constructor and Description |
|---|
ContactFolderCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of ContactFolder
|
| Modifier and Type | Method and Description |
|---|---|
IContactFolderCollectionPage |
buildFromResponse(ContactFolderCollectionResponse response) |
IContactFolderCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IContactFolderCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IContactFolderCollectionPage |
get() |
void |
get(ICallback<? super IContactFolderCollectionPage> callback) |
IContactFolderCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
ContactFolder |
post(ContactFolder newContactFolder) |
void |
post(ContactFolder newContactFolder,
ICallback<? super ContactFolder> callback) |
IContactFolderCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IContactFolderCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IContactFolderCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IContactFolderCollectionRequest |
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 ContactFolderCollectionRequest(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 IContactFolderCollectionPage> callback)
get in interface IContactFolderCollectionRequestpublic IContactFolderCollectionPage get() throws ClientException
get in interface IContactFolderCollectionRequestClientExceptionpublic void post(ContactFolder newContactFolder, ICallback<? super ContactFolder> callback)
post in interface IContactFolderCollectionRequestpublic ContactFolder post(ContactFolder newContactFolder) throws ClientException
post in interface IContactFolderCollectionRequestClientExceptionpublic IContactFolderCollectionRequest expand(java.lang.String value)
expand in interface IContactFolderCollectionRequestvalue - the expand clausepublic IContactFolderCollectionRequest filter(java.lang.String value)
filter in interface IContactFolderCollectionRequestvalue - the filter clausepublic IContactFolderCollectionRequest orderBy(java.lang.String value)
orderBy in interface IContactFolderCollectionRequestvalue - the order by clausepublic IContactFolderCollectionRequest select(java.lang.String value)
select in interface IContactFolderCollectionRequestvalue - the select clausepublic IContactFolderCollectionRequest top(int value)
top in interface IContactFolderCollectionRequestvalue - the max number of items to returnpublic IContactFolderCollectionRequest skip(int value)
skip in interface IContactFolderCollectionRequestvalue - of the number of items to skippublic IContactFolderCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IContactFolderCollectionRequestskipToken - - Token for paginationpublic IContactFolderCollectionPage buildFromResponse(ContactFolderCollectionResponse response)