ValidationEnum

Defines enumeration validation for attribute values. Allows specifying a list of permitted values and whether custom values beyond the enumerated list are allowed.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Boolean that defaults to false. When true, only values specified in the enum list are allowed. When false, custom values beyond the enumerated list are permitted.

Link copied to clipboard

A list of predefined values that are allowed for this attribute. These values are always permitted regardless of the Strict setting.

Functions

Link copied to clipboard
inline fun copy(block: ValidationEnum.Builder.() -> Unit = {}): ValidationEnum
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String