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