public class PrintTaskDefinitionReferenceRequest extends BaseRequest implements IPrintTaskDefinitionReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
PrintTaskDefinitionReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the PrintTaskDefinition
|
| Modifier and Type | Method and Description |
|---|---|
PrintTaskDefinition |
delete() |
void |
delete(ICallback<? super PrintTaskDefinition> callback) |
IPrintTaskDefinitionReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PrintTaskDefinition |
put(PrintTaskDefinition srcPrintTaskDefinition)
Puts the PrintTaskDefinition
|
void |
put(PrintTaskDefinition srcPrintTaskDefinition,
ICallback<? super PrintTaskDefinition> callback)
Puts the PrintTaskDefinition
|
IPrintTaskDefinitionReferenceRequest |
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 PrintTaskDefinitionReferenceRequest(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<? super PrintTaskDefinition> callback)
delete in interface IPrintTaskDefinitionReferenceRequestpublic PrintTaskDefinition delete() throws ClientException
delete in interface IPrintTaskDefinitionReferenceRequestClientExceptionpublic IPrintTaskDefinitionReferenceRequest select(java.lang.String value)
select in interface IPrintTaskDefinitionReferenceRequestvalue - the select clausepublic IPrintTaskDefinitionReferenceRequest expand(java.lang.String value)
expand in interface IPrintTaskDefinitionReferenceRequestvalue - the expand clausepublic void put(PrintTaskDefinition srcPrintTaskDefinition, ICallback<? super PrintTaskDefinition> callback)
put in interface IPrintTaskDefinitionReferenceRequestsrcPrintTaskDefinition - the PrintTaskDefinition reference to PUTcallback - the callback to be called after success or failurepublic PrintTaskDefinition put(PrintTaskDefinition srcPrintTaskDefinition) throws ClientException
put in interface IPrintTaskDefinitionReferenceRequestsrcPrintTaskDefinition - the PrintTaskDefinition reference to PUTClientException - an exception occurs if there was an error while the request was sent