Class: Anthropic::Models::Organization::SpendLimitUsageTierScope
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::SpendLimitUsageTierScope
- Defined in:
- lib/anthropic/models/organization/spend_limit_usage_tier_scope.rb,
sig/anthropic/models/organization/spend_limit_usage_tier_scope.rbs
Instance Attribute Summary collapse
-
#type ⇒ Symbol, :usage_tier
Scope type.
Instance Method Summary collapse
-
#initialize(type: :usage_tier) ⇒ SpendLimitUsageTierScope
constructor
Scope of the monthly spend cap Anthropic sets for a Claude Console organization from its usage tier, or a higher cap Anthropic granted the organization.
- #to_hash ⇒ { type: :usage_tier }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(type: :usage_tier) ⇒ SpendLimitUsageTierScope
Scope of the monthly spend cap Anthropic sets for a Claude Console organization
from its usage tier, or a higher cap Anthropic granted the organization.
Read-only; its created_at and updated_at are the organization's creation
time, so amount can change while updated_at stays the same.
|
|
# File 'lib/anthropic/models/organization/spend_limit_usage_tier_scope.rb', line 13
|
Instance Attribute Details
#type ⇒ Symbol, :usage_tier
Scope type. Always usage_tier for this scope.
11 |
# File 'lib/anthropic/models/organization/spend_limit_usage_tier_scope.rb', line 11 required :type, const: :usage_tier |
Instance Method Details
#to_hash ⇒ { type: :usage_tier }
11 |
# File 'sig/anthropic/models/organization/spend_limit_usage_tier_scope.rbs', line 11
def to_hash: -> { type: :usage_tier }
|