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