tock / ai.tock.bot.api.client / ClientStoryDefinition

# ClientStoryDefinition

`class ClientStoryDefinition : IntentAware` (source)

### Constructors

#### <init> | `ClientStoryDefinition(mainIntent: IntentAware, otherStarterIntents: Set<IntentAware> = emptySet(), secondaryIntents: Set<IntentAware> = emptySet(), steps: List<ClientStep> = emptyList(), storyId: String = mainIntent.wrappedIntent().name, handler: ClientStoryHandler)`

### Properties

#### handler | `val handler: ClientStoryHandler`
#### mainIntent | `val mainIntent: IntentAware`
#### otherStarterIntents | `val otherStarterIntents: Set<IntentAware>`
#### secondaryIntents | `val secondaryIntents: Set<IntentAware>`
#### steps | `val steps: List<ClientStep>`
#### storyId | `val storyId: String`

### Functions

#### isStarterIntent | `fun isStarterIntent(intent: Intent): Boolean`
#### wrappedIntent | `fun wrappedIntent(): Intent`