public interface IPrinterBaseRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super PrinterBase> callback)
Delete this item from the service
|
IPrinterBaseRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PrinterBase |
get()
Gets the PrinterBase from the service
|
void |
get(ICallback<? super PrinterBase> callback)
Gets the PrinterBase from the service
|
PrinterBase |
patch(PrinterBase sourcePrinterBase)
Patches this PrinterBase with a source
|
void |
patch(PrinterBase sourcePrinterBase,
ICallback<? super PrinterBase> callback)
Patches this PrinterBase with a source
|
PrinterBase |
post(PrinterBase newPrinterBase)
Posts a PrinterBase with a new object
|
void |
post(PrinterBase newPrinterBase,
ICallback<? super PrinterBase> callback)
Posts a PrinterBase with a new object
|
PrinterBase |
put(PrinterBase newPrinterBase)
Posts a PrinterBase with a new object
|
void |
put(PrinterBase newPrinterBase,
ICallback<? super PrinterBase> callback)
Posts a PrinterBase with a new object
|
IPrinterBaseRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super PrinterBase> callback)
callback - the callback to be called after success or failurePrinterBase get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super PrinterBase> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(PrinterBase sourcePrinterBase, ICallback<? super PrinterBase> callback)
sourcePrinterBase - the source object with updatescallback - the callback to be called after success or failurePrinterBase patch(PrinterBase sourcePrinterBase) throws ClientException
sourcePrinterBase - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(PrinterBase newPrinterBase, ICallback<? super PrinterBase> callback)
newPrinterBase - the new object to createcallback - the callback to be called after success or failurePrinterBase post(PrinterBase newPrinterBase) throws ClientException
newPrinterBase - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(PrinterBase newPrinterBase, ICallback<? super PrinterBase> callback)
newPrinterBase - the object to create/updatecallback - the callback to be called after success or failurePrinterBase put(PrinterBase newPrinterBase) throws ClientException
newPrinterBase - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIPrinterBaseRequest select(java.lang.String value)
value - the select clauseIPrinterBaseRequest expand(java.lang.String value)
value - the expand clause