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