public class MessageCreateReplyRequest extends BaseRequest implements IMessageCreateReplyRequest
Modifier and Type | Field and Description |
---|---|
protected MessageCreateReplyBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
MessageCreateReplyRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this MessageCreateReply
|
Modifier and Type | Method and Description |
---|---|
IMessageCreateReplyRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Message |
post() |
void |
post(ICallback<? super Message> callback) |
IMessageCreateReplyRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IMessageCreateReplyRequest |
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, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
protected final MessageCreateReplyBody body
public MessageCreateReplyRequest(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 Message> callback)
post
in interface IMessageCreateReplyRequest
public Message post() throws ClientException
post
in interface IMessageCreateReplyRequest
ClientException
public IMessageCreateReplyRequest select(java.lang.String value)
select
in interface IMessageCreateReplyRequest
value
- the select clausepublic IMessageCreateReplyRequest top(int value)
top
in interface IMessageCreateReplyRequest
value
- the max number of items to returnpublic IMessageCreateReplyRequest expand(java.lang.String value)
expand
in interface IMessageCreateReplyRequest
value
- the expand clause