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