@Beta public class RecastWebhookData extends Object
Constructor and Description |
---|
RecastWebhookData() |
Modifier and Type | Method and Description |
---|---|
String |
getActionId()
Access to the id of the action.
|
Conversation |
getConversation()
Get the conversation information from recast, such as the memory status.
|
Nlp |
getNlp()
Get the natural language processing information from recast.
|
static RecastWebhookData |
parseString(String recastData)
Use this to parse the content provided by recast in a webhook request.
|
void |
setActionId(String actionId)
Set the action id.
|
void |
setConversation(Conversation conversation)
Set conversation information.
|
void |
setNlp(Nlp nlp)
Set the nlp information
|
@Nonnull public static RecastWebhookData parseString(@Nonnull String recastData)
recastData
- the raw json data available in the webhook request body.@Nullable public Conversation getConversation()
public void setConversation(@Nullable Conversation conversation)
conversation
- the conversation information to set@Nullable public Nlp getNlp()
@Nullable public String getActionId()
Copyright © 2020 SAP SE. All rights reserved.