Enumeration

smithy4s.Enumeration
See theEnumeration companion object
trait Enumeration[E <: Value] extends Companion[E]

Attributes

Companion
object
Graph
Supertypes
trait Companion[E]
trait Has[E]
trait ShapeTag[E]
trait HasId
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Inherited classlikes

object hint

Attributes

Inherited from:
Companion
Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

def hints: Hints
def id: ShapeId
def values: List[E]

Concrete methods

final def fromOrdinal(s: Int): Option[E]
final def fromString(s: String): Option[E]

Inherited methods

final override def getTag: ShapeTag[E]

Attributes

Definition Classes
Inherited from:
Companion
def schema: Schema[E]

Attributes

Inherited from:
ShapeTag

Concrete fields

lazy val intValueMap: Map[Int, E]
lazy val valueMap: Map[String, E]

Implicits

Inherited implicits

implicit val tagInstance: ShapeTag[E]

Attributes

Inherited from:
Companion