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