public class PrinterShareCollectionRequest extends BaseCollectionRequest<PrinterShareCollectionResponse,IPrinterShareCollectionPage> implements IPrinterShareCollectionRequest
| Constructor and Description |
|---|
PrinterShareCollectionRequest(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 |
|---|---|
IPrinterShareCollectionPage |
buildFromResponse(PrinterShareCollectionResponse response) |
IPrinterShareCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IPrinterShareCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IPrinterShareCollectionPage |
get() |
void |
get(ICallback<? super IPrinterShareCollectionPage> callback) |
IPrinterShareCollectionRequest |
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) |
IPrinterShareCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IPrinterShareCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IPrinterShareCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IPrinterShareCollectionRequest |
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, 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 PrinterShareCollectionRequest(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 IPrinterShareCollectionPage> callback)
get in interface IPrinterShareCollectionRequestpublic IPrinterShareCollectionPage get() throws ClientException
get in interface IPrinterShareCollectionRequestClientExceptionpublic void post(PrinterShare newPrinterShare, ICallback<? super PrinterShare> callback)
post in interface IPrinterShareCollectionRequestpublic PrinterShare post(PrinterShare newPrinterShare) throws ClientException
post in interface IPrinterShareCollectionRequestClientExceptionpublic IPrinterShareCollectionRequest expand(java.lang.String value)
expand in interface IPrinterShareCollectionRequestvalue - the expand clausepublic IPrinterShareCollectionRequest filter(java.lang.String value)
filter in interface IPrinterShareCollectionRequestvalue - the filter clausepublic IPrinterShareCollectionRequest orderBy(java.lang.String value)
orderBy in interface IPrinterShareCollectionRequestvalue - the order by clausepublic IPrinterShareCollectionRequest select(java.lang.String value)
select in interface IPrinterShareCollectionRequestvalue - the select clausepublic IPrinterShareCollectionRequest top(int value)
top in interface IPrinterShareCollectionRequestvalue - the max number of items to returnpublic IPrinterShareCollectionRequest skip(int value)
skip in interface IPrinterShareCollectionRequestvalue - of the number of items to skippublic IPrinterShareCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IPrinterShareCollectionRequestskipToken - - Token for paginationpublic IPrinterShareCollectionPage buildFromResponse(PrinterShareCollectionResponse response)