public class ParticipantRequest extends BaseRequest implements IParticipantRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ParticipantRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the Participant
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super Participant> callback)
Delete this item from the service
|
IParticipantRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Participant |
get()
Gets the Participant from the service
|
void |
get(ICallback<? super Participant> callback)
Gets the Participant from the service
|
Participant |
patch(Participant sourceParticipant)
Patches this Participant with a source
|
void |
patch(Participant sourceParticipant,
ICallback<? super Participant> callback)
Patches this Participant with a source
|
Participant |
post(Participant newParticipant)
Creates a Participant with a new object
|
void |
post(Participant newParticipant,
ICallback<? super Participant> callback)
Creates a Participant with a new object
|
Participant |
put(Participant newParticipant)
Creates a Participant with a new object
|
void |
put(Participant newParticipant,
ICallback<? super Participant> callback)
Creates a Participant with a new object
|
IParticipantRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, 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 ParticipantRequest(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 Participant> callback)
get in interface IParticipantRequestcallback - the callback to be called after success or failurepublic Participant get() throws ClientException
get in interface IParticipantRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super Participant> callback)
delete in interface IParticipantRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IParticipantRequestClientException - if there was an exception during the delete operationpublic void patch(Participant sourceParticipant, ICallback<? super Participant> callback)
patch in interface IParticipantRequestsourceParticipant - the source object with updatescallback - the callback to be called after success or failurepublic Participant patch(Participant sourceParticipant) throws ClientException
patch in interface IParticipantRequestsourceParticipant - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(Participant newParticipant, ICallback<? super Participant> callback)
post in interface IParticipantRequestnewParticipant - the new object to createcallback - the callback to be called after success or failurepublic Participant post(Participant newParticipant) throws ClientException
post in interface IParticipantRequestnewParticipant - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(Participant newParticipant, ICallback<? super Participant> callback)
put in interface IParticipantRequestnewParticipant - the object to create/updatecallback - the callback to be called after success or failurepublic Participant put(Participant newParticipant) throws ClientException
put in interface IParticipantRequestnewParticipant - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IParticipantRequest select(java.lang.String value)
select in interface IParticipantRequestvalue - the select clausepublic IParticipantRequest expand(java.lang.String value)
expand in interface IParticipantRequestvalue - the expand clause