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
|
IContactFolderCollectionPage |
get() |
void |
get(ICallback<IContactFolderCollectionPage> callback) |
ContactFolder |
post(ContactFolder newContactFolder) |
void |
post(ContactFolder newContactFolder,
ICallback<ContactFolder> callback) |
IContactFolderCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IContactFolderCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic 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<IContactFolderCollectionPage> callback)
get in interface IContactFolderCollectionRequestpublic IContactFolderCollectionPage get() throws ClientException
get in interface IContactFolderCollectionRequestClientExceptionpublic void post(ContactFolder newContactFolder, ICallback<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 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 IContactFolderCollectionPage buildFromResponse(ContactFolderCollectionResponse response)