Class: Anthropic::Models::Beta::Organization::Workspaces::RateLimitListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::Workspaces::RateLimitListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rb,
sig/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rbs
Overview
Defined Under Namespace
Modules: GroupType
Instance Attribute Summary collapse
-
#group_type ⇒ Symbol, ...
Filter by group type.
-
#include_inherited ⇒ Boolean?
Also list the limiter values the workspace inherits from the organization, including groups with no workspace-level override.
-
#limit ⇒ Integer?
Maximum number of items to return per page.
-
#page ⇒ String?
Opaque cursor from a previous response's
next_page. -
#workspace_id ⇒ String
The ID of the workspace.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(workspace_id:, group_type: nil, include_inherited: nil, limit: nil, page: nil, request_options: {}) ⇒ RateLimitListParams
constructor
Some parameter documentations has been truncated, see RateLimitListParams for more details.
- #to_hash ⇒ { workspace_id: String, group_type: Anthropic::Models::Beta::Organization::Workspaces::RateLimitListParams::group_type?, include_inherited: bool, limit: Integer?, page: String?, 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:, group_type: nil, include_inherited: nil, limit: nil, page: nil, request_options: {}) ⇒ RateLimitListParams
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::Workspaces::RateLimitListParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rb', line 49
|
Instance Attribute Details
#group_type ⇒ Symbol, ...
Filter by group type.
23 24 25 |
# File 'lib/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rb', line 23 optional :group_type, enum: -> { Anthropic::Beta::Organization::Workspaces::RateLimitListParams::GroupType }, nil?: true |
#include_inherited ⇒ Boolean?
Also list the limiter values the workspace inherits from the organization, including groups with no workspace-level override.
32 |
# File 'lib/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rb', line 32 optional :include_inherited, Anthropic::Internal::Type::Boolean |
#limit ⇒ Integer?
Maximum number of items to return per page. Ranges from 1 to 1000.
When omitted, every remaining entry is returned in a single page and next_page
is null.
41 |
# File 'lib/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rb', line 41 optional :limit, Integer, nil?: true |
#page ⇒ String?
Opaque cursor from a previous response's next_page.
47 |
# File 'lib/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rb', line 47 optional :page, String, nil?: true |
#workspace_id ⇒ String
The ID of the workspace.
17 |
# File 'lib/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rb', line 17 required :workspace_id, String |
Instance Method Details
#to_hash ⇒ { workspace_id: String, group_type: Anthropic::Models::Beta::Organization::Workspaces::RateLimitListParams::group_type?, include_inherited: bool, limit: Integer?, page: String?, request_options: Anthropic::RequestOptions }
41 42 43 44 45 46 47 48 |
# File 'sig/anthropic/models/beta/organization/workspaces/rate_limit_list_params.rbs', line 41
def to_hash: -> {
workspace_id: String,
group_type: Anthropic::Models::Beta::Organization::Workspaces::RateLimitListParams::group_type?,
include_inherited: bool,
limit: Integer?,
page: String?,
request_options: Anthropic::RequestOptions
}
|