InputsFormat

@JsonClass(generateAdapter = true)
class InputsFormat(val formTitle: TitleItem.DefaultTitleItem, val message: TitleItem.DefaultTitleItem, val sections: List<InputSection>, val images: List<String>? = emptyList()) : FormFormat

Represents a form.

Parameters

formTitle

The title of the form.

message

A message which optionally accompanies a form.

sections

The sections which individually represent a single input for each form field.

Constructors

Link copied to clipboard
constructor(formTitle: TitleItem.DefaultTitleItem, message: TitleItem.DefaultTitleItem, sections: List<InputSection>, images: List<String>? = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val images: List<String>?
Link copied to clipboard
Link copied to clipboard

Functions

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