tock / ai.tock.bot.admin.answer / ScriptAnswerVersionedConfiguration

# ScriptAnswerVersionedConfiguration

`class ScriptAnswerVersionedConfiguration` (source)

A version of ScriptAnswerConfiguration

- useful to be compliant with the current tock and bot versions.

### Constructors

#### <init> | A version of ScriptAnswerConfiguration `ScriptAnswerVersionedConfiguration(script: String, compiledCode: List<Pair<String, ByteArray>>, version: BotVersion, mainClassName: String, date: Instant = now())`

### Properties

#### compiledCode | `val compiledCode: List<Pair<String, ByteArray>>`
#### date | `val date: Instant`
#### mainClassName | `val mainClassName: String`
#### script | `val script: String`
#### storyDefinition | `val storyDefinition: StoryDefinition?`
#### version | `val version: BotVersion`