Package ai.tock.bot.admin.content
Class StoryDefinitionConfigurationStepContent
-
- All Implemented Interfaces:
public final class StoryDefinitionConfigurationStepContent
-
-
Field Summary
Fields Modifier and Type Field Description private final IntentWithoutNamespaceintentprivate final IntentWithoutNamespacetargetIntentprivate final List<AnswerConfigurationContent>answersprivate final AnswerConfigurationTypecurrentTypeprivate final StringuserSentenceprivate final List<StoryDefinitionConfigurationStepContent>childrenprivate final Integerlevelprivate final EntityStepSelectionentity
-
Constructor Summary
Constructors Constructor Description StoryDefinitionConfigurationStepContent(IntentWithoutNamespace intent, IntentWithoutNamespace targetIntent, List<AnswerConfigurationContent> answers, AnswerConfigurationType currentType, String userSentence, List<StoryDefinitionConfigurationStepContent> children, Integer level, EntityStepSelection entity)
-
Method Summary
Modifier and Type Method Description final IntentWithoutNamespacegetIntent()The intent used to reach the step final IntentWithoutNamespacegetTargetIntent()The optional intent to switch to when the step is reached. final List<AnswerConfigurationContent>getAnswers()The answers available. final AnswerConfigurationTypegetCurrentType()The type of answer configuration. final StringgetUserSentence()The user sentence sample. final List<StoryDefinitionConfigurationStepContent>getChildren()The children of the steps final IntegergetLevel()The level of the step. final EntityStepSelectiongetEntity()Entity selection. final BotStoryDefinitionConfigurationSteptoBotStoryDefinitionConfigurationStep(String namespace, Id<ApplicationDefinition> applicationId, String category, Locale locale)-
-
Constructor Detail
-
StoryDefinitionConfigurationStepContent
StoryDefinitionConfigurationStepContent(IntentWithoutNamespace intent, IntentWithoutNamespace targetIntent, List<AnswerConfigurationContent> answers, AnswerConfigurationType currentType, String userSentence, List<StoryDefinitionConfigurationStepContent> children, Integer level, EntityStepSelection entity)
-
-
Method Detail
-
getIntent
final IntentWithoutNamespace getIntent()
The intent used to reach the step
-
getTargetIntent
final IntentWithoutNamespace getTargetIntent()
The optional intent to switch to when the step is reached.
-
getAnswers
final List<AnswerConfigurationContent> getAnswers()
The answers available.
-
getCurrentType
final AnswerConfigurationType getCurrentType()
The type of answer configuration.
-
getUserSentence
final String getUserSentence()
The user sentence sample.
-
getChildren
final List<StoryDefinitionConfigurationStepContent> getChildren()
The children of the steps
-
getEntity
final EntityStepSelection getEntity()
Entity selection.
-
toBotStoryDefinitionConfigurationStep
final BotStoryDefinitionConfigurationStep toBotStoryDefinitionConfigurationStep(String namespace, Id<ApplicationDefinition> applicationId, String category, Locale locale)
-
-
-
-