public class CallRecordRequest extends BaseRequest implements ICallRecordRequest
| Modifier and Type | Field and Description |
|---|---|
protected CallRecordBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
CallRecordRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this CallRecord
|
| Modifier and Type | Method and Description |
|---|---|
ICallRecordRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
RecordOperation |
post() |
void |
post(ICallback<RecordOperation> callback) |
ICallRecordRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ICallRecordRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesprotected final CallRecordBody body
public CallRecordRequest(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 post(ICallback<RecordOperation> callback)
post in interface ICallRecordRequestpublic RecordOperation post() throws ClientException
post in interface ICallRecordRequestClientExceptionpublic ICallRecordRequest select(java.lang.String value)
select in interface ICallRecordRequestvalue - the select clausepublic ICallRecordRequest top(int value)
top in interface ICallRecordRequestvalue - the max number of items to returnpublic ICallRecordRequest expand(java.lang.String value)
expand in interface ICallRecordRequestvalue - the expand clause