public class StoryDefinitionConfigurationStepDump
public StoryDefinitionConfigurationStepDump(@NotNull
java.lang.String name,
@Nullable
IntentWithoutNamespace intent,
@Nullable
IntentWithoutNamespace targetIntent,
@NotNull
java.util.List<? extends ai.tock.bot.admin.story.dump.AnswerConfigurationDump> answers,
@NotNull
AnswerConfigurationType currentType,
@Nullable
ai.tock.translator.I18nLabelValue userSentenceLabel,
@NotNull
java.util.List<ai.tock.bot.admin.story.dump.StoryDefinitionConfigurationStepDump> children,
int level,
@Nullable
EntityStepSelection entity)
name - The name of the step.intent - The intent used to reach the step - mandatory if an answer is set, or if there is a targetIntent.targetIntent - The optional intent to switch to when the step is reached.answers - The answers available.currentType - The type of answer configuration.userSentenceLabel - The user sentence sample.children - The children of the stepslevel - The level of the step.entity - Entity selection.public StoryDefinitionConfigurationStepDump(@NotNull
StoryDefinitionConfigurationStep def,
@NotNull
java.lang.String namespace,
@NotNull
java.lang.String category)
@NotNull public StoryDefinitionConfigurationStep toStep(@NotNull StoryDefinitionConfigurationDumpController controller)
@NotNull public java.lang.String getName()
The name of the step.
@Nullable public IntentWithoutNamespace getIntent()
The intent used to reach the step
- mandatory if an answer is set, or if there is a targetIntent.
@Nullable public IntentWithoutNamespace getTargetIntent()
The optional intent to switch to when the step is reached.
@NotNull public java.util.List<ai.tock.bot.admin.story.dump.AnswerConfigurationDump> getAnswers()
The answers available.
@NotNull public AnswerConfigurationType getCurrentType()
The type of answer configuration.
@Nullable public ai.tock.translator.I18nLabelValue getUserSentenceLabel()
The user sentence sample.
@NotNull public java.util.List<ai.tock.bot.admin.story.dump.StoryDefinitionConfigurationStepDump> getChildren()
The children of the steps
public int getLevel()
The level of the step.
@Nullable public EntityStepSelection getEntity()
Entity selection.
@NotNull public java.lang.String component1()
The name of the step.
@Nullable public IntentWithoutNamespace component2()
The intent used to reach the step
- mandatory if an answer is set, or if there is a targetIntent.
@Nullable public IntentWithoutNamespace component3()
The optional intent to switch to when the step is reached.
@NotNull public java.util.List<ai.tock.bot.admin.story.dump.AnswerConfigurationDump> component4()
The answers available.
@NotNull public AnswerConfigurationType component5()
The type of answer configuration.
@Nullable public ai.tock.translator.I18nLabelValue component6()
The user sentence sample.
@NotNull public java.util.List<ai.tock.bot.admin.story.dump.StoryDefinitionConfigurationStepDump> component7()
The children of the steps
public int component8()
The level of the step.
@Nullable public EntityStepSelection component9()
Entity selection.
@NotNull public StoryDefinitionConfigurationStepDump copy(@NotNull java.lang.String name, @Nullable IntentWithoutNamespace intent, @Nullable IntentWithoutNamespace targetIntent, @NotNull java.util.List<? extends ai.tock.bot.admin.story.dump.AnswerConfigurationDump> answers, @NotNull AnswerConfigurationType currentType, @Nullable ai.tock.translator.I18nLabelValue userSentenceLabel, @NotNull java.util.List<ai.tock.bot.admin.story.dump.StoryDefinitionConfigurationStepDump> children, int level, @Nullable EntityStepSelection entity)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)