public class PlannerPlanCollectionRequest extends BaseCollectionRequest<PlannerPlanCollectionResponse,IPlannerPlanCollectionPage> implements IPlannerPlanCollectionRequest
| Constructor and Description |
|---|
PlannerPlanCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of PlannerPlan
|
| Modifier and Type | Method and Description |
|---|---|
IPlannerPlanCollectionPage |
buildFromResponse(PlannerPlanCollectionResponse response) |
IPlannerPlanCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IPlannerPlanCollectionPage |
get() |
void |
get(ICallback<IPlannerPlanCollectionPage> callback) |
PlannerPlan |
post(PlannerPlan newPlannerPlan) |
void |
post(PlannerPlan newPlannerPlan,
ICallback<PlannerPlan> callback) |
IPlannerPlanCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IPlannerPlanCollectionRequest |
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, setUseCachespublic PlannerPlanCollectionRequest(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<IPlannerPlanCollectionPage> callback)
get in interface IPlannerPlanCollectionRequestpublic IPlannerPlanCollectionPage get() throws ClientException
get in interface IPlannerPlanCollectionRequestClientExceptionpublic void post(PlannerPlan newPlannerPlan, ICallback<PlannerPlan> callback)
post in interface IPlannerPlanCollectionRequestpublic PlannerPlan post(PlannerPlan newPlannerPlan) throws ClientException
post in interface IPlannerPlanCollectionRequestClientExceptionpublic IPlannerPlanCollectionRequest expand(java.lang.String value)
expand in interface IPlannerPlanCollectionRequestvalue - the expand clausepublic IPlannerPlanCollectionRequest select(java.lang.String value)
select in interface IPlannerPlanCollectionRequestvalue - the select clausepublic IPlannerPlanCollectionRequest top(int value)
top in interface IPlannerPlanCollectionRequestvalue - the max number of items to returnpublic IPlannerPlanCollectionPage buildFromResponse(PlannerPlanCollectionResponse response)