JevOption

interface JevOption(source)

Optional metadata for enum constants used as Choice options. By default an option's key is the constant's name and it is sent undescribed.

Properties

Link copied to clipboard
open val description: String?

Plain-text description of the option.

Link copied to clipboard
open val entry: JsonElement

The description as sent; override for structured JSON such as rubric.

Link copied to clipboard
open val optionKey: String?

The option key as sent (and matched in the answer), if not the constant's name.