EnumConstraint

class EnumConstraintEnum<*>> : Constraint

Represents possible values a field can take.

Summary

Public constructors

Enum<*>> EnumConstraint(allowedSet: Set)

Create an EnumConstraint instance.

Public properties

Set

The allowed values.

Public constructors

EnumConstraint

Enum<*>> EnumConstraint(allowedSet: Set)

Create an EnumConstraint instance.

Public properties

allowedSet

val allowedSetSet

The allowed values.