Module: Anthropic::Models::Usage::ServiceTier

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

Overview

If the request used the priority, standard, or batch tier.

See Also:

  • Anthropic::Models::Usage#service_tier

Constant Summary collapse

STANDARD =

Returns:

  • (:standard)
:standard
PRIORITY =

Returns:

  • (:priority)
:priority
BATCH =

Returns:

  • (:batch)
:batch

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/usage.rb', line 81


Instance Method Details

#self?.values::Array[Anthropic::Models::Usage::service_tier]

Returns:

  • (::Array[Anthropic::Models::Usage::service_tier])


63
# File 'sig/anthropic/models/usage.rbs', line 63

def self?.values: -> ::Array[Anthropic::Models::Usage::service_tier]