Packages

final case class enum[T](tpe: Schema[_], values: Set[Value]) extends Schema[T] with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Schema[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. enum
  2. Serializable
  3. Product
  4. Equals
  5. Schema
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new enum(tpe: Schema[_], values: Set[Value])

Type Members

  1. type Self = enum[T]
    Definition Classes
    enumSchema

Value Members

  1. object ToString
    Attributes
    protected
    Definition Classes
    Schema
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from enum[T] toany2stringadd[enum[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (enum[T], B)
    Implicit
    This member is added by an implicit conversion from enum[T] toArrowAssoc[enum[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def canEqual(that: Any): Boolean
    Definition Classes
    enum → Equals → Schema
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def description: Option[String]
    Definition Classes
    Schema
  11. def discriminationKey: Option[String]
    Definition Classes
    Schema
  12. def duplicate(description: Option[String] = this._description, title: Option[String] = this._title, discriminationKey: Option[String] = this._discriminationKey): Self
    Definition Classes
    Schema
  13. def ensuring(cond: (enum[T]) => Boolean, msg: => Any): enum[T]
    Implicit
    This member is added by an implicit conversion from enum[T] toEnsuring[enum[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (enum[T]) => Boolean): enum[T]
    Implicit
    This member is added by an implicit conversion from enum[T] toEnsuring[enum[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): enum[T]
    Implicit
    This member is added by an implicit conversion from enum[T] toEnsuring[enum[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): enum[T]
    Implicit
    This member is added by an implicit conversion from enum[T] toEnsuring[enum[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(obj: Any): Boolean
    Definition Classes
    enum → Equals → Schema → AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def jsonType: String
    Definition Classes
    enumSchema
  23. def mkCopy(): enum[T]
    Definition Classes
    enumSchema
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def title: Option[String]
    Definition Classes
    Schema
  30. def toDefinition[TT >: T](sig: String): def[TT]
    Definition Classes
    Schema
  31. def toString(): String
    Definition Classes
    enum → AnyRef → Any
  32. val tpe: Schema[_]
  33. def validations: Seq[Def[_, _]]
    Definition Classes
    Schema
  34. val values: Set[Value]
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. def withDescription(x: String): Self
    Definition Classes
    Schema
  39. def withDiscriminationKey(x: String): Self
    Definition Classes
    Schema
  40. def withExtraFrom(x: Schema[_]): Self
    Definition Classes
    Schema
  41. def withTitle(x: String): Self
    Definition Classes
    Schema
  42. def withValidation[TT >: T, B](v: Def[B, _], vs: Def[B, _]*)(implicit bound: Magnet[TT, B]): Self
    Definition Classes
    Schema
  43. def withValidationsAddedFrom(x: Schema[_]): Self
    Definition Classes
    Schema

Deprecated Value Members

  1. def apply(refName: String): Schema[T]
    Definition Classes
    Schema
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) please use toDefinition instead

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from enum[T] toStringFormat[enum[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (enum[T], B)
    Implicit
    This member is added by an implicit conversion from enum[T] toArrowAssoc[enum[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Schema[T]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromenum[T] to any2stringadd[enum[T]]

Inherited by implicit conversion StringFormat fromenum[T] to StringFormat[enum[T]]

Inherited by implicit conversion Ensuring fromenum[T] to Ensuring[enum[T]]

Inherited by implicit conversion ArrowAssoc fromenum[T] to ArrowAssoc[enum[T]]

Ungrouped