public class SectionGroupCollectionRequest extends BaseCollectionRequest<SectionGroupCollectionResponse,ISectionGroupCollectionPage> implements ISectionGroupCollectionRequest
| Constructor and Description |
|---|
SectionGroupCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of SectionGroup
|
| Modifier and Type | Method and Description |
|---|---|
ISectionGroupCollectionPage |
buildFromResponse(SectionGroupCollectionResponse response) |
ISectionGroupCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ISectionGroupCollectionPage |
get() |
void |
get(ICallback<ISectionGroupCollectionPage> callback) |
SectionGroup |
post(SectionGroup newSectionGroup) |
void |
post(SectionGroup newSectionGroup,
ICallback<SectionGroup> callback) |
ISectionGroupCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ISectionGroupCollectionRequest |
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 SectionGroupCollectionRequest(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<ISectionGroupCollectionPage> callback)
get in interface ISectionGroupCollectionRequestpublic ISectionGroupCollectionPage get() throws ClientException
get in interface ISectionGroupCollectionRequestClientExceptionpublic void post(SectionGroup newSectionGroup, ICallback<SectionGroup> callback)
post in interface ISectionGroupCollectionRequestpublic SectionGroup post(SectionGroup newSectionGroup) throws ClientException
post in interface ISectionGroupCollectionRequestClientExceptionpublic ISectionGroupCollectionRequest expand(java.lang.String value)
expand in interface ISectionGroupCollectionRequestvalue - the expand clausepublic ISectionGroupCollectionRequest select(java.lang.String value)
select in interface ISectionGroupCollectionRequestvalue - the select clausepublic ISectionGroupCollectionRequest top(int value)
top in interface ISectionGroupCollectionRequestvalue - the max number of items to returnpublic ISectionGroupCollectionPage buildFromResponse(SectionGroupCollectionResponse response)