EnumMember
zio.blocks.smithy.EnumMember
final case class EnumMember(name: String, value: Option[String] = ..., traits: List[TraitApplication] = ...)
Defines a member of a string enum shape.
Value parameters
- name
-
the enum member name
- traits
-
the traits applied to this enum member
- value
-
the optional string value (defaults to the member name if absent)
Attributes
- Source
- Shape.scala
- Graph
-
- Supertypes
Members list
In this article