Module: Anthropic::Models::Beta::Organization::BetaAPIKeyCreatedBy::Type

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/organization/beta_api_key_created_by.rb,
sig/anthropic/models/beta/organization/beta_api_key_created_by.rbs

Overview

Type of the actor that created the object.

See Also:

  • Anthropic::Models::Beta::Organization::BetaAPIKeyCreatedBy#type

Constant Summary collapse

SERVICE_ACCOUNT =

Returns:

  • (:service_account)
:service_account
USER =

Returns:

  • (:user)
:user

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/anthropic/models/beta/organization/beta_api_key_created_by.rb', line 34


Instance Method Details

#self?.values::Array[Anthropic::Models::Beta::Organization::BetaAPIKeyCreatedBy::type_]

Returns:

  • (::Array[Anthropic::Models::Beta::Organization::BetaAPIKeyCreatedBy::type_])


34
# File 'sig/anthropic/models/beta/organization/beta_api_key_created_by.rbs', line 34

def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::BetaAPIKeyCreatedBy::type_]