public class CalendarCollectionRequest extends BaseCollectionRequest<CalendarCollectionResponse,ICalendarCollectionPage> implements ICalendarCollectionRequest
| Constructor and Description |
|---|
CalendarCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of Calendar
|
| Modifier and Type | Method and Description |
|---|---|
ICalendarCollectionPage |
buildFromResponse(CalendarCollectionResponse response) |
ICalendarCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ICalendarCollectionPage |
get() |
void |
get(ICallback<ICalendarCollectionPage> callback) |
Calendar |
post(Calendar newCalendar) |
void |
post(Calendar newCalendar,
ICallback<Calendar> callback) |
ICalendarCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ICalendarCollectionRequest |
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 CalendarCollectionRequest(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<ICalendarCollectionPage> callback)
get in interface ICalendarCollectionRequestpublic ICalendarCollectionPage get() throws ClientException
get in interface ICalendarCollectionRequestClientExceptionpublic void post(Calendar newCalendar, ICallback<Calendar> callback)
post in interface ICalendarCollectionRequestpublic Calendar post(Calendar newCalendar) throws ClientException
post in interface ICalendarCollectionRequestClientExceptionpublic ICalendarCollectionRequest expand(java.lang.String value)
expand in interface ICalendarCollectionRequestvalue - the expand clausepublic ICalendarCollectionRequest select(java.lang.String value)
select in interface ICalendarCollectionRequestvalue - the select clausepublic ICalendarCollectionRequest top(int value)
top in interface ICalendarCollectionRequestvalue - the max number of items to returnpublic ICalendarCollectionPage buildFromResponse(CalendarCollectionResponse response)