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

# StoryDefinitionConfigurationDump

`data class StoryDefinitionConfigurationDump` (source)

Object used for exporting/importing story definitions

### Constructors

#### <init> | `StoryDefinitionConfigurationDump(def: StoryDefinitionConfiguration)` Object used for exporting/importing story definitions `StoryDefinitionConfigurationDump(storyId: String, botId: String, intent: IntentWithoutNamespace, currentType: AnswerConfigurationType, answers: List<AnswerConfigurationDump>, version: Int = 0, namespace: String = defaultNamespace, mandatoryEntities: List<StoryDefinitionConfigurationMandatoryEntityDump> = emptyList(), steps: List<StoryDefinitionConfigurationStepDump> = emptyList(), name: String = storyId, category: String = "default", description: String = "", userSentence: String = "", userSentenceLocale: Locale? = null, configurationName: String? = null, features: List<StoryDefinitionConfigurationFeatureDump> = emptyList(), tags: Set<StoryTag> = emptySet(), configuredAnswers: List<DedicatedAnswerConfiguration> = emptyList(), configuredSteps: List<StoryDefinitionConfigurationByBotStep> = emptyList())`

### Properties

#### answers | The answers available. `val answers: List<AnswerConfigurationDump>`
#### 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 | The optional features supported `val features: List<StoryDefinitionConfigurationFeatureDump>`
#### intent | The target main intent. `val intent: IntentWithoutNamespace`
#### mandatoryEntities | The mandatory entities. `val mandatoryEntities: List<StoryDefinitionConfigurationMandatoryEntityDump>`
#### 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<StoryDefinitionConfigurationStepDump>`
#### 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`

### Functions

#### toStoryDefinitionConfiguration | `fun toStoryDefinitionConfiguration(controller: StoryDefinitionConfigurationDumpController): StoryDefinitionConfiguration`