public class BotStoryDefinitionConfigurationStep
public BotStoryDefinitionConfigurationStep(@NotNull
java.lang.String name,
@Nullable
ai.tock.bot.definition.IntentWithoutNamespace intent,
@Nullable
ai.tock.bot.definition.IntentWithoutNamespace targetIntent,
@NotNull
java.util.List<? extends ai.tock.bot.admin.model.BotAnswerConfiguration> answers,
@NotNull
ai.tock.bot.admin.answer.AnswerConfigurationType currentType,
@NotNull
java.lang.String category,
@NotNull
ai.tock.translator.I18nLabel userSentence,
@NotNull
java.util.List<ai.tock.bot.admin.model.BotStoryDefinitionConfigurationStep> children,
int level,
@Nullable
ai.tock.bot.definition.EntityStepSelection entity,
@Nullable
ai.tock.nlp.front.shared.config.IntentDefinition intentDefinition,
@Nullable
ai.tock.nlp.front.shared.config.IntentDefinition targetIntentDefinition)
name - The name of the step.intent - The intent used to reach the steptargetIntent - The optional intent to switch to when the step is reached.answers - The answers available.currentType - The type of answer configuration.category - The category of the answers.userSentence - The user sentence sample.children - The children of the stepslevel - The level of the step.entity - Entity selection.intentDefinition - Intent defined by the intent name.targetIntentDefinition - Target Intent defined by the intent name.public BotStoryDefinitionConfigurationStep(@NotNull
ai.tock.bot.admin.story.StoryDefinitionConfiguration story,
@NotNull
ai.tock.bot.admin.story.StoryDefinitionConfigurationStep e)
@NotNull public java.lang.String getName()
The name of the step.
@Nullable public ai.tock.bot.definition.IntentWithoutNamespace getIntent()
The intent used to reach the step
@Nullable public ai.tock.bot.definition.IntentWithoutNamespace getTargetIntent()
The optional intent to switch to when the step is reached.
@NotNull public java.util.List<ai.tock.bot.admin.model.BotAnswerConfiguration> getAnswers()
The answers available.
@NotNull public ai.tock.bot.admin.answer.AnswerConfigurationType getCurrentType()
The type of answer configuration.
@NotNull public java.lang.String getCategory()
The category of the answers.
@NotNull public ai.tock.translator.I18nLabel getUserSentence()
The user sentence sample.
@NotNull public java.util.List<ai.tock.bot.admin.model.BotStoryDefinitionConfigurationStep> getChildren()
The children of the steps
public int getLevel()
The level of the step.
@Nullable public ai.tock.bot.definition.EntityStepSelection getEntity()
Entity selection.
@Nullable public ai.tock.nlp.front.shared.config.IntentDefinition getIntentDefinition()
Intent defined by the intent name.
@Nullable public ai.tock.nlp.front.shared.config.IntentDefinition getTargetIntentDefinition()
Target Intent defined by the intent name.
@NotNull public java.lang.String component1()
The name of the step.
@Nullable public ai.tock.bot.definition.IntentWithoutNamespace component2()
The intent used to reach the step
@Nullable public ai.tock.bot.definition.IntentWithoutNamespace component3()
The optional intent to switch to when the step is reached.
@NotNull public java.util.List<ai.tock.bot.admin.model.BotAnswerConfiguration> component4()
The answers available.
@NotNull public ai.tock.bot.admin.answer.AnswerConfigurationType component5()
The type of answer configuration.
@NotNull public java.lang.String component6()
The category of the answers.
@NotNull public ai.tock.translator.I18nLabel component7()
The user sentence sample.
@NotNull public java.util.List<ai.tock.bot.admin.model.BotStoryDefinitionConfigurationStep> component8()
The children of the steps
public int component9()
The level of the step.
@Nullable public ai.tock.bot.definition.EntityStepSelection component10()
Entity selection.
@Nullable public ai.tock.nlp.front.shared.config.IntentDefinition component11()
Intent defined by the intent name.
@Nullable public ai.tock.nlp.front.shared.config.IntentDefinition component12()
Target Intent defined by the intent name.
@NotNull public BotStoryDefinitionConfigurationStep copy(@NotNull java.lang.String name, @Nullable ai.tock.bot.definition.IntentWithoutNamespace intent, @Nullable ai.tock.bot.definition.IntentWithoutNamespace targetIntent, @NotNull java.util.List<? extends ai.tock.bot.admin.model.BotAnswerConfiguration> answers, @NotNull ai.tock.bot.admin.answer.AnswerConfigurationType currentType, @NotNull java.lang.String category, @NotNull ai.tock.translator.I18nLabel userSentence, @NotNull java.util.List<ai.tock.bot.admin.model.BotStoryDefinitionConfigurationStep> children, int level, @Nullable ai.tock.bot.definition.EntityStepSelection entity, @Nullable ai.tock.nlp.front.shared.config.IntentDefinition intentDefinition, @Nullable ai.tock.nlp.front.shared.config.IntentDefinition targetIntentDefinition)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)