Class: Anthropic::Models::Beta::Organization::SpendLimits::EffectiveListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::SpendLimits::EffectiveListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/spend_limits/effective_list_params.rb,
sig/anthropic/models/beta/organization/spend_limits/effective_list_params.rbs
Overview
Defined Under Namespace
Modules: Period
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
-
#limit ⇒ Integer?
Maximum number of members per page.
-
#page ⇒ String?
Opaque cursor from a previous response's
next_pagefield. -
#period ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::SpendLimits::EffectiveListParams::Period>?
Restrict the report to these limit periods.
-
#user_ids ⇒ Array<String>?
Restrict the report to these members, by tagged user ID (
user_...).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
- #initialize ⇒ void constructor
- #to_hash ⇒ {
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 ⇒ void
29 |
# File 'sig/anthropic/models/beta/organization/spend_limits/effective_list_params.rbs', line 29
def initialize: (
|
Instance Attribute Details
#limit ⇒ Integer?
Maximum number of members per page. A member's period rows never split across
pages, so a page may carry more rows than this. Defaults to 20.
18 |
# File 'lib/anthropic/models/beta/organization/spend_limits/effective_list_params.rb', line 18 optional :limit, Integer |
#page ⇒ String?
Opaque cursor from a previous response's next_page field.
24 |
# File 'lib/anthropic/models/beta/organization/spend_limits/effective_list_params.rb', line 24 optional :page, String, nil?: true |
#period ⇒ Array<Symbol, Anthropic::Models::Beta::Organization::SpendLimits::EffectiveListParams::Period>?
Restrict the report to these limit periods. Omit to return one row per period each member resolves a spend limit for.
31 32 33 34 35 |
# File 'lib/anthropic/models/beta/organization/spend_limits/effective_list_params.rb', line 31 optional :period, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::Organization::SpendLimits::EffectiveListParams::Period] }, nil?: true |
#user_ids ⇒ Array<String>?
Restrict the report to these members, by tagged user ID (user_...). At most
100 entries.
42 |
# File 'lib/anthropic/models/beta/organization/spend_limits/effective_list_params.rb', line 42 optional :user_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
Instance Method Details
#to_hash ⇒ {
37 |
# File 'sig/anthropic/models/beta/organization/spend_limits/effective_list_params.rbs', line 37
def to_hash: -> {
|