data class Snapshot
(source)
A "snapshot" is a readonly view of the state in the dialog, usually after a bot reply.
<init> |
Snapshot(dialog: Dialog)
A "snapshot" is a readonly view of the state in the dialog, usually after a bot reply. Snapshot(storyDefinitionId: String?, intentName: String?, step: String?, entityValues: List<EntityValue>, storyType: AnswerConfigurationType?, storyName: String? = storyDefinitionId, date: Instant = now()) |
date |
val date: Instant |
entityValues |
val entityValues: List<EntityValue> |
intentName |
val intentName: String? |
step |
val step: String? |
storyDefinitionId |
val storyDefinitionId: String? |
storyName |
val storyName: String? |
storyType |
val storyType: AnswerConfigurationType? |
getValue |
Returns the value if it exists. fun getValue(entity: Entity): EntityValue? |
hasValue |
Does this value exist in the snapshot? fun hasValue(entity: Entity): Boolean |