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

StoryDefinitionConfigurationStepDump

data class StoryDefinitionConfigurationStepDump (source)

Constructors

<init>

StoryDefinitionConfigurationStepDump(def: StoryDefinitionConfigurationStep, namespace: String, category: String)
StoryDefinitionConfigurationStepDump(name: String, intent: IntentWithoutNamespace?, targetIntent: IntentWithoutNamespace?, answers: List<AnswerConfigurationDump>, currentType: AnswerConfigurationType, userSentenceLabel: I18nLabelValue? = null, children: List<StoryDefinitionConfigurationStepDump> = emptyList(), level: Int = 0, entity: EntityStepSelection? = null)

Properties

answers

The answers available.

val answers: List<AnswerConfigurationDump>

children

The children of the steps

val children: List<StoryDefinitionConfigurationStepDump>

currentType

The type of answer configuration.

val currentType: AnswerConfigurationType

entity

Entity selection.

val entity: EntityStepSelection?

intent

The intent used to reach the step - mandatory if an answer is set, or if there is a targetIntent.

val intent: IntentWithoutNamespace?

level

The level of the step.

val level: Int

name

The name of the step.

val name: String

targetIntent

The optional intent to switch to when the step is reached.

val targetIntent: IntentWithoutNamespace?

userSentenceLabel

The user sentence sample.

val userSentenceLabel: I18nLabelValue?

Functions

toStep

fun toStep(controller: StoryDefinitionConfigurationDumpController): StoryDefinitionConfigurationStep