public class PrinterCreateOperationRequest extends BaseRequest implements IPrinterCreateOperationRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
PrinterCreateOperationRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the PrinterCreateOperation
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super PrinterCreateOperation> callback)
Delete this item from the service
|
IPrinterCreateOperationRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PrinterCreateOperation |
get()
Gets the PrinterCreateOperation from the service
|
void |
get(ICallback<? super PrinterCreateOperation> callback)
Gets the PrinterCreateOperation from the service
|
PrinterCreateOperation |
patch(PrinterCreateOperation sourcePrinterCreateOperation)
Patches this PrinterCreateOperation with a source
|
void |
patch(PrinterCreateOperation sourcePrinterCreateOperation,
ICallback<? super PrinterCreateOperation> callback)
Patches this PrinterCreateOperation with a source
|
PrinterCreateOperation |
post(PrinterCreateOperation newPrinterCreateOperation)
Creates a PrinterCreateOperation with a new object
|
void |
post(PrinterCreateOperation newPrinterCreateOperation,
ICallback<? super PrinterCreateOperation> callback)
Creates a PrinterCreateOperation with a new object
|
PrinterCreateOperation |
put(PrinterCreateOperation newPrinterCreateOperation)
Creates a PrinterCreateOperation with a new object
|
void |
put(PrinterCreateOperation newPrinterCreateOperation,
ICallback<? super PrinterCreateOperation> callback)
Creates a PrinterCreateOperation with a new object
|
IPrinterCreateOperationRequest |
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 PrinterCreateOperationRequest(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<? super PrinterCreateOperation> callback)
get in interface IPrinterCreateOperationRequestcallback - the callback to be called after success or failurepublic PrinterCreateOperation get() throws ClientException
get in interface IPrinterCreateOperationRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super PrinterCreateOperation> callback)
delete in interface IPrinterCreateOperationRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IPrinterCreateOperationRequestClientException - if there was an exception during the delete operationpublic void patch(PrinterCreateOperation sourcePrinterCreateOperation, ICallback<? super PrinterCreateOperation> callback)
patch in interface IPrinterCreateOperationRequestsourcePrinterCreateOperation - the source object with updatescallback - the callback to be called after success or failurepublic PrinterCreateOperation patch(PrinterCreateOperation sourcePrinterCreateOperation) throws ClientException
patch in interface IPrinterCreateOperationRequestsourcePrinterCreateOperation - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(PrinterCreateOperation newPrinterCreateOperation, ICallback<? super PrinterCreateOperation> callback)
post in interface IPrinterCreateOperationRequestnewPrinterCreateOperation - the new object to createcallback - the callback to be called after success or failurepublic PrinterCreateOperation post(PrinterCreateOperation newPrinterCreateOperation) throws ClientException
post in interface IPrinterCreateOperationRequestnewPrinterCreateOperation - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(PrinterCreateOperation newPrinterCreateOperation, ICallback<? super PrinterCreateOperation> callback)
put in interface IPrinterCreateOperationRequestnewPrinterCreateOperation - the object to create/updatecallback - the callback to be called after success or failurepublic PrinterCreateOperation put(PrinterCreateOperation newPrinterCreateOperation) throws ClientException
put in interface IPrinterCreateOperationRequestnewPrinterCreateOperation - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IPrinterCreateOperationRequest select(java.lang.String value)
select in interface IPrinterCreateOperationRequestvalue - the select clausepublic IPrinterCreateOperationRequest expand(java.lang.String value)
expand in interface IPrinterCreateOperationRequestvalue - the expand clause