data class StoryDefinitionConfiguration : StoryDefinitionAnswersContainer (source)
A StoryDefinition defined at runtime.
<init> |
StoryDefinitionConfiguration(botDefinition: BotDefinition, storyDefinition: StoryDefinition, configurationName: String?)
A StoryDefinition defined at runtime. StoryDefinitionConfiguration(storyId: String, botId: String, intent: IntentWithoutNamespace, currentType: AnswerConfigurationType, answers: List<AnswerConfiguration>, version: Int = 0, namespace: String = defaultNamespace, mandatoryEntities: List<StoryDefinitionConfigurationMandatoryEntity> = emptyList(), steps: List<StoryDefinitionConfigurationStep> = emptyList(), name: String = storyId, category: String = "default", description: String = "", userSentence: String = "", userSentenceLocale: Locale? = null, configurationName: String? = null, features: List<StoryDefinitionConfigurationFeature> = emptyList(), _id: Id<StoryDefinitionConfiguration> = newId(), tags: Set<StoryTag> = emptySet(), configuredAnswers: List<DedicatedAnswerConfiguration> = emptyList(), configuredSteps: List<StoryDefinitionConfigurationByBotStep> = emptyList()) |
_id |
The configuration identifier. val _id: Id<StoryDefinitionConfiguration> |
answers |
The answers available. val answers: List<AnswerConfiguration> |
botId |
The bot identifier. val botId: String |
category |
The category of the story. val category: String |
configurationName |
The configuration name if any. val configurationName: String? |
configuredAnswers |
Answers by bot application configuration val configuredAnswers: List<DedicatedAnswerConfiguration> |
configuredSteps |
Steps by bot application configuration val configuredSteps: List<StoryDefinitionConfigurationByBotStep> |
currentType |
The type of answer configuration. val currentType: AnswerConfigurationType |
description |
The description of the story. val description: String |
features |
Current features. val features: List<StoryDefinitionConfigurationFeature> |
intent |
The target main intent. val intent: IntentWithoutNamespace |
mandatoryEntities |
The mandatory entities. val mandatoryEntities: List<StoryDefinitionConfigurationMandatoryEntity> |
name |
The name of the story. val name: String |
namespace |
The namespace of the story. val namespace: String |
steps |
The optional steps. val steps: List<StoryDefinitionConfigurationStep> |
storyId |
The story definition identifier. val storyId: String |
tags |
The story definition tags that specify different story types or roles. val tags: Set<StoryTag> |
userSentence |
The user sentence sample. val userSentence: String |
userSentenceLocale |
The user sentence sample locale. val userSentenceLocale: Locale? |
version |
The version of the story. val version: Int |
findNextSteps |
fun findNextSteps(bus: BotBus, story: StoryDefinitionConfiguration): List<CharSequence> |