public class TimeOffCollectionRequest extends BaseCollectionRequest<TimeOffCollectionResponse,ITimeOffCollectionPage> implements ITimeOffCollectionRequest
| Constructor and Description |
|---|
TimeOffCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of TimeOff
|
| Modifier and Type | Method and Description |
|---|---|
ITimeOffCollectionPage |
buildFromResponse(TimeOffCollectionResponse response) |
ITimeOffCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ITimeOffCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ITimeOffCollectionPage |
get() |
void |
get(ICallback<? super ITimeOffCollectionPage> callback) |
ITimeOffCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
TimeOff |
post(TimeOff newTimeOff) |
void |
post(TimeOff newTimeOff,
ICallback<? super TimeOff> callback) |
ITimeOffCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ITimeOffCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ITimeOffCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
ITimeOffCollectionRequest |
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 TimeOffCollectionRequest(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 ITimeOffCollectionPage> callback)
get in interface ITimeOffCollectionRequestpublic ITimeOffCollectionPage get() throws ClientException
get in interface ITimeOffCollectionRequestClientExceptionpublic void post(TimeOff newTimeOff, ICallback<? super TimeOff> callback)
post in interface ITimeOffCollectionRequestpublic TimeOff post(TimeOff newTimeOff) throws ClientException
post in interface ITimeOffCollectionRequestClientExceptionpublic ITimeOffCollectionRequest expand(java.lang.String value)
expand in interface ITimeOffCollectionRequestvalue - the expand clausepublic ITimeOffCollectionRequest filter(java.lang.String value)
filter in interface ITimeOffCollectionRequestvalue - the filter clausepublic ITimeOffCollectionRequest orderBy(java.lang.String value)
orderBy in interface ITimeOffCollectionRequestvalue - the order by clausepublic ITimeOffCollectionRequest select(java.lang.String value)
select in interface ITimeOffCollectionRequestvalue - the select clausepublic ITimeOffCollectionRequest top(int value)
top in interface ITimeOffCollectionRequestvalue - the max number of items to returnpublic ITimeOffCollectionRequest skip(int value)
skip in interface ITimeOffCollectionRequestvalue - of the number of items to skippublic ITimeOffCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface ITimeOffCollectionRequestskipToken - - Token for paginationpublic ITimeOffCollectionPage buildFromResponse(TimeOffCollectionResponse response)