Skip to content
This repository was archived by the owner on Aug 12, 2022. It is now read-only.

Class Action

Jasmine Anteunis edited this page Jan 15, 2019 · 2 revisions

An instance of the Action class is instantiated either by the Conversation constructors.

Attributes

Each of the following methods corresponds to a Entity attribute

Attributes Description
slug String: the name of the action
done Boolean: indicate if the action is done or not
reply String: the reply for this action

In addition to those methods, more attributes are generated depending of the nature of the entity. The full list can be found there: cai.tool.sap/docs

// With the textConverse method
Conversation conversation = client.textConverse(YOUR_TEXT);
Action action = conversation.getAction();
Clone this wiki locally