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