public class PrinterShareCollectionReferenceRequest extends BaseCollectionRequest<PrinterShareCollectionResponse,IPrinterShareCollectionPage> implements IPrinterShareCollectionReferenceRequest
| Constructor and Description |
|---|
PrinterShareCollectionReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of PrinterShare
|
| Modifier and Type | Method and Description |
|---|---|
IPrinterShareCollectionReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IPrinterShareCollectionReferenceRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IPrinterShareCollectionReferenceRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
PrinterShare |
post(PrinterShare newPrinterShare) |
void |
post(PrinterShare newPrinterShare,
ICallback<? super PrinterShare> callback) |
IPrinterShareCollectionReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IPrinterShareCollectionReferenceRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic PrinterShareCollectionReferenceRequest(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, ICallback<? super PrinterShare> callback)
post in interface IPrinterShareCollectionReferenceRequestpublic PrinterShare post(PrinterShare newPrinterShare) throws ClientException
post in interface IPrinterShareCollectionReferenceRequestClientExceptionpublic IPrinterShareCollectionReferenceRequest expand(java.lang.String value)
value - the expand clausepublic IPrinterShareCollectionReferenceRequest filter(java.lang.String value)
value - the filter clausepublic IPrinterShareCollectionReferenceRequest orderBy(java.lang.String value)
value - the sort clausepublic IPrinterShareCollectionReferenceRequest select(java.lang.String value)
select in interface IPrinterShareCollectionReferenceRequestvalue - the select clausepublic IPrinterShareCollectionReferenceRequest top(int value)
top in interface IPrinterShareCollectionReferenceRequestvalue - the max number of items to return