Class: Anthropic::Models::Organization::OrganizationRateLimitTokenCountGroup
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::OrganizationRateLimitTokenCountGroup
- Defined in:
- lib/anthropic/models/organization/organization_rate_limit_token_count_group.rb,
sig/anthropic/models/organization/organization_rate_limit_token_count_group.rbs
Instance Attribute Summary collapse
-
#id ⇒ String
Opaque identifier of the rate-limit group (for example,
rlg_01VPTCmyiu5ZLsWkcxYG2pY8). -
#type ⇒ Symbol, :token_count
Always
token_count: the Token Count API.
Instance Method Summary collapse
-
#initialize ⇒ OrganizationRateLimitTokenCountGroup
constructor
A new instance of OrganizationRateLimitTokenCountGroup.
- #to_hash ⇒ { id: String, type: :token_count }
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 ⇒ OrganizationRateLimitTokenCountGroup
Returns a new instance of OrganizationRateLimitTokenCountGroup.
14 |
# File 'sig/anthropic/models/organization/organization_rate_limit_token_count_group.rbs', line 14
def initialize: (id: String, ?type: :token_count) -> void
|
Instance Attribute Details
#id ⇒ String
Opaque identifier of the rate-limit group (for example,
rlg_01VPTCmyiu5ZLsWkcxYG2pY8). It is the same in every organization and never
changes, unlike the entry's own identifier, which differs per organization.
13 |
# File 'lib/anthropic/models/organization/organization_rate_limit_token_count_group.rb', line 13 required :id, String |
#type ⇒ Symbol, :token_count
Always token_count: the Token Count API.
19 |
# File 'lib/anthropic/models/organization/organization_rate_limit_token_count_group.rb', line 19 required :type, const: :token_count |
Instance Method Details
#to_hash ⇒ { id: String, type: :token_count }
16 |
# File 'sig/anthropic/models/organization/organization_rate_limit_token_count_group.rbs', line 16
def to_hash: -> { id: String, type: :token_count }
|