sealed trait CaseClass22[A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, Z] extends Record[Z]
- Self Type
- CaseClass22[A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, Z]
- Alphabetic
- By Inheritance
- CaseClass22
- Record
- Schema
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Accessors[Lens[_, _, _], Prism[_, _, _], Traversal[_, _]] = (Lens[Field1, Z, A1], Lens[Field2, Z, A2], Lens[Field3, Z, A3], Lens[Field4, Z, A4], Lens[Field5, Z, A5], Lens[Field6, Z, A6], Lens[Field7, Z, A7], Lens[Field8, Z, A8], Lens[Field9, Z, A9], Lens[Field10, Z, A10], Lens[Field11, Z, A11], Lens[Field12, Z, A12], Lens[Field13, Z, A13], Lens[Field14, Z, A14], Lens[Field15, Z, A15], Lens[Field16, Z, A16], Lens[Field17, Z, A17], Lens[Field18, Z, A18], Lens[Field19, Z, A19], Lens[Field20, Z, A20], Lens[Field21, Z, A21], Lens[Field22, Z, A22])
- Definition Classes
- CaseClass22 → Schema
- abstract type Field1 <: Singleton with String
- abstract type Field10 <: Singleton with String
- abstract type Field11 <: Singleton with String
- abstract type Field12 <: Singleton with String
- abstract type Field13 <: Singleton with String
- abstract type Field14 <: Singleton with String
- abstract type Field15 <: Singleton with String
- abstract type Field16 <: Singleton with String
- abstract type Field17 <: Singleton with String
- abstract type Field18 <: Singleton with String
- abstract type Field19 <: Singleton with String
- abstract type Field2 <: Singleton with String
- abstract type Field20 <: Singleton with String
- abstract type Field21 <: Singleton with String
- abstract type Field22 <: Singleton with String
- abstract type Field3 <: Singleton with String
- abstract type Field4 <: Singleton with String
- abstract type Field5 <: Singleton with String
- abstract type Field6 <: Singleton with String
- abstract type Field7 <: Singleton with String
- abstract type Field8 <: Singleton with String
- abstract type Field9 <: Singleton with String
- type FieldNames = Field1 with Field2 with Field3 with Field4 with Field5 with Field6 with Field7 with Field8 with Field9 with Field10 with Field11 with Field12 with Field13 with Field14 with Field15 with Field16 with Field17 with Field18 with Field19 with Field20 with Field21 with Field22
- Definition Classes
- CaseClass22 → Record
- type Terms = (Field1, A1) with (Field2, A2) with (Field3, A3) with (Field4, A4) with (Field5, A5) with (Field6, A6) with (Field7, A7) with (Field8, A8) with (Field10, A10) with (Field11, A11) with (Field12, A12) with (Field13, A13) with (Field14, A14) with (Field15, A15) with (Field16, A16) with (Field17, A17) with (Field18, A18) with (Field19, A19) with (Field20, A20) with (Field21, A21) with (Field22, A22)
- Definition Classes
- CaseClass22 → Record
Abstract Value Members
- abstract def annotate(annotation: Any): Schema[Z]
Returns a new schema that with
annotation
Returns a new schema that with
annotation
- Definition Classes
- Schema
- abstract def annotations: Chunk[Any]
Chunk of annotations for this schema
Chunk of annotations for this schema
- Definition Classes
- CaseClass22 → Schema
- abstract def construct: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22) => Z
- abstract def field1: WithFieldName[Z, Field1, A1]
- abstract def field10: WithFieldName[Z, Field10, A10]
- abstract def field11: WithFieldName[Z, Field11, A11]
- abstract def field12: WithFieldName[Z, Field12, A12]
- abstract def field13: WithFieldName[Z, Field13, A13]
- abstract def field14: WithFieldName[Z, Field14, A14]
- abstract def field15: WithFieldName[Z, Field15, A15]
- abstract def field16: WithFieldName[Z, Field16, A16]
- abstract def field17: WithFieldName[Z, Field17, A17]
- abstract def field18: WithFieldName[Z, Field18, A18]
- abstract def field19: WithFieldName[Z, Field19, A19]
- abstract def field2: WithFieldName[Z, Field2, A2]
- abstract def field20: WithFieldName[Z, Field20, A20]
- abstract def field21: WithFieldName[Z, Field21, A21]
- abstract def field22: WithFieldName[Z, Field22, A22]
- abstract def field3: WithFieldName[Z, Field3, A3]
- abstract def field4: WithFieldName[Z, Field4, A4]
- abstract def field5: WithFieldName[Z, Field5, A5]
- abstract def field6: WithFieldName[Z, Field6, A6]
- abstract def field7: WithFieldName[Z, Field7, A7]
- abstract def field8: WithFieldName[Z, Field8, A8]
- abstract def field9: WithFieldName[Z, Field9, A9]
- abstract def id: TypeId
- Definition Classes
- CaseClass22 → Record
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def <*>[B](that: Schema[B]): Schema[(Z, B)]
A symbolic operator for zip.
- def <+>[B](that: Schema[B]): Schema[scala.util.Either[Z, B]]
A symbolic operator for orElseEither.
A symbolic operator for orElseEither.
- Definition Classes
- Schema
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ?: Schema[Option[Z]]
A symbolic operator for optional.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ast: MetaSchema
- Definition Classes
- Schema
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- def construct(values: Chunk[Any])(implicit unsafe: Unsafe): scala.util.Either[String, Z]
- Definition Classes
- CaseClass22 → Record
- def deconstruct(value: Z)(implicit unsafe: Unsafe): Chunk[Any]
- Definition Classes
- CaseClass22 → Record
- def defaultValue: scala.util.Either[String, Z]
The default value for a
Schema
of typeA
. - 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fields: Chunk[Field[Z, _]]
- Definition Classes
- CaseClass22 → Record
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromDynamic(value: DynamicValue): scala.util.Either[String, Z]
- Definition Classes
- Schema
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeAccessors(b: AccessorBuilder): (Lens[Field1, Z, A1], Lens[Field2, Z, A2], Lens[Field3, Z, A3], Lens[Field4, Z, A4], Lens[Field5, Z, A5], Lens[Field6, Z, A6], Lens[Field7, Z, A7], Lens[Field8, Z, A8], Lens[Field9, Z, A9], Lens[Field10, Z, A10], Lens[Field11, Z, A11], Lens[Field12, Z, A12], Lens[Field13, Z, A13], Lens[Field14, Z, A14], Lens[Field15, Z, A15], Lens[Field16, Z, A16], Lens[Field17, Z, A17], Lens[Field18, Z, A18], Lens[Field19, Z, A19], Lens[Field20, Z, A20], Lens[Field21, Z, A21], Lens[Field22, Z, A22])
- Definition Classes
- CaseClass22 → Schema
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- 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
- def ordering: Ordering[Z]
- Definition Classes
- Schema
- 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
- def repeated: Schema[Chunk[Z]]
- Definition Classes
- Schema
- def serializable: Schema[Schema[Z]]
- Definition Classes
- Schema
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toDynamic(value: Z): DynamicValue
- Definition Classes
- Schema
- def toString(): String
- Definition Classes
- CaseClass22 → AnyRef → Any
- def transform[B](f: (Z) => B, g: (B) => Z)(implicit loc: SourceLocation): Schema[B]
Transforms this
Schema[A]
into aSchema[B]
, by supplying two functions that can transform betweenA
andB
, without possibility of failure.Transforms this
Schema[A]
into aSchema[B]
, by supplying two functions that can transform betweenA
andB
, without possibility of failure.- Definition Classes
- Schema
- 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 aSchema[B]
, by supplying two functions that can transform betweenA
andB
(possibly failing in some cases).Transforms this
Schema[A]
into aSchema[B]
, by supplying two functions that can transform betweenA
andB
(possibly failing in some cases).- Definition Classes
- Schema
- def validate(value: Z)(implicit schema: Schema[Z]): Chunk[ValidationError]
- Definition Classes
- Schema
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- 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