public class BotStoryDefinitionConfigurationMandatoryEntity
| Constructor and Description |
|---|
BotStoryDefinitionConfigurationMandatoryEntity(java.lang.String role,
ai.tock.bot.definition.Intent intent,
java.util.List<? extends ai.tock.bot.admin.model.BotAnswerConfiguration> answers,
ai.tock.bot.admin.answer.AnswerConfigurationType currentType,
java.lang.String category,
ai.tock.nlp.front.shared.config.EntityDefinition entity,
ai.tock.nlp.front.shared.config.IntentDefinition intentDefinition) |
BotStoryDefinitionConfigurationMandatoryEntity(ai.tock.bot.admin.story.StoryDefinitionConfiguration story,
ai.tock.bot.admin.story.StoryDefinitionConfigurationMandatoryEntity e) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The role of the mandatory entity.
|
ai.tock.bot.definition.Intent |
component2()
The intent used to find the entities.
|
java.util.List<ai.tock.bot.admin.model.BotAnswerConfiguration> |
component3()
The answers available.
|
ai.tock.bot.admin.answer.AnswerConfigurationType |
component4()
The type of answer configuration.
|
java.lang.String |
component5()
The category of the answers.
|
ai.tock.nlp.front.shared.config.EntityDefinition |
component6()
Entity defined by the entity role.
|
ai.tock.nlp.front.shared.config.IntentDefinition |
component7()
Intent defined by the intent name.
|
BotStoryDefinitionConfigurationMandatoryEntity |
copy(java.lang.String role,
ai.tock.bot.definition.Intent intent,
java.util.List<? extends ai.tock.bot.admin.model.BotAnswerConfiguration> answers,
ai.tock.bot.admin.answer.AnswerConfigurationType currentType,
java.lang.String category,
ai.tock.nlp.front.shared.config.EntityDefinition entity,
ai.tock.nlp.front.shared.config.IntentDefinition intentDefinition) |
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.
|
ai.tock.bot.admin.answer.AnswerConfigurationType |
getCurrentType()
The type of answer configuration.
|
ai.tock.nlp.front.shared.config.EntityDefinition |
getEntity()
Entity defined by the entity role.
|
ai.tock.bot.definition.Intent |
getIntent()
The intent used to find the entities.
|
ai.tock.nlp.front.shared.config.IntentDefinition |
getIntentDefinition()
Intent defined by the intent name.
|
java.lang.String |
getRole()
The role of the mandatory entity.
|
int |
hashCode() |
java.lang.String |
toString() |
public BotStoryDefinitionConfigurationMandatoryEntity(@NotNull
java.lang.String role,
@NotNull
ai.tock.bot.definition.Intent intent,
@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,
@Nullable
ai.tock.nlp.front.shared.config.EntityDefinition entity,
@Nullable
ai.tock.nlp.front.shared.config.IntentDefinition intentDefinition)
role - The role of the mandatory entity.intent - The intent used to find the entities.answers - The answers available.currentType - The type of answer configuration.category - The category of the answers.entity - Entity defined by the entity role.intentDefinition - Intent defined by the intent name.public BotStoryDefinitionConfigurationMandatoryEntity(@NotNull
ai.tock.bot.admin.story.StoryDefinitionConfiguration story,
@NotNull
ai.tock.bot.admin.story.StoryDefinitionConfigurationMandatoryEntity e)
@NotNull public java.lang.String getRole()
The role of the mandatory entity.
@NotNull public ai.tock.bot.definition.Intent getIntent()
The intent used to find the entities.
@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.
@Nullable public ai.tock.nlp.front.shared.config.EntityDefinition getEntity()
Entity defined by the entity role.
@Nullable public ai.tock.nlp.front.shared.config.IntentDefinition getIntentDefinition()
Intent defined by the intent name.
@NotNull public java.lang.String component1()
The role of the mandatory entity.
@NotNull public ai.tock.bot.definition.Intent component2()
The intent used to find the entities.
@NotNull public java.util.List<ai.tock.bot.admin.model.BotAnswerConfiguration> component3()
The answers available.
@NotNull public ai.tock.bot.admin.answer.AnswerConfigurationType component4()
The type of answer configuration.
@NotNull public java.lang.String component5()
The category of the answers.
@Nullable public ai.tock.nlp.front.shared.config.EntityDefinition component6()
Entity defined by the entity role.
@Nullable public ai.tock.nlp.front.shared.config.IntentDefinition component7()
Intent defined by the intent name.
@NotNull public BotStoryDefinitionConfigurationMandatoryEntity copy(@NotNull java.lang.String role, @NotNull ai.tock.bot.definition.Intent intent, @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, @Nullable ai.tock.nlp.front.shared.config.EntityDefinition entity, @Nullable ai.tock.nlp.front.shared.config.IntentDefinition intentDefinition)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)