View Source Dagger.EnumValueTypeDef (dagger v0.14.0)

A definition of a value in a custom enum defined in a Module.

Summary

Functions

A doc string for the enum value, if any.

A unique identifier for this EnumValueTypeDef.

The name of the enum value.

The location of this enum value declaration.

Types

@type t() :: %Dagger.EnumValueTypeDef{client: term(), query_builder: term()}

Functions

Link to this function

description(enum_value_type_def)

View Source
@spec description(t()) :: {:ok, String.t()} | {:error, term()}

A doc string for the enum value, if any.

@spec id(t()) :: {:ok, Dagger.EnumValueTypeDefID.t()} | {:error, term()}

A unique identifier for this EnumValueTypeDef.

Link to this function

name(enum_value_type_def)

View Source
@spec name(t()) :: {:ok, String.t()} | {:error, term()}

The name of the enum value.

Link to this function

source_map(enum_value_type_def)

View Source
@spec source_map(t()) :: Dagger.SourceMap.t()

The location of this enum value declaration.