public class CallCollectionRequest extends BaseCollectionRequest<CallCollectionResponse,ICallCollectionPage> implements ICallCollectionRequest
| Constructor and Description |
|---|
CallCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of Call
|
| Modifier and Type | Method and Description |
|---|---|
ICallCollectionPage |
buildFromResponse(CallCollectionResponse response) |
ICallCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ICallCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ICallCollectionPage |
get() |
void |
get(ICallback<? super ICallCollectionPage> callback) |
ICallCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
Call |
post(Call newCall) |
void |
post(Call newCall,
ICallback<? super Call> callback) |
ICallCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ICallCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ICallCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
ICallCollectionRequest |
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 CallCollectionRequest(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 ICallCollectionPage> callback)
get in interface ICallCollectionRequestpublic ICallCollectionPage get() throws ClientException
get in interface ICallCollectionRequestClientExceptionpublic void post(Call newCall, ICallback<? super Call> callback)
post in interface ICallCollectionRequestpublic Call post(Call newCall) throws ClientException
post in interface ICallCollectionRequestClientExceptionpublic ICallCollectionRequest expand(java.lang.String value)
expand in interface ICallCollectionRequestvalue - the expand clausepublic ICallCollectionRequest filter(java.lang.String value)
filter in interface ICallCollectionRequestvalue - the filter clausepublic ICallCollectionRequest orderBy(java.lang.String value)
orderBy in interface ICallCollectionRequestvalue - the order by clausepublic ICallCollectionRequest select(java.lang.String value)
select in interface ICallCollectionRequestvalue - the select clausepublic ICallCollectionRequest top(int value)
top in interface ICallCollectionRequestvalue - the max number of items to returnpublic ICallCollectionRequest skip(int value)
skip in interface ICallCollectionRequestvalue - of the number of items to skippublic ICallCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface ICallCollectionRequestskipToken - - Token for paginationpublic ICallCollectionPage buildFromResponse(CallCollectionResponse response)