public class PrintTaskDefinitionWithReferenceRequest extends BaseRequest implements IPrintTaskDefinitionWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
PrintTaskDefinitionWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the PrintTaskDefinition
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<? super PrintTaskDefinition> callback) |
IPrintTaskDefinitionWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PrintTaskDefinition |
get() |
void |
get(ICallback<? super PrintTaskDefinition> callback) |
PrintTaskDefinition |
patch(PrintTaskDefinition sourcePrintTaskDefinition) |
void |
patch(PrintTaskDefinition sourcePrintTaskDefinition,
ICallback<? super PrintTaskDefinition> callback) |
PrintTaskDefinition |
post(PrintTaskDefinition newPrintTaskDefinition,
IJsonBackedObject payload) |
void |
post(PrintTaskDefinition newPrintTaskDefinition,
IJsonBackedObject payload,
ICallback<? super PrintTaskDefinition> callback) |
IPrintTaskDefinitionWithReferenceRequest |
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 PrintTaskDefinitionWithReferenceRequest(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(PrintTaskDefinition newPrintTaskDefinition, IJsonBackedObject payload, ICallback<? super PrintTaskDefinition> callback)
post in interface IPrintTaskDefinitionWithReferenceRequestpublic PrintTaskDefinition post(PrintTaskDefinition newPrintTaskDefinition, IJsonBackedObject payload) throws ClientException
post in interface IPrintTaskDefinitionWithReferenceRequestClientExceptionpublic void get(ICallback<? super PrintTaskDefinition> callback)
get in interface IPrintTaskDefinitionWithReferenceRequestpublic PrintTaskDefinition get() throws ClientException
get in interface IPrintTaskDefinitionWithReferenceRequestClientExceptionpublic void delete(ICallback<? super PrintTaskDefinition> callback)
delete in interface IPrintTaskDefinitionWithReferenceRequestpublic void delete()
throws ClientException
delete in interface IPrintTaskDefinitionWithReferenceRequestClientExceptionpublic void patch(PrintTaskDefinition sourcePrintTaskDefinition, ICallback<? super PrintTaskDefinition> callback)
patch in interface IPrintTaskDefinitionWithReferenceRequestpublic PrintTaskDefinition patch(PrintTaskDefinition sourcePrintTaskDefinition) throws ClientException
patch in interface IPrintTaskDefinitionWithReferenceRequestClientExceptionpublic IPrintTaskDefinitionWithReferenceRequest select(java.lang.String value)
select in interface IPrintTaskDefinitionWithReferenceRequestvalue - the select clausepublic IPrintTaskDefinitionWithReferenceRequest expand(java.lang.String value)
expand in interface IPrintTaskDefinitionWithReferenceRequestvalue - the expand clause