public interface IContactRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<Contact> callback)
Delete this item from the service
|
IContactRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Contact |
get()
Gets the Contact from the service
|
void |
get(ICallback<Contact> callback)
Gets the Contact from the service
|
Contact |
patch(Contact sourceContact)
Patches this Contact with a source
|
void |
patch(Contact sourceContact,
ICallback<Contact> callback)
Patches this Contact with a source
|
Contact |
post(Contact newContact)
Posts a Contact with a new object
|
void |
post(Contact newContact,
ICallback<Contact> callback)
Posts a Contact with a new object
|
IContactRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<Contact> callback)
callback - the callback to be called after success or failureContact get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<Contact> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(Contact sourceContact, ICallback<Contact> callback)
sourceContact - the source object with updatescallback - the callback to be called after success or failureContact patch(Contact sourceContact) throws ClientException
sourceContact - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(Contact newContact, ICallback<Contact> callback)
newContact - the new object to createcallback - the callback to be called after success or failureContact post(Contact newContact) throws ClientException
newContact - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIContactRequest select(java.lang.String value)
value - the select clauseIContactRequest expand(java.lang.String value)
value - the expand clause