public class CallPlayPromptRequest extends BaseRequest implements ICallPlayPromptRequest
| Modifier and Type | Field and Description |
|---|---|
protected CallPlayPromptBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
CallPlayPromptRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this CallPlayPrompt
|
| Modifier and Type | Method and Description |
|---|---|
ICallPlayPromptRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
PlayPromptOperation |
post() |
void |
post(ICallback<? super PlayPromptOperation> callback) |
ICallPlayPromptRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ICallPlayPromptRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, 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, withHttpMethodprotected final CallPlayPromptBody body
public CallPlayPromptRequest(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<? super PlayPromptOperation> callback)
post in interface ICallPlayPromptRequestpublic PlayPromptOperation post() throws ClientException
post in interface ICallPlayPromptRequestClientExceptionpublic ICallPlayPromptRequest select(java.lang.String value)
select in interface ICallPlayPromptRequestvalue - the select clausepublic ICallPlayPromptRequest top(int value)
top in interface ICallPlayPromptRequestvalue - the max number of items to returnpublic ICallPlayPromptRequest expand(java.lang.String value)
expand in interface ICallPlayPromptRequestvalue - the expand clause