sealed case class Enum6[A1, A2, A3, A4, A5, A6, Z](id: TypeId, case1: Case[Z, A1], case2: Case[Z, A2], case3: Case[Z, A3], case4: Case[Z, A4], case5: Case[Z, A5], case6: Case[Z, A6], annotations: Chunk[Any] = Chunk.empty) extends Enum[Z] with Product with Serializable

Self Type
Enum6[A1, A2, A3, A4, A5, A6, Z]
Linear Supertypes
Serializable, Serializable, Product, Equals, Enum[Z], Schema[Z], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Enum6
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Enum
  7. Schema
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Enum6(id: TypeId, case1: Case[Z, A1], case2: Case[Z, A2], case3: Case[Z, A3], case4: Case[Z, A4], case5: Case[Z, A5], case6: Case[Z, A6], annotations: Chunk[Any] = Chunk.empty)

Type Members

  1. type Accessors[Lens[_, _, _], Prism[_, _, _], Traversal[_, _]] = (Prism[Case.id.type, Z, A1], Prism[Case.id.type, Z, A2], Prism[Case.id.type, Z, A3], Prism[Case.id.type, Z, A4], Prism[Case.id.type, Z, A5], Prism[Case.id.type, Z, A6])
    Definition Classes
    Enum6Schema

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <*>[B](that: Schema[B]): Schema[(Z, B)]

    A symbolic operator for zip.

    A symbolic operator for zip.

    Definition Classes
    Schema
  4. def <+>[B](that: Schema[B]): Schema[scala.util.Either[Z, B]]

    A symbolic operator for orElseEither.

    A symbolic operator for orElseEither.

    Definition Classes
    Schema
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def ?: Schema[Option[Z]]

    A symbolic operator for optional.

    A symbolic operator for optional.

    Definition Classes
    Schema
  7. def annotate(annotation: Any): Enum6[A1, A2, A3, A4, A5, A6, Z]

    Returns a new schema that with annotation

    Returns a new schema that with annotation

    Definition Classes
    Enum6Schema
  8. val annotations: Chunk[Any]

    Chunk of annotations for this schema

    Chunk of annotations for this schema

    Definition Classes
    Enum6Schema
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def ast: MetaSchema
    Definition Classes
    Schema
  11. val case1: Case[Z, A1]
  12. val case2: Case[Z, A2]
  13. val case3: Case[Z, A3]
  14. val case4: Case[Z, A4]
  15. val case5: Case[Z, A5]
  16. val case6: Case[Z, A6]
  17. def caseOf(z: Z): Option[Case[Z, _]]
    Definition Classes
    Enum
  18. def caseOf(id: String): Option[Case[Z, _]]
    Definition Classes
    Enum
  19. def cases: Chunk[Case[Z, _]]
    Definition Classes
    Enum6Enum
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. def coerce[B](newSchema: Schema[B]): scala.Either[String, Schema[B]]

    Convert to Schema[B] iff B and A are homomorphic.

    Convert to Schema[B] iff B and A are homomorphic.

    This can be used to e.g convert between a case class and it's "generic" representation as a ListMap[String,_]

    Definition Classes
    Schema
  22. def defaultValue: scala.util.Either[String, Z]

    The default value for a Schema of type A.

    The default value for a Schema of type A.

    Definition Classes
    Enum6Schema
  23. def diff(thisValue: Z, thatValue: Z): Patch[Z]

    Performs a diff between thisValue and thatValue.

    Performs a diff between thisValue and thatValue. See zio.schema.Differ for details on the default diff algorithms.

    Definition Classes
    Schema
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def fromDynamic(value: DynamicValue): scala.util.Either[String, Z]
    Definition Classes
    Schema
  27. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. val id: TypeId
    Definition Classes
    Enum6Enum
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def makeAccessors(b: AccessorBuilder): (Prism[Case.id.type, Z, A1], Prism[Case.id.type, Z, A2], Prism[Case.id.type, Z, A3], Prism[Case.id.type, Z, A4], Prism[Case.id.type, Z, A5], Prism[Case.id.type, Z, A6])
    Definition Classes
    Enum6Schema
  31. def migrate[B](newSchema: Schema[B]): scala.Either[String, (Z) ⇒ scala.util.Either[String, B]]

    Generate a homomorphism from A to B iff A and B are homomorphic

    Generate a homomorphism from A to B iff A and B are homomorphic

    Definition Classes
    Schema
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def optional: Schema[Option[Z]]

    Returns a new schema that modifies the type produced by this schema to be optional.

    Returns a new schema that modifies the type produced by this schema to be optional.

    Definition Classes
    Schema
  36. def orElseEither[B](that: Schema[B]): Schema[scala.util.Either[Z, B]]

    Returns a new schema that combines this schema and the specified schema together, modeling their either composition.

    Returns a new schema that combines this schema and the specified schema together, modeling their either composition.

    Definition Classes
    Schema
  37. def ordering: Ordering[Z]
    Definition Classes
    Schema
  38. def patch(oldValue: Z, diff: Patch[Z]): scala.util.Either[String, Z]

    Patch value with a Patch.

    Patch value with a Patch.

    Definition Classes
    Schema
  39. def repeated: Schema[Chunk[Z]]
    Definition Classes
    Schema
  40. def serializable: Schema[Schema[Z]]
    Definition Classes
    Schema
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. def toDynamic(value: Z): DynamicValue
    Definition Classes
    Schema
  43. def transform[B](f: (Z) ⇒ B, g: (B) ⇒ Z)(implicit loc: SourceLocation): Schema[B]

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B, without possibility of failure.

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B, without possibility of failure.

    Definition Classes
    Schema
  44. def transformOrFail[B](f: (Z) ⇒ scala.util.Either[String, B], g: (B) ⇒ scala.util.Either[String, Z])(implicit loc: SourceLocation): Schema[B]

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B (possibly failing in some cases).

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B (possibly failing in some cases).

    Definition Classes
    Schema
  45. def validate(value: Z)(implicit schema: Schema[Z]): Chunk[ValidationError]
    Definition Classes
    Schema
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  49. def zip[B](that: Schema[B]): Schema[(Z, B)]

    Returns a new schema that combines this schema and the specified schema together, modeling their tuple composition.

    Returns a new schema that combines this schema and the specified schema together, modeling their tuple composition.

    Definition Classes
    Schema

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Enum[Z]

Inherited from Schema[Z]

Inherited from AnyRef

Inherited from Any

Ungrouped