public interface IPrinterShareRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super PrinterShare> callback)
Delete this item from the service
|
IPrinterShareRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PrinterShare |
get()
Gets the PrinterShare from the service
|
void |
get(ICallback<? super PrinterShare> callback)
Gets the PrinterShare from the service
|
PrinterShare |
patch(PrinterShare sourcePrinterShare)
Patches this PrinterShare with a source
|
void |
patch(PrinterShare sourcePrinterShare,
ICallback<? super PrinterShare> callback)
Patches this PrinterShare with a source
|
PrinterShare |
post(PrinterShare newPrinterShare)
Posts a PrinterShare with a new object
|
void |
post(PrinterShare newPrinterShare,
ICallback<? super PrinterShare> callback)
Posts a PrinterShare with a new object
|
PrinterShare |
put(PrinterShare newPrinterShare)
Posts a PrinterShare with a new object
|
void |
put(PrinterShare newPrinterShare,
ICallback<? super PrinterShare> callback)
Posts a PrinterShare with a new object
|
IPrinterShareRequest |
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 PrinterShare> callback)
callback - the callback to be called after success or failurePrinterShare get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super PrinterShare> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(PrinterShare sourcePrinterShare, ICallback<? super PrinterShare> callback)
sourcePrinterShare - the source object with updatescallback - the callback to be called after success or failurePrinterShare patch(PrinterShare sourcePrinterShare) throws ClientException
sourcePrinterShare - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(PrinterShare newPrinterShare, ICallback<? super PrinterShare> callback)
newPrinterShare - the new object to createcallback - the callback to be called after success or failurePrinterShare post(PrinterShare newPrinterShare) throws ClientException
newPrinterShare - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(PrinterShare newPrinterShare, ICallback<? super PrinterShare> callback)
newPrinterShare - the object to create/updatecallback - the callback to be called after success or failurePrinterShare put(PrinterShare newPrinterShare) throws ClientException
newPrinterShare - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIPrinterShareRequest select(java.lang.String value)
value - the select clauseIPrinterShareRequest expand(java.lang.String value)
value - the expand clause