FormTicket

data class FormTicket(val formName: String, val formNameI18n: String, val formAttribute: String, val formInputType: String, val values: List<SelectValue>? = null, val value: String? = null, val mandatory: Boolean) : Parcelable

Constructors

Link copied to clipboard
constructor(formName: String, formNameI18n: String, formAttribute: String, formInputType: String, values: List<SelectValue>? = null, value: String? = null, mandatory: Boolean)

Properties

Link copied to clipboard

the type of the field

Link copied to clipboard

the type of the input (text, select, image, sound)

Link copied to clipboard

the name of the field

Link copied to clipboard

is the key to search for the translation in the i18n file

Link copied to clipboard

indicate if the field is mandatory

Link copied to clipboard
val value: String? = null

the value required when save the ticket

Link copied to clipboard
val values: List<SelectValue>? = null

the values for the select input. Are optional and are sent by te server. When save a ticket is required sent only the SelectValue with selected to true

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)