public class PrintServiceCollectionRequest extends BaseCollectionRequest<PrintServiceCollectionResponse,IPrintServiceCollectionPage> implements IPrintServiceCollectionRequest
| Constructor and Description |
|---|
PrintServiceCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of PrintService
|
| Modifier and Type | Method and Description |
|---|---|
IPrintServiceCollectionPage |
buildFromResponse(PrintServiceCollectionResponse response) |
IPrintServiceCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IPrintServiceCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IPrintServiceCollectionPage |
get() |
void |
get(ICallback<? super IPrintServiceCollectionPage> callback) |
IPrintServiceCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
PrintService |
post(PrintService newPrintService) |
void |
post(PrintService newPrintService,
ICallback<? super PrintService> callback) |
IPrintServiceCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IPrintServiceCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IPrintServiceCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IPrintServiceCollectionRequest |
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 PrintServiceCollectionRequest(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 IPrintServiceCollectionPage> callback)
get in interface IPrintServiceCollectionRequestpublic IPrintServiceCollectionPage get() throws ClientException
get in interface IPrintServiceCollectionRequestClientExceptionpublic void post(PrintService newPrintService, ICallback<? super PrintService> callback)
post in interface IPrintServiceCollectionRequestpublic PrintService post(PrintService newPrintService) throws ClientException
post in interface IPrintServiceCollectionRequestClientExceptionpublic IPrintServiceCollectionRequest expand(java.lang.String value)
expand in interface IPrintServiceCollectionRequestvalue - the expand clausepublic IPrintServiceCollectionRequest filter(java.lang.String value)
filter in interface IPrintServiceCollectionRequestvalue - the filter clausepublic IPrintServiceCollectionRequest orderBy(java.lang.String value)
orderBy in interface IPrintServiceCollectionRequestvalue - the order by clausepublic IPrintServiceCollectionRequest select(java.lang.String value)
select in interface IPrintServiceCollectionRequestvalue - the select clausepublic IPrintServiceCollectionRequest top(int value)
top in interface IPrintServiceCollectionRequestvalue - the max number of items to returnpublic IPrintServiceCollectionRequest skip(int value)
skip in interface IPrintServiceCollectionRequestvalue - of the number of items to skippublic IPrintServiceCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IPrintServiceCollectionRequestskipToken - - Token for paginationpublic IPrintServiceCollectionPage buildFromResponse(PrintServiceCollectionResponse response)