public class WorkbookChartAddRequest extends BaseRequest implements IWorkbookChartAddRequest
Modifier and Type | Field and Description |
---|---|
protected WorkbookChartAddBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
WorkbookChartAddRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this WorkbookChartAdd
|
Modifier and Type | Method and Description |
---|---|
IWorkbookChartAddRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WorkbookChart |
post() |
void |
post(ICallback<WorkbookChart> callback) |
IWorkbookChartAddRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IWorkbookChartAddRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getFunctionOptions, getHeaders, getHttpMethod, getOptions, getQueryOptions, getRequestUrl, getResponseType, getUseCaches, send, send, setHttpMethod, setUseCaches
protected final WorkbookChartAddBody body
public WorkbookChartAddRequest(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 post(ICallback<WorkbookChart> callback)
post
in interface IWorkbookChartAddRequest
public WorkbookChart post() throws ClientException
post
in interface IWorkbookChartAddRequest
ClientException
public IWorkbookChartAddRequest select(java.lang.String value)
select
in interface IWorkbookChartAddRequest
value
- the select clausepublic IWorkbookChartAddRequest top(int value)
top
in interface IWorkbookChartAddRequest
value
- the max number of items to returnpublic IWorkbookChartAddRequest expand(java.lang.String value)
expand
in interface IWorkbookChartAddRequest
value
- the expand clause