Class: Anthropic::Models::Beta::Organization::BetaStorageVerificationFailedErrorDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaStorageVerificationFailedErrorDetails
- Defined in:
- lib/anthropic/models/beta/organization/beta_storage_verification_failed_error_details.rb,
sig/anthropic/models/beta/organization/beta_storage_verification_failed_error_details.rbs
Instance Attribute Summary collapse
- #error_code ⇒ Symbol, :storage_verification_failed
-
#failed_checks ⇒ Array<Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck>
One entry for each check that failed.
-
#field ⇒ String?
The request field at fault.
Instance Method Summary collapse
-
#initialize(failed_checks:, field: nil, error_code: :storage_verification_failed) ⇒ BetaStorageVerificationFailedErrorDetails
constructor
The External Storage failed verification, so the request changed nothing.
- #to_hash ⇒ { error_code: :storage_verification_failed, failed_checks: ::Array[Anthropic::Beta::Organization::BetaExternalStorageFailedCheck], 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(failed_checks:, field: nil, error_code: :storage_verification_failed) ⇒ BetaStorageVerificationFailedErrorDetails
The External Storage failed verification, so the request changed nothing.
failed_checks lists what to fix.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaStorageVerificationFailedErrorDetails for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_storage_verification_failed_error_details.rb', line 27
|
Instance Attribute Details
#error_code ⇒ Symbol, :storage_verification_failed
11 |
# File 'lib/anthropic/models/beta/organization/beta_storage_verification_failed_error_details.rb', line 11 required :error_code, const: :storage_verification_failed |
#failed_checks ⇒ Array<Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck>
One entry for each check that failed.
17 18 |
# File 'lib/anthropic/models/beta/organization/beta_storage_verification_failed_error_details.rb', line 17 required :failed_checks, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::Organization::BetaExternalStorageFailedCheck] } |
#field ⇒ String?
The request field at fault. Sent when the refused request is a Workspace's create or update.
25 |
# File 'lib/anthropic/models/beta/organization/beta_storage_verification_failed_error_details.rb', line 25 optional :field, String, nil?: true |
Instance Method Details
#to_hash ⇒ { error_code: :storage_verification_failed, failed_checks: ::Array[Anthropic::Beta::Organization::BetaExternalStorageFailedCheck], field: String? }
25 26 27 28 29 |
# File 'sig/anthropic/models/beta/organization/beta_storage_verification_failed_error_details.rbs', line 25
def to_hash: -> {
error_code: :storage_verification_failed,
failed_checks: ::Array[Anthropic::Beta::Organization::BetaExternalStorageFailedCheck],
field: String?
}
|