public interface ICallRecordRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super CallRecord> callback)
Delete this item from the service
|
ICallRecordRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
CallRecord |
get()
Gets the CallRecord from the service
|
void |
get(ICallback<? super CallRecord> callback)
Gets the CallRecord from the service
|
CallRecord |
patch(CallRecord sourceCallRecord)
Patches this CallRecord with a source
|
void |
patch(CallRecord sourceCallRecord,
ICallback<? super CallRecord> callback)
Patches this CallRecord with a source
|
CallRecord |
post(CallRecord newCallRecord)
Posts a CallRecord with a new object
|
void |
post(CallRecord newCallRecord,
ICallback<? super CallRecord> callback)
Posts a CallRecord with a new object
|
CallRecord |
put(CallRecord newCallRecord)
Posts a CallRecord with a new object
|
void |
put(CallRecord newCallRecord,
ICallback<? super CallRecord> callback)
Posts a CallRecord with a new object
|
ICallRecordRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super CallRecord> callback)
callback - the callback to be called after success or failureCallRecord get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super CallRecord> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(CallRecord sourceCallRecord, ICallback<? super CallRecord> callback)
sourceCallRecord - the source object with updatescallback - the callback to be called after success or failureCallRecord patch(CallRecord sourceCallRecord) throws ClientException
sourceCallRecord - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(CallRecord newCallRecord, ICallback<? super CallRecord> callback)
newCallRecord - the new object to createcallback - the callback to be called after success or failureCallRecord post(CallRecord newCallRecord) throws ClientException
newCallRecord - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(CallRecord newCallRecord, ICallback<? super CallRecord> callback)
newCallRecord - the object to create/updatecallback - the callback to be called after success or failureCallRecord put(CallRecord newCallRecord) throws ClientException
newCallRecord - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonICallRecordRequest select(java.lang.String value)
value - the select clauseICallRecordRequest expand(java.lang.String value)
value - the expand clause