public class CalendarGroupCollectionRequest extends BaseCollectionRequest<CalendarGroupCollectionResponse,ICalendarGroupCollectionPage> implements ICalendarGroupCollectionRequest
| Constructor and Description |
|---|
CalendarGroupCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of CalendarGroup
|
| Modifier and Type | Method and Description |
|---|---|
ICalendarGroupCollectionPage |
buildFromResponse(CalendarGroupCollectionResponse response) |
ICalendarGroupCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ICalendarGroupCollectionPage |
get() |
void |
get(ICallback<ICalendarGroupCollectionPage> callback) |
CalendarGroup |
post(CalendarGroup newCalendarGroup) |
void |
post(CalendarGroup newCalendarGroup,
ICallback<CalendarGroup> callback) |
ICalendarGroupCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ICalendarGroupCollectionRequest |
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 CalendarGroupCollectionRequest(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<ICalendarGroupCollectionPage> callback)
get in interface ICalendarGroupCollectionRequestpublic ICalendarGroupCollectionPage get() throws ClientException
get in interface ICalendarGroupCollectionRequestClientExceptionpublic void post(CalendarGroup newCalendarGroup, ICallback<CalendarGroup> callback)
post in interface ICalendarGroupCollectionRequestpublic CalendarGroup post(CalendarGroup newCalendarGroup) throws ClientException
post in interface ICalendarGroupCollectionRequestClientExceptionpublic ICalendarGroupCollectionRequest expand(java.lang.String value)
expand in interface ICalendarGroupCollectionRequestvalue - the expand clausepublic ICalendarGroupCollectionRequest select(java.lang.String value)
select in interface ICalendarGroupCollectionRequestvalue - the select clausepublic ICalendarGroupCollectionRequest top(int value)
top in interface ICalendarGroupCollectionRequestvalue - the max number of items to returnpublic ICalendarGroupCollectionPage buildFromResponse(CalendarGroupCollectionResponse response)