Class: Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitValue
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitValue
- Defined in:
- lib/anthropic/models/beta/organization/beta_organization_rate_limit_value.rb,
sig/anthropic/models/beta/organization/beta_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(type:, value:) ⇒ BetaOrganizationRateLimitValue
constructor
Some parameter documentations has been truncated, see BetaOrganizationRateLimitValue for more details.
- #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(type:, value:) ⇒ BetaOrganizationRateLimitValue
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaOrganizationRateLimitValue for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_organization_rate_limit_value.rb', line 21
|
Instance Attribute Details
#type ⇒ String
The limiter type (for example, requests_per_minute or
input_tokens_per_minute).
13 |
# File 'lib/anthropic/models/beta/organization/beta_organization_rate_limit_value.rb', line 13 required :type, String |
#value ⇒ Integer
The configured limit value for this limiter type.
19 |
# File 'lib/anthropic/models/beta/organization/beta_organization_rate_limit_value.rb', line 19 required :value, Integer |
Instance Method Details
#to_hash ⇒ { type: String, value: Integer }
15 |
# File 'sig/anthropic/models/beta/organization/beta_organization_rate_limit_value.rbs', line 15
def to_hash: -> { type: String, value: Integer }
|