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
|
ITermsAndConditionsCollectionPage |
get() |
void |
get(ICallback<ITermsAndConditionsCollectionPage> callback) |
TermsAndConditions |
post(TermsAndConditions newTermsAndConditions) |
void |
post(TermsAndConditions newTermsAndConditions,
ICallback<TermsAndConditions> callback) |
ITermsAndConditionsCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ITermsAndConditionsCollectionRequest |
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 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<ITermsAndConditionsCollectionPage> callback)
get in interface ITermsAndConditionsCollectionRequestpublic ITermsAndConditionsCollectionPage get() throws ClientException
get in interface ITermsAndConditionsCollectionRequestClientExceptionpublic void post(TermsAndConditions newTermsAndConditions, ICallback<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 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 ITermsAndConditionsCollectionPage buildFromResponse(TermsAndConditionsCollectionResponse response)