public class StoryDefinitionConfiguration
A interface StoryDefinition defined at runtime.
interface StoryDefinition| Constructor and Description |
|---|
StoryDefinitionConfiguration(java.lang.String storyId,
java.lang.String botId,
Intent intent,
AnswerConfigurationType currentType,
java.util.List<? extends ai.tock.bot.admin.answer.AnswerConfiguration> answers,
int version,
java.lang.String namespace,
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationMandatoryEntity> mandatoryEntities,
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationStep> steps,
java.lang.String name,
java.lang.String category,
java.lang.String description,
java.lang.String userSentence,
java.lang.String configurationName,
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationFeature> features,
org.litote.kmongo.Id<ai.tock.bot.admin.story.StoryDefinitionConfiguration> _id)
A
interface StoryDefinition defined at runtime. |
StoryDefinitionConfiguration(BotDefinition botDefinition,
StoryDefinition storyDefinition,
java.lang.String configurationName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The story definition identifier.
|
java.lang.String |
component10()
The name of the story.
|
java.lang.String |
component11()
The category of the story.
|
java.lang.String |
component12()
The description of the story.
|
java.lang.String |
component13()
The user sentence sample.
|
java.lang.String |
component14()
The configuration name if any.
|
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationFeature> |
component15()
The optional supported
|
org.litote.kmongo.Id<ai.tock.bot.admin.story.StoryDefinitionConfiguration> |
component16()
The configuration identifier.
|
java.lang.String |
component2()
The bot identifier.
|
Intent |
component3()
The target main intent.
|
AnswerConfigurationType |
component4()
The type of answer configuration.
|
java.util.List<ai.tock.bot.admin.answer.AnswerConfiguration> |
component5()
The answers available.
|
int |
component6()
The version of the story.
|
java.lang.String |
component7()
The namespace of the story.
|
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationMandatoryEntity> |
component8()
The mandatory entities.
|
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationStep> |
component9()
The optional steps.
|
StoryDefinitionConfiguration |
copy(java.lang.String storyId,
java.lang.String botId,
Intent intent,
AnswerConfigurationType currentType,
java.util.List<? extends ai.tock.bot.admin.answer.AnswerConfiguration> answers,
int version,
java.lang.String namespace,
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationMandatoryEntity> mandatoryEntities,
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationStep> steps,
java.lang.String name,
java.lang.String category,
java.lang.String description,
java.lang.String userSentence,
java.lang.String configurationName,
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationFeature> features,
org.litote.kmongo.Id<ai.tock.bot.admin.story.StoryDefinitionConfiguration> _id)
A
interface StoryDefinition defined at runtime. |
boolean |
equals(java.lang.Object p) |
java.util.List<java.lang.String> |
findNextSteps(StoryDefinitionConfiguration story) |
java.util.List<ai.tock.bot.admin.answer.AnswerConfiguration> |
getAnswers()
The answers available.
|
java.lang.String |
getBotId()
The bot identifier.
|
java.lang.String |
getCategory()
The category of the story.
|
java.lang.String |
getConfigurationName()
The configuration name if any.
|
AnswerConfigurationType |
getCurrentType()
The type of answer configuration.
|
java.lang.String |
getDescription()
The description of the story.
|
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationFeature> |
getFeatures()
The optional supported
|
Intent |
getIntent()
The target main intent.
|
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationMandatoryEntity> |
getMandatoryEntities()
The mandatory entities.
|
java.lang.String |
getName()
The name of the story.
|
java.lang.String |
getNamespace()
The namespace of the story.
|
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationStep> |
getSteps()
The optional steps.
|
java.lang.String |
getStoryId()
The story definition identifier.
|
java.lang.String |
getUserSentence()
The user sentence sample.
|
int |
getVersion()
The version of the story.
|
org.litote.kmongo.Id<ai.tock.bot.admin.story.StoryDefinitionConfiguration> |
get_id()
The configuration identifier.
|
int |
hashCode() |
java.lang.String |
toString() |
public StoryDefinitionConfiguration(@NotNull
java.lang.String storyId,
@NotNull
java.lang.String botId,
@NotNull
Intent intent,
@NotNull
AnswerConfigurationType currentType,
@NotNull
java.util.List<? extends ai.tock.bot.admin.answer.AnswerConfiguration> answers,
int version,
@NotNull
java.lang.String namespace,
@NotNull
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationMandatoryEntity> mandatoryEntities,
@NotNull
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationStep> steps,
@NotNull
java.lang.String name,
@NotNull
java.lang.String category,
@NotNull
java.lang.String description,
@NotNull
java.lang.String userSentence,
@Nullable
java.lang.String configurationName,
@NotNull
java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationFeature> features,
@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.story.StoryDefinitionConfiguration> _id)
A interface StoryDefinition defined at runtime.
storyId - The story definition identifier.botId - The bot identifier.intent - The target main intent.currentType - The type of answer configuration.answers - The answers available.version - The version of the story.namespace - The namespace of the story.mandatoryEntities - The mandatory entities.steps - The optional steps.name - The name of the story.category - The category of the story.description - The description of the story.userSentence - The user sentence sample.configurationName - The configuration name if any.features - The optional supported_id - The configuration identifier.interface StoryDefinitionpublic StoryDefinitionConfiguration(@NotNull
BotDefinition botDefinition,
@NotNull
StoryDefinition storyDefinition,
@Nullable
java.lang.String configurationName)
@NotNull
public java.util.List<java.lang.String> findNextSteps(@NotNull
StoryDefinitionConfiguration story)
@NotNull public java.lang.String getStoryId()
The story definition identifier.
@NotNull public java.lang.String getBotId()
The bot identifier.
@NotNull public Intent getIntent()
The target main intent.
@NotNull public AnswerConfigurationType getCurrentType()
The type of answer configuration.
@NotNull public java.util.List<ai.tock.bot.admin.answer.AnswerConfiguration> getAnswers()
The answers available.
public int getVersion()
The version of the story.
@NotNull public java.lang.String getNamespace()
The namespace of the story.
@NotNull public java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationMandatoryEntity> getMandatoryEntities()
The mandatory entities.
@NotNull public java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationStep> getSteps()
The optional steps.
@NotNull public java.lang.String getName()
The name of the story.
@NotNull public java.lang.String getCategory()
The category of the story.
@NotNull public java.lang.String getDescription()
The description of the story.
@NotNull public java.lang.String getUserSentence()
The user sentence sample.
@Nullable public java.lang.String getConfigurationName()
The configuration name if any.
@NotNull public java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationFeature> getFeatures()
The optional supported
@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.story.StoryDefinitionConfiguration> get_id()
The configuration identifier.
@NotNull public java.lang.String component1()
The story definition identifier.
@NotNull public java.lang.String component2()
The bot identifier.
@NotNull public Intent component3()
The target main intent.
@NotNull public AnswerConfigurationType component4()
The type of answer configuration.
@NotNull public java.util.List<ai.tock.bot.admin.answer.AnswerConfiguration> component5()
The answers available.
public int component6()
The version of the story.
@NotNull public java.lang.String component7()
The namespace of the story.
@NotNull public java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationMandatoryEntity> component8()
The mandatory entities.
@NotNull public java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationStep> component9()
The optional steps.
@NotNull public java.lang.String component10()
The name of the story.
@NotNull public java.lang.String component11()
The category of the story.
@NotNull public java.lang.String component12()
The description of the story.
@NotNull public java.lang.String component13()
The user sentence sample.
@Nullable public java.lang.String component14()
The configuration name if any.
@NotNull public java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationFeature> component15()
The optional supported
@NotNull public org.litote.kmongo.Id<ai.tock.bot.admin.story.StoryDefinitionConfiguration> component16()
The configuration identifier.
@NotNull public StoryDefinitionConfiguration copy(@NotNull java.lang.String storyId, @NotNull java.lang.String botId, @NotNull Intent intent, @NotNull AnswerConfigurationType currentType, @NotNull java.util.List<? extends ai.tock.bot.admin.answer.AnswerConfiguration> answers, int version, @NotNull java.lang.String namespace, @NotNull java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationMandatoryEntity> mandatoryEntities, @NotNull java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationStep> steps, @NotNull java.lang.String name, @NotNull java.lang.String category, @NotNull java.lang.String description, @NotNull java.lang.String userSentence, @Nullable java.lang.String configurationName, @NotNull java.util.List<ai.tock.bot.admin.story.StoryDefinitionConfigurationFeature> features, @NotNull org.litote.kmongo.Id<ai.tock.bot.admin.story.StoryDefinitionConfiguration> _id)
A interface StoryDefinition defined at runtime.
interface StoryDefinition@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)