Class: Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimitUpdateValue
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimitUpdateValue
- Defined in:
- lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rb,
sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rbs
Instance Attribute Summary collapse
-
#type ⇒ Symbol, Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimitType
Rate limiter type.
-
#value ⇒ Integer?
New limit value.
Instance Method Summary collapse
-
#initialize(type:, value:) ⇒ BetaWorkspaceRateLimitUpdateValue
constructor
Some parameter documentations has been truncated, see BetaWorkspaceRateLimitUpdateValue for more details.
- #to_hash ⇒ { type: Anthropic::Models::Beta::Organization::Workspaces::beta_workspace_rate_limit_type, 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:) ⇒ BetaWorkspaceRateLimitUpdateValue
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimitUpdateValue for more details.
|
|
# File 'lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rb', line 28
|
Instance Attribute Details
#type ⇒ Symbol, Anthropic::Models::Beta::Organization::Workspaces::BetaWorkspaceRateLimitType
Rate limiter type. input_tokens_per_minute counts every input token, cache
reads included. input_tokens_per_minute_cache_aware does not count cache
reads, and on current models the organization's input-token limit usually has
this type. A workspace limit of either type applies alongside the organization's
limit, not in place of it. Because cache reads count toward an
input_tokens_per_minute limit, it can reject requests that read mostly from
the cache while the organization's limit still has room.
19 |
# File 'lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rb', line 19 required :type, enum: -> { Anthropic::Beta::Organization::Workspaces::BetaWorkspaceRateLimitType } |
#value ⇒ Integer?
New limit value. Set to null to clear the workspace override and fall back to the organization limit.
26 |
# File 'lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rb', line 26 required :value, Integer, nil?: true |
Instance Method Details
#to_hash ⇒ { type: Anthropic::Models::Beta::Organization::Workspaces::beta_workspace_rate_limit_type, value: Integer? }
22 23 24 25 |
# File 'sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit_update_value.rbs', line 22
def to_hash: -> {
type: Anthropic::Models::Beta::Organization::Workspaces::beta_workspace_rate_limit_type,
value: Integer?
}
|