CaseClass21

zio.schema.Schema.CaseClass21
See theCaseClass21 companion object
sealed trait CaseClass21[A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, Z]() extends Record[Z]

Attributes

Companion
object
Source
Schema.scala
Graph
Supertypes
trait Record[Z]
trait Schema[Z]
class Object
trait Matchable
class Any
Self type
CaseClass21[A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, Z]

Members list

Type members

Types

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])

Attributes

Source
Schema.scala
type Field1 <: Singleton & String

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala
type Field2 <: Singleton & String

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala

Attributes

Source
Schema.scala
type Field3 <: Singleton & String

Attributes

Source
Schema.scala
type Field4 <: Singleton & String

Attributes

Source
Schema.scala
type Field5 <: Singleton & String

Attributes

Source
Schema.scala
type Field6 <: Singleton & String

Attributes

Source
Schema.scala
type Field7 <: Singleton & String

Attributes

Source
Schema.scala
type Field8 <: Singleton & String

Attributes

Source
Schema.scala
type Field9 <: Singleton & String

Attributes

Source
Schema.scala
override type Terms = (Field1, A1) & (Field2, A2) & (Field3, A3) & (Field4, A4) & (Field5, A5) & (Field6, A6) & (Field7, A7) & (Field8, A8) & (Field9, A9) & (Field10, A10) & (Field11, A11) & (Field12, A12) & (Field13, A13) & (Field14, A14) & (Field15, A15) & (Field16, A16) & (Field17, A17) & (Field18, A18) & (Field19, A19) & (Field20, A20) & (Field21, A21)

Attributes

Source
Schema.scala

Value members

Abstract methods

def annotations: Chunk[Any]

Chunk of annotations for this schema

Chunk of annotations for this schema

Attributes

Source
Schema.scala
def construct: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21) => Z

Attributes

Source
Schema.scala
def field1: WithFieldName[Z, Field1, A1]

Attributes

Source
Schema.scala
def field10: WithFieldName[Z, Field10, A10]

Attributes

Source
Schema.scala
def field11: WithFieldName[Z, Field11, A11]

Attributes

Source
Schema.scala
def field12: WithFieldName[Z, Field12, A12]

Attributes

Source
Schema.scala
def field13: WithFieldName[Z, Field13, A13]

Attributes

Source
Schema.scala
def field14: WithFieldName[Z, Field14, A14]

Attributes

Source
Schema.scala
def field15: WithFieldName[Z, Field15, A15]

Attributes

Source
Schema.scala
def field16: WithFieldName[Z, Field16, A16]

Attributes

Source
Schema.scala
def field17: WithFieldName[Z, Field17, A17]

Attributes

Source
Schema.scala
def field18: WithFieldName[Z, Field18, A18]

Attributes

Source
Schema.scala
def field19: WithFieldName[Z, Field19, A19]

Attributes

Source
Schema.scala
def field2: WithFieldName[Z, Field2, A2]

Attributes

Source
Schema.scala
def field20: WithFieldName[Z, Field20, A20]

Attributes

Source
Schema.scala
def field21: WithFieldName[Z, Field21, A21]

Attributes

Source
Schema.scala
def field3: WithFieldName[Z, Field3, A3]

Attributes

Source
Schema.scala
def field4: WithFieldName[Z, Field4, A4]

Attributes

Source
Schema.scala
def field5: WithFieldName[Z, Field5, A5]

Attributes

Source
Schema.scala
def field6: WithFieldName[Z, Field6, A6]

Attributes

Source
Schema.scala
def field7: WithFieldName[Z, Field7, A7]

Attributes

Source
Schema.scala
def field8: WithFieldName[Z, Field8, A8]

Attributes

Source
Schema.scala
def field9: WithFieldName[Z, Field9, A9]

Attributes

Source
Schema.scala
def id: TypeId

Attributes

Source
Schema.scala

Concrete methods

override def construct(values: Chunk[Any])(implicit unsafe: Unsafe): Either[String, Z]

Attributes

Definition Classes
Source
Schema.scala
override def deconstruct(value: Z)(implicit unsafe: Unsafe): Chunk[Option[Any]]

Attributes

Definition Classes
Source
Schema.scala
override def makeAccessors(b: AccessorBuilder): (b.Lens[Field1, Z, A1], b.Lens[Field2, Z, A2], b.Lens[Field3, Z, A3], b.Lens[Field4, Z, A4], b.Lens[Field5, Z, A5], b.Lens[Field6, Z, A6], b.Lens[Field7, Z, A7], b.Lens[Field8, Z, A8], b.Lens[Field9, Z, A9], b.Lens[Field10, Z, A10], b.Lens[Field11, Z, A11], b.Lens[Field12, Z, A12], b.Lens[Field13, Z, A13], b.Lens[Field14, Z, A14], b.Lens[Field15, Z, A15], b.Lens[Field16, Z, A16], b.Lens[Field17, Z, A17], b.Lens[Field18, Z, A18], b.Lens[Field19, Z, A19], b.Lens[Field20, Z, A20], b.Lens[Field21, Z, A21])

Attributes

Definition Classes
Source
Schema.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Schema.scala

Inherited methods

def <*>[B](that: Schema[B]): Schema[(Z, B)]

A symbolic operator for zip.

A symbolic operator for zip.

Attributes

Inherited from:
Schema
Source
Schema.scala
def <+>[B](that: Schema[B]): Schema[Either[Z, B]]

A symbolic operator for orElseEither.

A symbolic operator for orElseEither.

Attributes

Inherited from:
Schema
Source
Schema.scala
def ?: Schema[Option[Z]]

A symbolic operator for optional.

A symbolic operator for optional.

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala
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,_]

Attributes

Inherited from:
Schema
Source
Schema.scala
def default(value: Z): Schema[Z]

Add a default value to this schema.

Add a default value to this schema.

Attributes

Inherited from:
Schema
Source
Schema.scala

The default value for a Schema of type A.

The default value for a Schema of type A.

Attributes

Inherited from:
Record
Source
Schema.scala
def diff(thisValue: Z, thatValue: Z): Patch[Z]

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

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

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala
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

Attributes

Inherited from:
Schema
Source
Schema.scala

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.

Attributes

Inherited from:
Schema
Source
Schema.scala
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.

Attributes

Inherited from:
Schema
Source
Schema.scala
def ordering: Ordering[Z]

Attributes

Inherited from:
Schema
Source
Schema.scala
def patch(oldValue: Z, diff: Patch[Z]): Either[String, Z]

Patch value with a Patch.

Patch value with a Patch.

Attributes

Inherited from:
Schema
Source
Schema.scala
def repeated: Schema[Chunk[Z]]

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala
def toDynamic(value: Z): DynamicValue

Attributes

Inherited from:
Schema
Source
Schema.scala
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.

Attributes

Inherited from:
Schema
Source
Schema.scala
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).

Attributes

Inherited from:
Schema
Source
Schema.scala
def validate(value: Z)(implicit schema: Schema[Z]): Chunk[ValidationError]

Attributes

Inherited from:
Schema
Source
Schema.scala
def validation(validation: Validation[Z]): Schema[Z]

Attributes

Inherited from:
Schema
Source
Schema.scala
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.

Attributes

Inherited from:
Schema
Source
Schema.scala

Inherited and Abstract methods

def annotate(annotation: Any): Schema[Z]

Returns a new schema that with annotation

Returns a new schema that with annotation

Attributes

Inherited from:
Schema
Source
Schema.scala

Concrete fields

override val fields: Chunk[Field[Z, _]]

Attributes

Source
Schema.scala

Inherited fields

lazy val nonTransientFields: Chunk[Field[Z, _]]

Attributes

Inherited from:
Record
Source
Schema.scala

Attributes

Inherited from:
Record
Source
Schema.scala