View Source Dagger.EnumValueTypeDef (dagger v0.12.7)

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.

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.