Module: Cadenya::Models::Agent::State
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/cadenya/models/agent.rb,
sig/cadenya/models/agent.rbs
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.
Constant Summary collapse
- STATE_UNSPECIFIED =
:STATE_UNSPECIFIED- STATE_DRAFT =
:STATE_DRAFT- STATE_PUBLISHED =
:STATE_PUBLISHED- STATE_ARCHIVED =
:STATE_ARCHIVED
Class Method Summary collapse
Instance 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
.values ⇒ Array<Symbol>
|
|
# File 'lib/cadenya/models/agent.rb', line 63
|
Instance Method Details
#self?.values ⇒ ::Array[Cadenya::Models::Agent::state]
47 |
# File 'sig/cadenya/models/agent.rbs', line 47
def self?.values: -> ::Array[Cadenya::Models::Agent::state]
|