c

zio.schema.Schema

CaseClass8

sealed case class CaseClass8[A1, A2, A3, A4, A5, A6, A7, A8, Z](id: TypeId, field1: Field[A1], field2: Field[A2], field3: Field[A3], field4: Field[A4], field5: Field[A5], field6: Field[A6], field7: Field[A7], field8: Field[A8], construct: (A1, A2, A3, A4, A5, A6, A7, A8) ⇒ Z, extractField1: (Z) ⇒ A1, extractField2: (Z) ⇒ A2, extractField3: (Z) ⇒ A3, extractField4: (Z) ⇒ A4, extractField5: (Z) ⇒ A5, extractField6: (Z) ⇒ A6, extractField7: (Z) ⇒ A7, extractField8: (Z) ⇒ A8, annotations: Chunk[Any] = Chunk.empty) extends Record[Z] with Product with Serializable

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

Instance Constructors

  1. new CaseClass8(id: TypeId, field1: Field[A1], field2: Field[A2], field3: Field[A3], field4: Field[A4], field5: Field[A5], field6: Field[A6], field7: Field[A7], field8: Field[A8], construct: (A1, A2, A3, A4, A5, A6, A7, A8) ⇒ Z, extractField1: (Z) ⇒ A1, extractField2: (Z) ⇒ A2, extractField3: (Z) ⇒ A3, extractField4: (Z) ⇒ A4, extractField5: (Z) ⇒ A5, extractField6: (Z) ⇒ A6, extractField7: (Z) ⇒ A7, extractField8: (Z) ⇒ A8, annotations: Chunk[Any] = Chunk.empty)

Type Members

  1. type Accessors[Lens[_, _, _], Prism[_, _, _], Traversal[_, _]] = (Lens[label.type, Z, A1], Lens[label.type, Z, A2], Lens[label.type, Z, A3], Lens[label.type, Z, A4], Lens[label.type, Z, A5], Lens[label.type, Z, A6], Lens[label.type, Z, A7], Lens[label.type, Z, A8])
    Definition Classes
    CaseClass8Schema

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[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): CaseClass8[A1, A2, A3, A4, A5, A6, A7, A8, Z]

    Returns a new schema that with annotation

    Returns a new schema that with annotation

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

    Chunk of annotations for this schema

    Chunk of annotations for this schema

    Definition Classes
    CaseClass8Schema
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def ast: SchemaAst
    Definition Classes
    Schema
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def coerce[B](newSchema: Schema[B]): 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
  13. val construct: (A1, A2, A3, A4, A5, A6, A7, A8) ⇒ Z
  14. def defaultValue: Either[String, Z]

    The default value for a Schema of type A.

    The default value for a Schema of type A.

    Definition Classes
    RecordSchema
  15. def diff(thisValue: Z, thatValue: Z, differ: Option[Differ[Z]] = None): Diff[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.

    A custom zio.schema.Differ can be supplied if the default behavior is not acceptable.

    Definition Classes
    Schema
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. val extractField1: (Z) ⇒ A1
  18. val extractField2: (Z) ⇒ A2
  19. val extractField3: (Z) ⇒ A3
  20. val extractField4: (Z) ⇒ A4
  21. val extractField5: (Z) ⇒ A5
  22. val extractField6: (Z) ⇒ A6
  23. val extractField7: (Z) ⇒ A7
  24. val extractField8: (Z) ⇒ A8
  25. val field1: Field[A1]
  26. val field2: Field[A2]
  27. val field3: Field[A3]
  28. val field4: Field[A4]
  29. val field5: Field[A5]
  30. val field6: Field[A6]
  31. val field7: Field[A7]
  32. val field8: Field[A8]
  33. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. def fromDynamic(value: DynamicValue): Either[String, Z]
    Definition Classes
    Schema
  35. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. val id: TypeId
    Definition Classes
    CaseClass8Record
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def makeAccessors(b: AccessorBuilder): (Lens[label.type, Z, A1], Lens[label.type, Z, A2], Lens[label.type, Z, A3], Lens[label.type, Z, A4], Lens[label.type, Z, A5], Lens[label.type, Z, A6], Lens[label.type, Z, A7], Lens[label.type, Z, A8])
    Definition Classes
    CaseClass8Schema
  39. def migrate[B](newSchema: Schema[B]): Either[String, (Z) ⇒ 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
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. 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
  44. def orElseEither[B](that: Schema[B]): Schema[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
  45. def ordering: Ordering[Z]
    Definition Classes
    Schema
  46. def patch(oldValue: Z, diff: Diff[Z]): Either[String, Z]

    Patch value with a Diff.

    Patch value with a Diff.

    Definition Classes
    Schema
  47. def rawConstruct(values: Chunk[Any]): Either[String, Z]
    Definition Classes
    CaseClass8Record
  48. def repeated: Schema[Chunk[Z]]
    Definition Classes
    Schema
  49. def serializable: Schema[Schema[Z]]
    Definition Classes
    Schema
  50. def structure: Chunk[Field[_]]
    Definition Classes
    CaseClass8Record
  51. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  52. def toDynamic(value: Z): DynamicValue
    Definition Classes
    Schema
  53. def toSemiDynamic: Schema[(Z, Schema[Z])]
    Definition Classes
    Schema
  54. def toString(): String
    Definition Classes
    CaseClass8 → AnyRef → Any
  55. 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
  56. def transformOrFail[B](f: (Z) ⇒ Either[String, B], g: (B) ⇒ 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
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  60. 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 Record[Z]

Inherited from Schema[Z]

Inherited from AnyRef

Inherited from Any

Ungrouped