public class StoryDefinitionConfigurationMandatoryEntity
A required entity in a class StoryDefinitionConfiguration.
class StoryDefinitionConfiguration| Constructor and Description |
|---|
StoryDefinitionConfigurationMandatoryEntity(java.lang.String role,
Intent intent,
java.util.List<? extends ai.tock.bot.admin.answer.AnswerConfiguration> answers,
AnswerConfigurationType currentType)
A required entity in a
class StoryDefinitionConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The role of the mandatory entity.
|
Intent |
component2()
The intent used to find the entities.
|
java.util.List<ai.tock.bot.admin.answer.AnswerConfiguration> |
component3()
The answers available.
|
AnswerConfigurationType |
component4()
The type of answer configuration.
|
StoryDefinitionConfigurationMandatoryEntity |
copy(java.lang.String role,
Intent intent,
java.util.List<? extends ai.tock.bot.admin.answer.AnswerConfiguration> answers,
AnswerConfigurationType currentType)
A required entity in a
class StoryDefinitionConfiguration. |
boolean |
equals(java.lang.Object p) |
java.util.List<ai.tock.bot.admin.answer.AnswerConfiguration> |
getAnswers()
The answers available.
|
AnswerConfigurationType |
getCurrentType()
The type of answer configuration.
|
Intent |
getIntent()
The intent used to find the entities.
|
java.lang.String |
getRole()
The role of the mandatory entity.
|
int |
hashCode() |
java.lang.String |
toString() |
public StoryDefinitionConfigurationMandatoryEntity(@NotNull
java.lang.String role,
@NotNull
Intent intent,
@NotNull
java.util.List<? extends ai.tock.bot.admin.answer.AnswerConfiguration> answers,
@NotNull
AnswerConfigurationType currentType)
A required entity in a class StoryDefinitionConfiguration.
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.class StoryDefinitionConfiguration@NotNull public java.lang.String getRole()
The role of the mandatory entity.
@NotNull public Intent getIntent()
The intent used to find the entities.
@NotNull public java.util.List<ai.tock.bot.admin.answer.AnswerConfiguration> getAnswers()
The answers available.
@NotNull public AnswerConfigurationType getCurrentType()
The type of answer configuration.
@NotNull public java.lang.String component1()
The role of the mandatory entity.
@NotNull public Intent component2()
The intent used to find the entities.
@NotNull public java.util.List<ai.tock.bot.admin.answer.AnswerConfiguration> component3()
The answers available.
@NotNull public AnswerConfigurationType component4()
The type of answer configuration.
@NotNull public StoryDefinitionConfigurationMandatoryEntity copy(@NotNull java.lang.String role, @NotNull Intent intent, @NotNull java.util.List<? extends ai.tock.bot.admin.answer.AnswerConfiguration> answers, @NotNull AnswerConfigurationType currentType)
A required entity in a class StoryDefinitionConfiguration.
class StoryDefinitionConfiguration@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)