public class BaseBotActionResult extends Object implements BotActionResult
BotActionResult.| Modifier and Type | Field and Description |
|---|---|
protected Intent |
intent |
protected Map<String,Object> |
payload |
protected com.fasterxml.jackson.databind.JsonNode |
payloadNode |
| Constructor and Description |
|---|
BaseBotActionResult() |
BaseBotActionResult(com.fasterxml.jackson.databind.JsonNode payloadNode,
Intent intent) |
BaseBotActionResult(Map<String,Object> payload)
Deprecated.
use
BaseBotActionResult(JsonNode, Intent) with Intent.NOOP as an intent |
BaseBotActionResult(Map<String,Object> payload,
Intent intent)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Intent |
getIntent()
Action to perform in the user interface right after executing the bot action.
|
Map<String,Object> |
getPayload()
Deprecated.
|
com.fasterxml.jackson.databind.JsonNode |
getPayloadNode()
The information from invoking the action.
|
protected com.fasterxml.jackson.databind.JsonNode payloadNode
protected Intent intent
public BaseBotActionResult()
@Deprecated public BaseBotActionResult(Map<String,Object> payload)
BaseBotActionResult(JsonNode, Intent) with Intent.NOOP as an intent@Deprecated public BaseBotActionResult(Map<String,Object> payload, Intent intent)
BaseBotActionResult(JsonNode, Intent)public BaseBotActionResult(com.fasterxml.jackson.databind.JsonNode payloadNode,
Intent intent)
@Deprecated public Map<String,Object> getPayload()
BotActionResultgetPayload in interface BotActionResultpublic com.fasterxml.jackson.databind.JsonNode getPayloadNode()
BotActionResultgetPayloadNode in interface BotActionResultpublic Intent getIntent()
BotActionResultgetIntent in interface BotActionResultCopyright © 2019. All rights reserved.