ApplyStatement

zio.blocks.smithy.ApplyStatement
final case class ApplyStatement(target: String, traits: List[TraitApplication])

Represents an apply statement that attaches traits to an existing shape.

In Smithy IDL, apply statements allow traits to be added to shapes defined elsewhere, e.g., apply MyShape @tag("foo").

Value parameters

target

the name of the shape to apply traits to

traits

the traits to apply

Attributes

Source
SmithyModel.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala