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
|
IGroupCollectionPage |
get() |
void |
get(ICallback<IGroupCollectionPage> callback) |
Group |
post(Group newGroup) |
void |
post(Group newGroup,
ICallback<Group> callback) |
IGroupCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IGroupCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic 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<IGroupCollectionPage> callback)
get in interface IGroupCollectionRequestpublic IGroupCollectionPage get() throws ClientException
get in interface IGroupCollectionRequestClientExceptionpublic void post(Group newGroup, ICallback<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 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 IGroupCollectionPage buildFromResponse(GroupCollectionResponse response)