Module: Cadenya::Models::ToolSet::State

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

Overview

The current lifecycle state of the tool set. Output only. Tool sets are created STATE_ACTIVE; use the :archive and :unarchive actions to transition between states.

See Also:

  • Cadenya::Models::ToolSet#state

Constant Summary collapse

STATE_UNSPECIFIED =

Returns:

  • (:STATE_UNSPECIFIED)
:STATE_UNSPECIFIED
STATE_ACTIVE =

Returns:

  • (:STATE_ACTIVE)
:STATE_ACTIVE
STATE_ARCHIVED =

Returns:

  • (: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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/cadenya/models/tool_set.rb', line 58

Instance Method Details

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

Returns:

  • (::Array[Cadenya::Models::ToolSet::state])


45
# File 'sig/cadenya/models/tool_set.rbs', line 45

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