Class: Anthropic::Models::Organization::OrganizationRateLimitValue
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::OrganizationRateLimitValue
- Defined in:
- lib/anthropic/models/organization/organization_rate_limit_value.rb,
sig/anthropic/models/organization/organization_rate_limit_value.rbs
Instance Attribute Summary collapse
-
#type ⇒ String
The limiter type (for example,
requests_per_minuteorinput_tokens_per_minute). -
#value ⇒ Integer
The configured limit value for this limiter type.
Instance Method Summary collapse
-
#initialize ⇒ OrganizationRateLimitValue
constructor
A new instance of OrganizationRateLimitValue.
- #to_hash ⇒ { type: String, value: Integer }
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 ⇒ OrganizationRateLimitValue
Returns a new instance of OrganizationRateLimitValue.
13 |
# File 'sig/anthropic/models/organization/organization_rate_limit_value.rbs', line 13
def initialize: (type: String, value: Integer) -> void
|
Instance Attribute Details
#type ⇒ String
The limiter type (for example, requests_per_minute or
input_tokens_per_minute).
12 |
# File 'lib/anthropic/models/organization/organization_rate_limit_value.rb', line 12 required :type, String |
#value ⇒ Integer
The configured limit value for this limiter type.
18 |
# File 'lib/anthropic/models/organization/organization_rate_limit_value.rb', line 18 required :value, Integer |
Instance Method Details
#to_hash ⇒ { type: String, value: Integer }
15 |
# File 'sig/anthropic/models/organization/organization_rate_limit_value.rbs', line 15
def to_hash: -> { type: String, value: Integer }
|