BijectionSchema

smithy4s.schema.Schema$.BijectionSchema
final case class BijectionSchema[A, B](underlying: Schema[A], bijection: Bijection[A, B]) extends Schema[B]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Schema[B]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Inherited methods

final def addHints(hints: Hints): Schema[A]

Attributes

Inherited from:
Schema
final def addHints(hints: Hint*): Schema[A]

Attributes

Inherited from:
Schema
final def compile[F[_]](fk: PolyFunction[Schema, F]): F[A]

Attributes

Inherited from:
Schema
final def oneOf[Union]: PartiallyAppliedOneOf[Union, A]

Attributes

Inherited from:
Schema
final def optional[Struct]: PartiallyAppliedOptional[Struct, A]

Attributes

Inherited from:
Schema

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def refined[B]: PartiallyAppliedRefinement[A, B]

Attributes

Inherited from:
Schema
final def required[Struct]: PartiallyAppliedRequired[Struct, A]

Attributes

Inherited from:
Schema

Attributes

Inherited from:
Schema

Attributes

Inherited from:
Schema
final def validated[C](c: C)(implicit constraint: Simple[C, B]): Schema[A]

Attributes

Inherited from:
Schema
final def withId(namespace: String, name: String): Schema[A]

Attributes

Inherited from:
Schema
final def withId(newId: ShapeId): Schema[A]

Attributes

Inherited from:
Schema