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
|
IPlannerPlanCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IPlannerPlanCollectionPage |
get() |
void |
get(ICallback<? super IPlannerPlanCollectionPage> callback) |
IPlannerPlanCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
PlannerPlan |
post(PlannerPlan newPlannerPlan) |
void |
post(PlannerPlan newPlannerPlan,
ICallback<? super PlannerPlan> callback) |
IPlannerPlanCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IPlannerPlanCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IPlannerPlanCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IPlannerPlanCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, 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 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<? super IPlannerPlanCollectionPage> callback)
get
in interface IPlannerPlanCollectionRequest
public IPlannerPlanCollectionPage get() throws ClientException
get
in interface IPlannerPlanCollectionRequest
ClientException
public void post(PlannerPlan newPlannerPlan, ICallback<? super PlannerPlan> callback)
post
in interface IPlannerPlanCollectionRequest
public PlannerPlan post(PlannerPlan newPlannerPlan) throws ClientException
post
in interface IPlannerPlanCollectionRequest
ClientException
public IPlannerPlanCollectionRequest expand(java.lang.String value)
expand
in interface IPlannerPlanCollectionRequest
value
- the expand clausepublic IPlannerPlanCollectionRequest filter(java.lang.String value)
filter
in interface IPlannerPlanCollectionRequest
value
- the filter clausepublic IPlannerPlanCollectionRequest orderBy(java.lang.String value)
orderBy
in interface IPlannerPlanCollectionRequest
value
- the order by clausepublic IPlannerPlanCollectionRequest select(java.lang.String value)
select
in interface IPlannerPlanCollectionRequest
value
- the select clausepublic IPlannerPlanCollectionRequest top(int value)
top
in interface IPlannerPlanCollectionRequest
value
- the max number of items to returnpublic IPlannerPlanCollectionRequest skip(int value)
skip
in interface IPlannerPlanCollectionRequest
value
- of the number of items to skippublic IPlannerPlanCollectionRequest skipToken(java.lang.String skipToken)
skipToken
in interface IPlannerPlanCollectionRequest
skipToken
- - Token for paginationpublic IPlannerPlanCollectionPage buildFromResponse(PlannerPlanCollectionResponse response)