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. def canEqual(that: Any): Boolean
    Definition Classes
    enum → Equals → Schema
  2. def description: Option[String]
    Definition Classes
    Schema
  3. def discriminationKey: Option[String]
    Definition Classes
    Schema
  4. def duplicate(description: Option[String] = this._description, title: Option[String] = this._title, discriminationKey: Option[String] = this._discriminationKey): Self
    Definition Classes
    Schema
  5. def equals(obj: Any): Boolean
    Definition Classes
    enum → Equals → Schema → AnyRef → Any
  6. def jsonType: String
    Definition Classes
    enumSchema
  7. def mkCopy(): enum[T]
    Definition Classes
    enumSchema
  8. def productElementNames: Iterator[String]
    Definition Classes
    Product
  9. def title: Option[String]
    Definition Classes
    Schema
  10. def toDefinition[TT >: T](sig: String): def[TT]
    Definition Classes
    Schema
  11. def toString(): String
    Definition Classes
    enum → AnyRef → Any
  12. val tpe: Schema[_]
  13. def validations: Seq[Def[_, _]]
    Definition Classes
    Schema
  14. val values: Set[Value]
  15. def withDescription(x: String): Self
    Definition Classes
    Schema
  16. def withDiscriminationKey(x: String): Self
    Definition Classes
    Schema
  17. def withExtraFrom(x: Schema[_]): Self
    Definition Classes
    Schema
  18. def withTitle(x: String): Self
    Definition Classes
    Schema
  19. def withValidation[TT >: T, B](v: Def[B, _], vs: Def[B, _]*)(implicit bound: Magnet[TT, B]): Self
    Definition Classes
    Schema

Deprecated Value Members

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

    (Since version will be removed in 1.0.0) 0.6.1