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