Module: Cadenya::Models::Agent::State

Extended by:
Internal::Type::Enum
Defined in:
lib/cadenya/models/agent.rb

Overview

The current lifecycle state of the agent. Output only. Agents are created in STATE_DRAFT; use the :publish, :unpublish, :archive, and :unarchive actions to transition between states.

See Also:

  • #state

Constant Summary collapse

STATE_UNSPECIFIED =
:STATE_UNSPECIFIED
STATE_DRAFT =
:STATE_DRAFT
STATE_PUBLISHED =
:STATE_PUBLISHED
STATE_ARCHIVED =
:STATE_ARCHIVED

Class Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/cadenya/models/agent.rb', line 63