ValidatedByAllowedValues

data class ValidatedByAllowedValues(val name: String, val description: String?, val allowedValues: List<String>, val required: Boolean? = null, val defaultValue: String? = null) : StringEventField

Constructors

Link copied to clipboard
constructor(name: String, description: String?, allowedValues: List<String>, required: Boolean? = null, defaultValue: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
open override val defaultValue: String?
Link copied to clipboard
open override val description: String?
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val required: Boolean?
Link copied to clipboard

This is a field that should be hashed twice on send and on receive, e.g projectId.

Link copied to clipboard
open override val validationRule: List<String>

Functions

Link copied to clipboard
open override fun getValue(value: String?): FieldValue?