Class: Anthropic::Models::Beta::DeletedFile
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::DeletedFile
- Defined in:
- lib/anthropic/models/beta/deleted_file.rb
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#id ⇒ String
ID of the deleted file.
-
#type ⇒ Symbol, ...
Deleted object type.
Instance Method Summary collapse
-
#initialize(id: , type: nil) ⇒ void
constructor
Some parameter documentations has been truncated, see DeletedFile for more details.
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: nil) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::DeletedFile for more details.
|
# File 'lib/anthropic/models/beta/deleted_file.rb', line 22
|
Instance Attribute Details
#id ⇒ String
ID of the deleted file.
12 |
# File 'lib/anthropic/models/beta/deleted_file.rb', line 12 required :id, String |
#type ⇒ Symbol, ...
Deleted object type.
For file deletion, this is always "file_deleted"
.
20 |
# File 'lib/anthropic/models/beta/deleted_file.rb', line 20 optional :type, enum: -> { Anthropic::Beta::DeletedFile::Type } |