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
|
IInvitationCollectionPage |
get() |
void |
get(ICallback<IInvitationCollectionPage> callback) |
Invitation |
post(Invitation newInvitation) |
void |
post(Invitation newInvitation,
ICallback<Invitation> callback) |
IInvitationCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IInvitationCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic 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<IInvitationCollectionPage> callback)
get in interface IInvitationCollectionRequestpublic IInvitationCollectionPage get() throws ClientException
get in interface IInvitationCollectionRequestClientExceptionpublic void post(Invitation newInvitation, ICallback<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 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 IInvitationCollectionPage buildFromResponse(InvitationCollectionResponse response)