Union

zio.blocks.schema.json.SchemaType.Union
final case class Union(values: NonEmptyChunk[JsonSchemaType]) extends SchemaType

Attributes

Source
JsonSchemaType.scala
Graph
Supertypes
trait SchemaType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def contains(t: JsonSchemaType): Boolean

Attributes

Inherited from:
SchemaType
Source
JsonSchemaType.scala
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala
def toJson: Json

Attributes

Inherited from:
SchemaType
Source
JsonSchemaType.scala