public class PlannerTaskRequest extends BaseRequest implements IPlannerTaskRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
PlannerTaskRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the PlannerTask
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super PlannerTask> callback)
Delete this item from the service
|
IPlannerTaskRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PlannerTask |
get()
Gets the PlannerTask from the service
|
void |
get(ICallback<? super PlannerTask> callback)
Gets the PlannerTask from the service
|
PlannerTask |
patch(PlannerTask sourcePlannerTask)
Patches this PlannerTask with a source
|
void |
patch(PlannerTask sourcePlannerTask,
ICallback<? super PlannerTask> callback)
Patches this PlannerTask with a source
|
PlannerTask |
post(PlannerTask newPlannerTask)
Creates a PlannerTask with a new object
|
void |
post(PlannerTask newPlannerTask,
ICallback<? super PlannerTask> callback)
Creates a PlannerTask with a new object
|
PlannerTask |
put(PlannerTask newPlannerTask)
Creates a PlannerTask with a new object
|
void |
put(PlannerTask newPlannerTask,
ICallback<? super PlannerTask> callback)
Creates a PlannerTask with a new object
|
IPlannerTaskRequest |
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 PlannerTaskRequest(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 PlannerTask> callback)
get in interface IPlannerTaskRequestcallback - the callback to be called after success or failurepublic PlannerTask get() throws ClientException
get in interface IPlannerTaskRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super PlannerTask> callback)
delete in interface IPlannerTaskRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IPlannerTaskRequestClientException - if there was an exception during the delete operationpublic void patch(PlannerTask sourcePlannerTask, ICallback<? super PlannerTask> callback)
patch in interface IPlannerTaskRequestsourcePlannerTask - the source object with updatescallback - the callback to be called after success or failurepublic PlannerTask patch(PlannerTask sourcePlannerTask) throws ClientException
patch in interface IPlannerTaskRequestsourcePlannerTask - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(PlannerTask newPlannerTask, ICallback<? super PlannerTask> callback)
post in interface IPlannerTaskRequestnewPlannerTask - the new object to createcallback - the callback to be called after success or failurepublic PlannerTask post(PlannerTask newPlannerTask) throws ClientException
post in interface IPlannerTaskRequestnewPlannerTask - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(PlannerTask newPlannerTask, ICallback<? super PlannerTask> callback)
put in interface IPlannerTaskRequestnewPlannerTask - the object to create/updatecallback - the callback to be called after success or failurepublic PlannerTask put(PlannerTask newPlannerTask) throws ClientException
put in interface IPlannerTaskRequestnewPlannerTask - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IPlannerTaskRequest select(java.lang.String value)
select in interface IPlannerTaskRequestvalue - the select clausepublic IPlannerTaskRequest expand(java.lang.String value)
expand in interface IPlannerTaskRequestvalue - the expand clause