public class TimeOffReasonCollectionRequest extends BaseCollectionRequest<TimeOffReasonCollectionResponse,ITimeOffReasonCollectionPage> implements ITimeOffReasonCollectionRequest
| Constructor and Description |
|---|
TimeOffReasonCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of TimeOffReason
|
| Modifier and Type | Method and Description |
|---|---|
ITimeOffReasonCollectionPage |
buildFromResponse(TimeOffReasonCollectionResponse response) |
ITimeOffReasonCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ITimeOffReasonCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ITimeOffReasonCollectionPage |
get() |
void |
get(ICallback<? super ITimeOffReasonCollectionPage> callback) |
ITimeOffReasonCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
TimeOffReason |
post(TimeOffReason newTimeOffReason) |
void |
post(TimeOffReason newTimeOffReason,
ICallback<? super TimeOffReason> callback) |
ITimeOffReasonCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ITimeOffReasonCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ITimeOffReasonCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
ITimeOffReasonCollectionRequest |
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, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic TimeOffReasonCollectionRequest(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 ITimeOffReasonCollectionPage> callback)
get in interface ITimeOffReasonCollectionRequestpublic ITimeOffReasonCollectionPage get() throws ClientException
get in interface ITimeOffReasonCollectionRequestClientExceptionpublic void post(TimeOffReason newTimeOffReason, ICallback<? super TimeOffReason> callback)
post in interface ITimeOffReasonCollectionRequestpublic TimeOffReason post(TimeOffReason newTimeOffReason) throws ClientException
post in interface ITimeOffReasonCollectionRequestClientExceptionpublic ITimeOffReasonCollectionRequest expand(java.lang.String value)
expand in interface ITimeOffReasonCollectionRequestvalue - the expand clausepublic ITimeOffReasonCollectionRequest filter(java.lang.String value)
filter in interface ITimeOffReasonCollectionRequestvalue - the filter clausepublic ITimeOffReasonCollectionRequest orderBy(java.lang.String value)
orderBy in interface ITimeOffReasonCollectionRequestvalue - the order by clausepublic ITimeOffReasonCollectionRequest select(java.lang.String value)
select in interface ITimeOffReasonCollectionRequestvalue - the select clausepublic ITimeOffReasonCollectionRequest top(int value)
top in interface ITimeOffReasonCollectionRequestvalue - the max number of items to returnpublic ITimeOffReasonCollectionRequest skip(int value)
skip in interface ITimeOffReasonCollectionRequestvalue - of the number of items to skippublic ITimeOffReasonCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface ITimeOffReasonCollectionRequestskipToken - - Token for paginationpublic ITimeOffReasonCollectionPage buildFromResponse(TimeOffReasonCollectionResponse response)