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