Class: Anthropic::Models::Beta::Organization::SpendLimits::IncreaseRequestApproveParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::SpendLimits::IncreaseRequestApproveParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/spend_limits/increase_request_approve_params.rb,
sig/anthropic/models/beta/organization/spend_limits/increase_request_approve_params.rbs
Overview
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
-
#amount ⇒ String
New per-user spend limit as a non-negative integer decimal string (minor units).
- #period ⇒ Symbol, ...
-
#spend_limit_increase_request_id ⇒ String
ID of the spend limit increase request.
- #suppress_notification ⇒ Boolean?
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(spend_limit_increase_request_id:, amount:, period: nil, suppress_notification: nil, request_options: {}) ⇒ void
constructor
Some parameter documentations has been truncated, see IncreaseRequestApproveParams for more details.
- #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(spend_limit_increase_request_id:, amount:, period: nil, suppress_notification: nil, request_options: {}) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::SpendLimits::IncreaseRequestApproveParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/spend_limits/increase_request_approve_params.rb', line 35
|
Instance Attribute Details
#amount ⇒ String
New per-user spend limit as a non-negative integer decimal string (minor units).
23 |
# File 'lib/anthropic/models/beta/organization/spend_limits/increase_request_approve_params.rb', line 23 required :amount, String |
#period ⇒ Symbol, ...
28 |
# File 'lib/anthropic/models/beta/organization/spend_limits/increase_request_approve_params.rb', line 28 optional :period, enum: -> { Anthropic::Beta::Organization::BetaSpendLimitPeriod }, nil?: true |
#spend_limit_increase_request_id ⇒ String
ID of the spend limit increase request.
17 |
# File 'lib/anthropic/models/beta/organization/spend_limits/increase_request_approve_params.rb', line 17 required :spend_limit_increase_request_id, String |
Instance Method Details
#to_hash ⇒ {
37 |
# File 'sig/anthropic/models/beta/organization/spend_limits/increase_request_approve_params.rbs', line 37
def to_hash: -> {
|