ElicitationResult

data class ElicitationResult(val action: ElicitationResult.Action, val content: Map<String, Any?> = emptyMap())

The answer to an elicit request.

Constructors

Link copied to clipboard
constructor(action: ElicitationResult.Action, content: Map<String, Any?> = emptyMap())

Types

Link copied to clipboard

Properties

Link copied to clipboard

What the user did: Action.ACCEPT (submitted the form), Action.DECLINE (explicitly said no) or Action.CANCEL (dismissed it).

Link copied to clipboard

The submitted values, keyed by the requested schema's property names. Empty unless action is Action.ACCEPT.