tock / ai.tock.bot.admin.story.dump / StoryDefinitionConfigurationMandatoryEntityDump

StoryDefinitionConfigurationMandatoryEntityDump

data class StoryDefinitionConfigurationMandatoryEntityDump (source)

Constructors

<init>

StoryDefinitionConfigurationMandatoryEntityDump(def: StoryDefinitionConfigurationMandatoryEntity)
StoryDefinitionConfigurationMandatoryEntityDump(role: String, entityType: String = role, intent: IntentWithoutNamespace, answers: List<AnswerConfigurationDump>, currentType: AnswerConfigurationType)

Properties

answers

The answers available.

val answers: List<AnswerConfigurationDump>

currentType

The type of answer configuration.

val currentType: AnswerConfigurationType

entityType

The type of mandatory entity.

val entityType: String

intent

The intent used to find the entities.

val intent: IntentWithoutNamespace

role

The role of the mandatory entity.

val role: String

Functions

toEntity

fun toEntity(controller: StoryDefinitionConfigurationDumpController): StoryDefinitionConfigurationMandatoryEntity