public class PrinterShareWithReferenceRequest extends BaseRequest implements IPrinterShareWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
PrinterShareWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the PrinterShare
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<? super PrinterShare> callback) |
IPrinterShareWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PrinterShare |
get() |
void |
get(ICallback<? super PrinterShare> callback) |
PrinterShare |
patch(PrinterShare sourcePrinterShare) |
void |
patch(PrinterShare sourcePrinterShare,
ICallback<? super PrinterShare> callback) |
PrinterShare |
post(PrinterShare newPrinterShare,
IJsonBackedObject payload) |
void |
post(PrinterShare newPrinterShare,
IJsonBackedObject payload,
ICallback<? super PrinterShare> callback) |
IPrinterShareWithReferenceRequest |
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 PrinterShareWithReferenceRequest(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(PrinterShare newPrinterShare, IJsonBackedObject payload, ICallback<? super PrinterShare> callback)
post in interface IPrinterShareWithReferenceRequestpublic PrinterShare post(PrinterShare newPrinterShare, IJsonBackedObject payload) throws ClientException
post in interface IPrinterShareWithReferenceRequestClientExceptionpublic void get(ICallback<? super PrinterShare> callback)
get in interface IPrinterShareWithReferenceRequestpublic PrinterShare get() throws ClientException
get in interface IPrinterShareWithReferenceRequestClientExceptionpublic void delete(ICallback<? super PrinterShare> callback)
delete in interface IPrinterShareWithReferenceRequestpublic void delete()
throws ClientException
delete in interface IPrinterShareWithReferenceRequestClientExceptionpublic void patch(PrinterShare sourcePrinterShare, ICallback<? super PrinterShare> callback)
patch in interface IPrinterShareWithReferenceRequestpublic PrinterShare patch(PrinterShare sourcePrinterShare) throws ClientException
patch in interface IPrinterShareWithReferenceRequestClientExceptionpublic IPrinterShareWithReferenceRequest select(java.lang.String value)
select in interface IPrinterShareWithReferenceRequestvalue - the select clausepublic IPrinterShareWithReferenceRequest expand(java.lang.String value)
expand in interface IPrinterShareWithReferenceRequestvalue - the expand clause