public class WorkbookChartCollectionRequest extends BaseCollectionRequest<WorkbookChartCollectionResponse,IWorkbookChartCollectionPage> implements IWorkbookChartCollectionRequest
Constructor and Description |
---|
WorkbookChartCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of WorkbookChart
|
Modifier and Type | Method and Description |
---|---|
IWorkbookChartCollectionPage |
buildFromResponse(WorkbookChartCollectionResponse response) |
IWorkbookChartCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IWorkbookChartCollectionPage |
get() |
void |
get(ICallback<IWorkbookChartCollectionPage> callback) |
WorkbookChart |
post(WorkbookChart newWorkbookChart) |
void |
post(WorkbookChart newWorkbookChart,
ICallback<WorkbookChart> callback) |
IWorkbookChartCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IWorkbookChartCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
public WorkbookChartCollectionRequest(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<IWorkbookChartCollectionPage> callback)
get
in interface IWorkbookChartCollectionRequest
public IWorkbookChartCollectionPage get() throws ClientException
get
in interface IWorkbookChartCollectionRequest
ClientException
public void post(WorkbookChart newWorkbookChart, ICallback<WorkbookChart> callback)
post
in interface IWorkbookChartCollectionRequest
public WorkbookChart post(WorkbookChart newWorkbookChart) throws ClientException
post
in interface IWorkbookChartCollectionRequest
ClientException
public IWorkbookChartCollectionRequest expand(java.lang.String value)
expand
in interface IWorkbookChartCollectionRequest
value
- the expand clausepublic IWorkbookChartCollectionRequest select(java.lang.String value)
select
in interface IWorkbookChartCollectionRequest
value
- the select clausepublic IWorkbookChartCollectionRequest top(int value)
top
in interface IWorkbookChartCollectionRequest
value
- the max number of items to returnpublic IWorkbookChartCollectionPage buildFromResponse(WorkbookChartCollectionResponse response)