public class CalendarPermissionRequest extends BaseRequest implements ICalendarPermissionRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
CalendarPermissionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the CalendarPermission
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super CalendarPermission> callback)
Delete this item from the service
|
ICalendarPermissionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
CalendarPermission |
get()
Gets the CalendarPermission from the service
|
void |
get(ICallback<? super CalendarPermission> callback)
Gets the CalendarPermission from the service
|
CalendarPermission |
patch(CalendarPermission sourceCalendarPermission)
Patches this CalendarPermission with a source
|
void |
patch(CalendarPermission sourceCalendarPermission,
ICallback<? super CalendarPermission> callback)
Patches this CalendarPermission with a source
|
CalendarPermission |
post(CalendarPermission newCalendarPermission)
Creates a CalendarPermission with a new object
|
void |
post(CalendarPermission newCalendarPermission,
ICallback<? super CalendarPermission> callback)
Creates a CalendarPermission with a new object
|
CalendarPermission |
put(CalendarPermission newCalendarPermission)
Creates a CalendarPermission with a new object
|
void |
put(CalendarPermission newCalendarPermission,
ICallback<? super CalendarPermission> callback)
Creates a CalendarPermission with a new object
|
ICalendarPermissionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, 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 CalendarPermissionRequest(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 CalendarPermission> callback)
get in interface ICalendarPermissionRequestcallback - the callback to be called after success or failurepublic CalendarPermission get() throws ClientException
get in interface ICalendarPermissionRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super CalendarPermission> callback)
delete in interface ICalendarPermissionRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface ICalendarPermissionRequestClientException - if there was an exception during the delete operationpublic void patch(CalendarPermission sourceCalendarPermission, ICallback<? super CalendarPermission> callback)
patch in interface ICalendarPermissionRequestsourceCalendarPermission - the source object with updatescallback - the callback to be called after success or failurepublic CalendarPermission patch(CalendarPermission sourceCalendarPermission) throws ClientException
patch in interface ICalendarPermissionRequestsourceCalendarPermission - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(CalendarPermission newCalendarPermission, ICallback<? super CalendarPermission> callback)
post in interface ICalendarPermissionRequestnewCalendarPermission - the new object to createcallback - the callback to be called after success or failurepublic CalendarPermission post(CalendarPermission newCalendarPermission) throws ClientException
post in interface ICalendarPermissionRequestnewCalendarPermission - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(CalendarPermission newCalendarPermission, ICallback<? super CalendarPermission> callback)
put in interface ICalendarPermissionRequestnewCalendarPermission - the object to create/updatecallback - the callback to be called after success or failurepublic CalendarPermission put(CalendarPermission newCalendarPermission) throws ClientException
put in interface ICalendarPermissionRequestnewCalendarPermission - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic ICalendarPermissionRequest select(java.lang.String value)
select in interface ICalendarPermissionRequestvalue - the select clausepublic ICalendarPermissionRequest expand(java.lang.String value)
expand in interface ICalendarPermissionRequestvalue - the expand clause