public class TermsAndConditionsReferenceRequest extends BaseRequest implements ITermsAndConditionsReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
TermsAndConditionsReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the TermsAndConditions
|
Modifier and Type | Method and Description |
---|---|
TermsAndConditions |
delete() |
void |
delete(ICallback<TermsAndConditions> callback) |
ITermsAndConditionsReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
TermsAndConditions |
put(TermsAndConditions srcTermsAndConditions)
Puts the TermsAndConditions
|
void |
put(TermsAndConditions srcTermsAndConditions,
ICallback<TermsAndConditions> callback)
Puts the TermsAndConditions
|
ITermsAndConditionsReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
public TermsAndConditionsReferenceRequest(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 delete(ICallback<TermsAndConditions> callback)
delete
in interface ITermsAndConditionsReferenceRequest
public TermsAndConditions delete() throws ClientException
delete
in interface ITermsAndConditionsReferenceRequest
ClientException
public ITermsAndConditionsReferenceRequest select(java.lang.String value)
select
in interface ITermsAndConditionsReferenceRequest
value
- the select clausepublic ITermsAndConditionsReferenceRequest expand(java.lang.String value)
expand
in interface ITermsAndConditionsReferenceRequest
value
- the expand clausepublic void put(TermsAndConditions srcTermsAndConditions, ICallback<TermsAndConditions> callback)
put
in interface ITermsAndConditionsReferenceRequest
srcTermsAndConditions
- the TermsAndConditions reference to PUTcallback
- the callback to be called after success or failurepublic TermsAndConditions put(TermsAndConditions srcTermsAndConditions) throws ClientException
put
in interface ITermsAndConditionsReferenceRequest
srcTermsAndConditions
- the TermsAndConditions reference to PUTClientException
- an exception occurs if there was an error while the request was sent