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