Class: Anthropic::Models::Beta::Organization::RateLimitListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/organization/rate_limit_list_params.rb,
sig/anthropic/models/beta/organization/rate_limit_list_params.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::Organization::RateLimits#list

Defined Under Namespace

Modules: GroupType

Constant Summary

Constants included from Internal::Type::RequestParameters

Internal::Type::RequestParameters::Anthropic

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(group_type: nil, limit: nil, model: nil, page: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::RateLimitListParams for more details.

Parameters:

  • group_type (Symbol, Anthropic::Models::Beta::Organization::RateLimitListParams::GroupType, nil) (defaults to: nil)

    Filter by group type.

  • limit (Integer, nil) (defaults to: nil)

    Maximum number of items to return per page. Ranges from 1 to 1000.

  • model (String, nil) (defaults to: nil)

    Filter to the single entry containing this model. Accepts full model names and a

  • page (String, nil) (defaults to: nil)

    Opaque cursor from a previous response's next_page.

  • request_options (Anthropic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/anthropic/models/beta/organization/rate_limit_list_params.rb', line 43

Instance Attribute Details

#group_typeSymbol, ...

Filter by group type.

Parameters:

  • value (Anthropic::Models::Beta::Organization::RateLimitListParams::group_type, nil)

Returns:



16
17
18
# File 'lib/anthropic/models/beta/organization/rate_limit_list_params.rb', line 16

optional :group_type,
enum: -> { Anthropic::Beta::Organization::RateLimitListParams::GroupType },
nil?: true

#limitInteger?

Maximum number of items to return per page. Ranges from 1 to 1000.

Accepted for request-shape compatibility and currently ignored: every entry is returned in a single page.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


27
# File 'lib/anthropic/models/beta/organization/rate_limit_list_params.rb', line 27

optional :limit, Integer, nil?: true

#modelString?

Filter to the single entry containing this model. Accepts full model names and aliases. Returns 404 if the model is not found or has no rate limits for this organization.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


35
# File 'lib/anthropic/models/beta/organization/rate_limit_list_params.rb', line 35

optional :model, String, nil?: true

#pageString?

Opaque cursor from a previous response's next_page.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


41
# File 'lib/anthropic/models/beta/organization/rate_limit_list_params.rb', line 41

optional :page, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


34
# File 'sig/anthropic/models/beta/organization/rate_limit_list_params.rbs', line 34

def to_hash: -> {