EnumerationSchema

final case class EnumerationSchema[E](shapeId: ShapeId, hints: Hints, values: List[EnumValue[E]], total: E => EnumValue[E]) extends Schema[E]
trait Serializable
trait Product
trait Equals
trait Schema[E]
class Object
trait Matchable
class Any

Value members

Inherited methods

def addHints(hints: Hints): Schema[E]
Inherited from:
Schema
def addHints(hints: Hint*): Schema[E]
Inherited from:
Schema
def compile[F[_]](schematic: Schematic[F]): F[E]
Inherited from:
Schema
def compile[F[_]](fk: PolyFunction[Schema, F]): F[E]
Inherited from:
Schema
def oneOf[Union]: PartiallyAppliedOneOf[Union, E]
Inherited from:
Schema
def optional[Struct]: PartiallyAppliedOptional[Struct, E]
Inherited from:
Schema
Inherited from:
Product
def required[Struct]: PartiallyAppliedRequired[Struct, E]
Inherited from:
Schema
Inherited from:
Schema
Inherited from:
Schema
def validated[C](implicit constraint: Simple[C, E]): Schema[E]
Inherited from:
Schema
def withId(newId: ShapeId): Schema[E]
Inherited from:
Schema