Module: Cadenya::Models::ToolSets::Tool::State

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

Overview

The current lifecycle state of the tool. Output only. Use the :omit and :restore actions to transition; tool set syncs may also update it.

See Also:

  • Cadenya::Models::ToolSets::Tool#state

Constant Summary collapse

STATE_UNSPECIFIED =

Returns:

  • (:STATE_UNSPECIFIED)
:STATE_UNSPECIFIED
STATE_AVAILABLE =

Returns:

  • (:STATE_AVAILABLE)
:STATE_AVAILABLE
STATE_OMITTED =

Returns:

  • (:STATE_OMITTED)
:STATE_OMITTED
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_sets/tool.rb', line 57

Instance Method Details

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

Returns:

  • (::Array[Cadenya::Models::ToolSets::Tool::state])


51
# File 'sig/cadenya/models/tool_sets/tool.rbs', line 51

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