View Source Dagger.ObjectTypeDef (dagger v0.12.7)
A definition of a custom object defined in a Module.
Summary
Functions
The function used to construct new instances of this object, if any
The doc string for the object, if any.
Static fields defined on this object, if any.
Functions defined on this object, if any.
A unique identifier for this ObjectTypeDef.
The name of the object.
If this ObjectTypeDef is associated with a Module, the name of the module. Unset otherwise.
Types
Functions
@spec constructor(t()) :: Dagger.Function.t() | nil
The function used to construct new instances of this object, if any
The doc string for the object, if any.
@spec fields(t()) :: {:ok, [Dagger.FieldTypeDef.t()]} | {:error, term()}
Static fields defined on this object, if any.
@spec functions(t()) :: {:ok, [Dagger.Function.t()]} | {:error, term()}
Functions defined on this object, if any.
@spec id(t()) :: {:ok, Dagger.ObjectTypeDefID.t()} | {:error, term()}
A unique identifier for this ObjectTypeDef.
The name of the object.
If this ObjectTypeDef is associated with a Module, the name of the module. Unset otherwise.