Module: Cadenya::Models::Agents::AgentSchedule::State

Extended by:
Internal::Type::Enum
Defined in:
lib/cadenya/models/agents/agent_schedule.rb,
sig/cadenya/models/agents/agent_schedule.rbs

Overview

The current lifecycle state of the schedule. Output only. Schedules are created STATE_ACTIVE; use the :pause, :resume, and :archive actions to transition between states.

See Also:

  • Cadenya::Models::Agents::AgentSchedule#state

Constant Summary collapse

STATE_UNSPECIFIED =

Returns:

  • (:STATE_UNSPECIFIED)
:STATE_UNSPECIFIED
STATE_ACTIVE =

Returns:

  • (:STATE_ACTIVE)
:STATE_ACTIVE
STATE_PAUSED =

Returns:

  • (:STATE_PAUSED)
:STATE_PAUSED
STATE_ARCHIVED =

Returns:

  • (:STATE_ARCHIVED)
:STATE_ARCHIVED

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, 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

Instance Method Details

#self?.values::Array[Cadenya::Models::Agents::AgentSchedule::state]

Returns:

  • (::Array[Cadenya::Models::Agents::AgentSchedule::state])


52
# File 'sig/cadenya/models/agents/agent_schedule.rbs', line 52

def self?.values: -> ::Array[Cadenya::Models::Agents::AgentSchedule::state]