FormFormat

sealed interface FormFormat : MessageFormat

Message format that contains choices.

Inheritors

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
class ExperienceTypeFormat(val message: String? = null, val inputs: List<ExperienceTypeValue>, val confirm: ConfirmSection? = null) : FormFormat

Represents aN ExperienceType form.

Link copied to clipboard
@JsonClass(generateAdapter = true)
class InputsFormat(val formTitle: TitleItem.DefaultTitleItem, val message: TitleItem.DefaultTitleItem, val sections: List<InputSection>) : FormFormat

Represents a form.

Properties

Link copied to clipboard
abstract override val formatType: FormFormat.FormFormatType

Functions

Link copied to clipboard
open fun hasValidationErrors(): Boolean
Link copied to clipboard
abstract fun validate(): List<Input.ValidationError?>