public class WorkbookRangeRequest extends BaseRequest implements IWorkbookRangeRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
WorkbookRangeRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the WorkbookRange
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super WorkbookRange> callback)
Delete this item from the service
|
IWorkbookRangeRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WorkbookRange |
get()
Gets the WorkbookRange from the service
|
void |
get(ICallback<? super WorkbookRange> callback)
Gets the WorkbookRange from the service
|
WorkbookRange |
patch(WorkbookRange sourceWorkbookRange)
Patches this WorkbookRange with a source
|
void |
patch(WorkbookRange sourceWorkbookRange,
ICallback<? super WorkbookRange> callback)
Patches this WorkbookRange with a source
|
WorkbookRange |
post(WorkbookRange newWorkbookRange)
Creates a WorkbookRange with a new object
|
void |
post(WorkbookRange newWorkbookRange,
ICallback<? super WorkbookRange> callback)
Creates a WorkbookRange with a new object
|
WorkbookRange |
put(WorkbookRange newWorkbookRange)
Creates a WorkbookRange with a new object
|
void |
put(WorkbookRange newWorkbookRange,
ICallback<? super WorkbookRange> callback)
Creates a WorkbookRange with a new object
|
IWorkbookRangeRequest |
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, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public WorkbookRangeRequest(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 WorkbookRange> callback)
get
in interface IWorkbookRangeRequest
callback
- the callback to be called after success or failurepublic WorkbookRange get() throws ClientException
get
in interface IWorkbookRangeRequest
ClientException
- this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super WorkbookRange> callback)
delete
in interface IWorkbookRangeRequest
callback
- the callback when the deletion action has completedpublic void delete() throws ClientException
delete
in interface IWorkbookRangeRequest
ClientException
- if there was an exception during the delete operationpublic void patch(WorkbookRange sourceWorkbookRange, ICallback<? super WorkbookRange> callback)
patch
in interface IWorkbookRangeRequest
sourceWorkbookRange
- the source object with updatescallback
- the callback to be called after success or failurepublic WorkbookRange patch(WorkbookRange sourceWorkbookRange) throws ClientException
patch
in interface IWorkbookRangeRequest
sourceWorkbookRange
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonpublic void post(WorkbookRange newWorkbookRange, ICallback<? super WorkbookRange> callback)
post
in interface IWorkbookRangeRequest
newWorkbookRange
- the new object to createcallback
- the callback to be called after success or failurepublic WorkbookRange post(WorkbookRange newWorkbookRange) throws ClientException
post
in interface IWorkbookRangeRequest
newWorkbookRange
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonpublic void put(WorkbookRange newWorkbookRange, ICallback<? super WorkbookRange> callback)
put
in interface IWorkbookRangeRequest
newWorkbookRange
- the object to create/updatecallback
- the callback to be called after success or failurepublic WorkbookRange put(WorkbookRange newWorkbookRange) throws ClientException
put
in interface IWorkbookRangeRequest
newWorkbookRange
- the object to create/updateClientException
- this exception occurs if the request was unable to complete for any reasonpublic IWorkbookRangeRequest select(java.lang.String value)
select
in interface IWorkbookRangeRequest
value
- the select clausepublic IWorkbookRangeRequest expand(java.lang.String value)
expand
in interface IWorkbookRangeRequest
value
- the expand clause