Class: Anthropic::Models::Beta::Organization::SpendLimitDeleteResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::SpendLimitDeleteResponse
- Defined in:
- lib/anthropic/models/beta/organization/spend_limit_delete_response.rb,
sig/anthropic/models/beta/organization/spend_limit_delete_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(id:, type: :spend_limit_deleted) ⇒ SpendLimitDeleteResponse
constructor
A new instance of SpendLimitDeleteResponse.
- #to_hash ⇒ { id: String, type: :spend_limit_deleted }
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(id:, type: :spend_limit_deleted) ⇒ SpendLimitDeleteResponse
Returns a new instance of SpendLimitDeleteResponse.
|
|
# File 'lib/anthropic/models/beta/organization/spend_limit_delete_response.rb', line 19
|
Instance Attribute Details
#id ⇒ String
12 |
# File 'lib/anthropic/models/beta/organization/spend_limit_delete_response.rb', line 12 required :id, String |
#type ⇒ Symbol, :spend_limit_deleted
17 |
# File 'lib/anthropic/models/beta/organization/spend_limit_delete_response.rb', line 17 required :type, const: :spend_limit_deleted |
Instance Method Details
#to_hash ⇒ { id: String, type: :spend_limit_deleted }
15 |
# File 'sig/anthropic/models/beta/organization/spend_limit_delete_response.rbs', line 15
def to_hash: -> { id: String, type: :spend_limit_deleted }
|