public class TermsAndConditionsWithReferenceRequest extends BaseRequest implements ITermsAndConditionsWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
TermsAndConditionsWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the TermsAndConditions
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<? super TermsAndConditions> callback) |
ITermsAndConditionsWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
TermsAndConditions |
get() |
void |
get(ICallback<? super TermsAndConditions> callback) |
TermsAndConditions |
patch(TermsAndConditions sourceTermsAndConditions) |
void |
patch(TermsAndConditions sourceTermsAndConditions,
ICallback<? super TermsAndConditions> callback) |
TermsAndConditions |
post(TermsAndConditions newTermsAndConditions,
IJsonBackedObject payload) |
void |
post(TermsAndConditions newTermsAndConditions,
IJsonBackedObject payload,
ICallback<? super TermsAndConditions> callback) |
ITermsAndConditionsWithReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, 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 TermsAndConditionsWithReferenceRequest(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 post(TermsAndConditions newTermsAndConditions, IJsonBackedObject payload, ICallback<? super TermsAndConditions> callback)
post in interface ITermsAndConditionsWithReferenceRequestpublic TermsAndConditions post(TermsAndConditions newTermsAndConditions, IJsonBackedObject payload) throws ClientException
post in interface ITermsAndConditionsWithReferenceRequestClientExceptionpublic void get(ICallback<? super TermsAndConditions> callback)
get in interface ITermsAndConditionsWithReferenceRequestpublic TermsAndConditions get() throws ClientException
get in interface ITermsAndConditionsWithReferenceRequestClientExceptionpublic void delete(ICallback<? super TermsAndConditions> callback)
delete in interface ITermsAndConditionsWithReferenceRequestpublic void delete()
throws ClientException
delete in interface ITermsAndConditionsWithReferenceRequestClientExceptionpublic void patch(TermsAndConditions sourceTermsAndConditions, ICallback<? super TermsAndConditions> callback)
patch in interface ITermsAndConditionsWithReferenceRequestpublic TermsAndConditions patch(TermsAndConditions sourceTermsAndConditions) throws ClientException
patch in interface ITermsAndConditionsWithReferenceRequestClientExceptionpublic ITermsAndConditionsWithReferenceRequest select(java.lang.String value)
select in interface ITermsAndConditionsWithReferenceRequestvalue - the select clausepublic ITermsAndConditionsWithReferenceRequest expand(java.lang.String value)
expand in interface ITermsAndConditionsWithReferenceRequestvalue - the expand clause