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

AnswerConfigurationDump

abstract class AnswerConfigurationDump (source)

Constructors

<init>

AnswerConfigurationDump(answerType: AnswerConfigurationType)

Properties

answerType

val answerType: AnswerConfigurationType

Functions

toAnswer

abstract fun toAnswer(currentType: AnswerConfigurationType, controller: StoryDefinitionConfigurationDumpController): AnswerConfiguration

Companion Object Functions

toDump

fun toDump(answer: List<AnswerConfiguration>): List<AnswerConfigurationDump>
fun toDump(answer: AnswerConfiguration): AnswerConfigurationDump

Inheritors

BuiltInAnswerConfigurationDump

data class BuiltInAnswerConfigurationDump : AnswerConfigurationDump

MessageAnswerConfigurationDump

data class MessageAnswerConfigurationDump : AnswerConfigurationDump

ScriptAnswerConfigurationDump

An AnswerConfigurationDump defined by a Kotlin script.

data class ScriptAnswerConfigurationDump : AnswerConfigurationDump

SimpleAnswerConfigurationDump

An AnswerConfigurationDump with only SimpleAnswerDump (ie labels) answers.

data class SimpleAnswerConfigurationDump : AnswerConfigurationDump