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