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