@Beta public class RecastWebhookResponseWrapper extends Object
Constructor and Description |
---|
RecastWebhookResponseWrapper(List<ResponseInterface> replies,
ConversationUpdate conversation)
Compose the reply to a webhook request.
|
RecastWebhookResponseWrapper(ResponseInterface... replies)
Compose the reply to a webhook request.
|
Modifier and Type | Method and Description |
---|---|
String |
getResponse()
Get the json string for this objet.
|
void |
setConversation(ConversationUpdate conversation)
Set the ConversationUpdate to send to recast.
|
public RecastWebhookResponseWrapper(@Nonnull List<ResponseInterface> replies, @Nullable ConversationUpdate conversation)
replies
- required repliesconversation
- optional. The information to add to/change in the conversation.public RecastWebhookResponseWrapper(@Nonnull ResponseInterface... replies)
replies
- required repliespublic void setConversation(@Nullable ConversationUpdate conversation)
conversation
- the information to add to/change in the conversationCopyright © 2020 SAP SE. All rights reserved.