Class: Anthropic::Models::Beta::BetaEnvironmentDeleteResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaEnvironmentDeleteResponse
- Defined in:
- lib/anthropic/models/beta/beta_environment_delete_response.rb,
sig/anthropic/models/beta/beta_environment_delete_response.rbs
Overview
Instance Attribute Summary collapse
-
#id ⇒ String
Environment identifier.
-
#type ⇒ Symbol, :environment_deleted
The type of response.
Instance Method Summary collapse
-
#initialize ⇒ BetaEnvironmentDeleteResponse
constructor
A new instance of BetaEnvironmentDeleteResponse.
- #to_hash ⇒ { id: String, type: :environment_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 ⇒ BetaEnvironmentDeleteResponse
Returns a new instance of BetaEnvironmentDeleteResponse.
14 |
# File 'sig/anthropic/models/beta/beta_environment_delete_response.rbs', line 14
def initialize: (id: String, ?type: :environment_deleted) -> void
|
Instance Attribute Details
#id ⇒ String
Environment identifier
12 |
# File 'lib/anthropic/models/beta/beta_environment_delete_response.rb', line 12 required :id, String |
#type ⇒ Symbol, :environment_deleted
The type of response
18 |
# File 'lib/anthropic/models/beta/beta_environment_delete_response.rb', line 18 required :type, const: :environment_deleted |
Instance Method Details
#to_hash ⇒ { id: String, type: :environment_deleted }
16 |
# File 'sig/anthropic/models/beta/beta_environment_delete_response.rbs', line 16
def to_hash: -> { id: String, type: :environment_deleted }
|