Enum

final class Enum extends Schema with Serializable
Companion:
object
trait Serializable
trait Schema
class Object
trait Matchable
class Any

Value members

Concrete methods

override def equals(other: Any): Boolean
Definition Classes
Any
override def hashCode(): Int
Definition Classes
Any
override def toString: String
Definition Classes
Any
def withDefault(default: Option[Value]): Enum
def withDescription(description: Option[String]): Enum
def withElementType(elementType: Schema): Enum
def withExample(example: Option[Value]): Enum
def withTitle(title: Option[String]): Enum
def withValues(values: List[Value]): Enum

Inherited methods

def withDefinedDefault(default: Option[Value]): Schema
Returns:

The same schema with its default overridden by the given default, or stay unchanged if this one is empty.

Inherited from:
Schema
Returns:

The same schema with its description overridden by the given description, or stay unchanged if this one is empty.

Inherited from:
Schema

Concrete fields

val default: Option[Value]
val example: Option[Value]
val values: List[Value]