Class: Anthropic::Models::Beta::Organization::SpendLimits::IncreaseRequestListParams

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

Overview

See Also:

  • Anthropic::Resources::Beta::Organization::SpendLimits::IncreaseRequests#list

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(actor_ids: nil, limit: nil, page: nil, status: nil, request_options: {}) ⇒ void



# File 'lib/anthropic/models/beta/organization/spend_limits/increase_request_list_params.rb', line 40

Instance Attribute Details

#actor_ids ⇒ Array<String>?

Filter by requester, as user_... tagged IDs.



17
# File 'lib/anthropic/models/beta/organization/spend_limits/increase_request_list_params.rb', line 17

optional :actor_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true

#limit ⇒ Integer?



22
# File 'lib/anthropic/models/beta/organization/spend_limits/increase_request_list_params.rb', line 22

optional :limit, Integer

#page ⇒ String?

Opaque cursor from a previous response's next_page.



28
# File 'lib/anthropic/models/beta/organization/spend_limits/increase_request_list_params.rb', line 28

optional :page, String, nil?: true

#status ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::SpendLimits::BetaSpendLimitIncreaseRequestStatus>?

Filter by status. Omit to return all.



34
35
36
37
38
# File 'lib/anthropic/models/beta/organization/spend_limits/increase_request_list_params.rb', line 34

optional :status,
-> {
  Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::SpendLimits::BetaSpendLimitIncreaseRequestStatus]
},
nil?: true

Instance Method Details

#to_hash ⇒ {



37
# File 'sig/anthropic/models/beta/organization/spend_limits/increase_request_list_params.rbs', line 37

def to_hash: -> {