public interface IScheduleRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super Schedule> callback)
Delete this item from the service
|
IScheduleRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Schedule |
get()
Gets the Schedule from the service
|
void |
get(ICallback<? super Schedule> callback)
Gets the Schedule from the service
|
Schedule |
patch(Schedule sourceSchedule)
Patches this Schedule with a source
|
void |
patch(Schedule sourceSchedule,
ICallback<? super Schedule> callback)
Patches this Schedule with a source
|
Schedule |
post(Schedule newSchedule)
Posts a Schedule with a new object
|
void |
post(Schedule newSchedule,
ICallback<? super Schedule> callback)
Posts a Schedule with a new object
|
Schedule |
put(Schedule newSchedule)
Posts a Schedule with a new object
|
void |
put(Schedule newSchedule,
ICallback<? super Schedule> callback)
Posts a Schedule with a new object
|
IScheduleRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super Schedule> callback)
callback - the callback to be called after success or failureSchedule get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super Schedule> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(Schedule sourceSchedule, ICallback<? super Schedule> callback)
sourceSchedule - the source object with updatescallback - the callback to be called after success or failureSchedule patch(Schedule sourceSchedule) throws ClientException
sourceSchedule - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(Schedule newSchedule, ICallback<? super Schedule> callback)
newSchedule - the new object to createcallback - the callback to be called after success or failureSchedule post(Schedule newSchedule) throws ClientException
newSchedule - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(Schedule newSchedule, ICallback<? super Schedule> callback)
newSchedule - the object to create/updatecallback - the callback to be called after success or failureSchedule put(Schedule newSchedule) throws ClientException
newSchedule - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIScheduleRequest select(java.lang.String value)
value - the select clauseIScheduleRequest expand(java.lang.String value)
value - the expand clause