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