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