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