View Source Dagger.EnumValueTypeDef (dagger v0.15.1)

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

t()

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

Functions

description(enum_value_type_def)

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

A doc string for the enum value, if any.

id(enum_value_type_def)

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

A unique identifier for this EnumValueTypeDef.

name(enum_value_type_def)

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

The name of the enum value.

source_map(enum_value_type_def)

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

The location of this enum value declaration.