Module: Cadenya::Models::ProfileSpec::Type

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

Overview

Whether this profile represents a human user, an API key, or a system principal.

See Also:

  • Cadenya::Models::ProfileSpec#type

Constant Summary collapse

PROFILE_TYPE_UNSPECIFIED =

Returns:

  • (:PROFILE_TYPE_UNSPECIFIED)
:PROFILE_TYPE_UNSPECIFIED
PROFILE_TYPE_USER =

Returns:

  • (:PROFILE_TYPE_USER)
:PROFILE_TYPE_USER
PROFILE_TYPE_API_KEY =

Returns:

  • (:PROFILE_TYPE_API_KEY)
:PROFILE_TYPE_API_KEY
PROFILE_TYPE_SYSTEM =

Returns:

  • (:PROFILE_TYPE_SYSTEM)
:PROFILE_TYPE_SYSTEM

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/profile_spec.rb', line 48

Instance Method Details

#self?.values::Array[Cadenya::Models::ProfileSpec::type_]

Returns:

  • (::Array[Cadenya::Models::ProfileSpec::type_])


43
# File 'sig/cadenya/models/profile_spec.rbs', line 43

def self?.values: -> ::Array[Cadenya::Models::ProfileSpec::type_]