Class: Anthropic::Models::Organization::Workspaces::RateLimitUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::Workspaces::RateLimitUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/organization/workspaces/rate_limit_update_params.rb,
sig/anthropic/models/organization/workspaces/rate_limit_update_params.rbs
Overview
Instance Attribute Summary collapse
-
#limits ⇒ Array<Anthropic::Models::Organization::Workspaces::WorkspaceRateLimitUpdateValue>
Limits to set or clear.
-
#rate_limit_id ⇒ String
The
idof the organization's rate-limit entry to set overrides for. -
#workspace_id ⇒ String
The ID of the workspace.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(workspace_id:, rate_limit_id:, limits:, request_options: {}) ⇒ RateLimitUpdateParams
constructor
A new instance of RateLimitUpdateParams.
- #to_hash ⇒ { workspace_id: String, rate_limit_id: String, limits: ::Array[Anthropic::Organization::Workspaces::WorkspaceRateLimitUpdateValue], request_options: Anthropic::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(workspace_id:, rate_limit_id:, limits:, request_options: {}) ⇒ RateLimitUpdateParams
Returns a new instance of RateLimitUpdateParams.
|
|
# File 'lib/anthropic/models/organization/workspaces/rate_limit_update_params.rb', line 31
|
Instance Attribute Details
#limits ⇒ Array<Anthropic::Models::Organization::Workspaces::WorkspaceRateLimitUpdateValue>
Limits to set or clear. Unspecified limit types are unchanged.
28 29 |
# File 'lib/anthropic/models/organization/workspaces/rate_limit_update_params.rb', line 28 required :limits, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Organization::Workspaces::WorkspaceRateLimitUpdateValue] } |
#rate_limit_id ⇒ String
The id of the organization's rate-limit entry to set overrides for.
22 |
# File 'lib/anthropic/models/organization/workspaces/rate_limit_update_params.rb', line 22 required :rate_limit_id, String |
#workspace_id ⇒ String
The ID of the workspace.
16 |
# File 'lib/anthropic/models/organization/workspaces/rate_limit_update_params.rb', line 16 required :workspace_id, String |
Instance Method Details
#to_hash ⇒ { workspace_id: String, rate_limit_id: String, limits: ::Array[Anthropic::Organization::Workspaces::WorkspaceRateLimitUpdateValue], request_options: Anthropic::RequestOptions }
30 31 32 33 34 35 |
# File 'sig/anthropic/models/organization/workspaces/rate_limit_update_params.rbs', line 30
def to_hash: -> {
workspace_id: String,
rate_limit_id: String,
limits: ::Array[Anthropic::Organization::Workspaces::WorkspaceRateLimitUpdateValue],
request_options: Anthropic::RequestOptions
}
|