public class CallRecordCollectionRequest extends BaseCollectionRequest<CallRecordCollectionResponse,ICallRecordCollectionPage> implements ICallRecordCollectionRequest
| Constructor and Description |
|---|
CallRecordCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of CallRecord
|
| Modifier and Type | Method and Description |
|---|---|
ICallRecordCollectionPage |
buildFromResponse(CallRecordCollectionResponse response) |
ICallRecordCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ICallRecordCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ICallRecordCollectionPage |
get() |
void |
get(ICallback<? super ICallRecordCollectionPage> callback) |
ICallRecordCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
CallRecord |
post(CallRecord newCallRecord) |
void |
post(CallRecord newCallRecord,
ICallback<? super CallRecord> callback) |
ICallRecordCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ICallRecordCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ICallRecordCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
ICallRecordCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, 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 CallRecordCollectionRequest(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 ICallRecordCollectionPage> callback)
get in interface ICallRecordCollectionRequestpublic ICallRecordCollectionPage get() throws ClientException
get in interface ICallRecordCollectionRequestClientExceptionpublic void post(CallRecord newCallRecord, ICallback<? super CallRecord> callback)
post in interface ICallRecordCollectionRequestpublic CallRecord post(CallRecord newCallRecord) throws ClientException
post in interface ICallRecordCollectionRequestClientExceptionpublic ICallRecordCollectionRequest expand(java.lang.String value)
expand in interface ICallRecordCollectionRequestvalue - the expand clausepublic ICallRecordCollectionRequest filter(java.lang.String value)
filter in interface ICallRecordCollectionRequestvalue - the filter clausepublic ICallRecordCollectionRequest orderBy(java.lang.String value)
orderBy in interface ICallRecordCollectionRequestvalue - the order by clausepublic ICallRecordCollectionRequest select(java.lang.String value)
select in interface ICallRecordCollectionRequestvalue - the select clausepublic ICallRecordCollectionRequest top(int value)
top in interface ICallRecordCollectionRequestvalue - the max number of items to returnpublic ICallRecordCollectionRequest skip(int value)
skip in interface ICallRecordCollectionRequestvalue - of the number of items to skippublic ICallRecordCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface ICallRecordCollectionRequestskipToken - - Token for paginationpublic ICallRecordCollectionPage buildFromResponse(CallRecordCollectionResponse response)