Class: Anthropic::Models::Beta::Organization::BetaStorageNotAttachableErrorDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaStorageNotAttachableErrorDetails
- Defined in:
- lib/anthropic/models/beta/organization/beta_storage_not_attachable_error_details.rb,
sig/anthropic/models/beta/organization/beta_storage_not_attachable_error_details.rbs
Instance Attribute Summary collapse
- #error_code ⇒ Symbol, :storage_not_attachable
-
#field ⇒ String
The request field at fault.
Instance Method Summary collapse
-
#initialize(field:, error_code: :storage_not_attachable) ⇒ BetaStorageNotAttachableErrorDetails
constructor
This External Storage can't be attached to the setting named in
field. - #to_hash ⇒ { error_code: :storage_not_attachable, field: String }
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(field:, error_code: :storage_not_attachable) ⇒ BetaStorageNotAttachableErrorDetails
This External Storage can't be attached to the setting named in field. The
error's message says why.
|
|
# File 'lib/anthropic/models/beta/organization/beta_storage_not_attachable_error_details.rb', line 19
|
Instance Attribute Details
#error_code ⇒ Symbol, :storage_not_attachable
11 |
# File 'lib/anthropic/models/beta/organization/beta_storage_not_attachable_error_details.rb', line 11 required :error_code, const: :storage_not_attachable |
#field ⇒ String
The request field at fault.
17 |
# File 'lib/anthropic/models/beta/organization/beta_storage_not_attachable_error_details.rb', line 17 required :field, String |
Instance Method Details
#to_hash ⇒ { error_code: :storage_not_attachable, field: String }
18 |
# File 'sig/anthropic/models/beta/organization/beta_storage_not_attachable_error_details.rbs', line 18
def to_hash: -> { error_code: :storage_not_attachable, field: String }
|