public class OrgContactReferenceRequest extends BaseRequest implements IOrgContactReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
OrgContactReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the OrgContact
|
| Modifier and Type | Method and Description |
|---|---|
OrgContact |
delete() |
void |
delete(ICallback<? super OrgContact> callback) |
IOrgContactReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OrgContact |
put(OrgContact srcOrgContact)
Puts the OrgContact
|
void |
put(OrgContact srcOrgContact,
ICallback<? super OrgContact> callback)
Puts the OrgContact
|
IOrgContactReferenceRequest |
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 OrgContactReferenceRequest(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 delete(ICallback<? super OrgContact> callback)
delete in interface IOrgContactReferenceRequestpublic OrgContact delete() throws ClientException
delete in interface IOrgContactReferenceRequestClientExceptionpublic IOrgContactReferenceRequest select(java.lang.String value)
select in interface IOrgContactReferenceRequestvalue - the select clausepublic IOrgContactReferenceRequest expand(java.lang.String value)
expand in interface IOrgContactReferenceRequestvalue - the expand clausepublic void put(OrgContact srcOrgContact, ICallback<? super OrgContact> callback)
put in interface IOrgContactReferenceRequestsrcOrgContact - the OrgContact reference to PUTcallback - the callback to be called after success or failurepublic OrgContact put(OrgContact srcOrgContact) throws ClientException
put in interface IOrgContactReferenceRequestsrcOrgContact - the OrgContact reference to PUTClientException - an exception occurs if there was an error while the request was sent