Class: OpenAI::Models::Containers::FileListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Containers::FileListResponse
- Defined in:
- lib/openai/models/containers/file_list_response.rb
Overview
Instance Attribute Summary collapse
-
#bytes ⇒ Integer
Size of the file in bytes.
-
#container_id ⇒ String
The container this file belongs to.
-
#created_at ⇒ Integer
Unix timestamp (in seconds) when the file was created.
-
#id ⇒ String
Unique identifier for the file.
-
#object ⇒ Symbol, :"container.file"
The type of this object (‘container.file`).
-
#path ⇒ String
Path of the file in the container.
-
#source ⇒ String
Source of the file (e.g., ‘user`, `assistant`).
Instance Method Summary collapse
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, 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: , bytes: , container_id: , created_at: , path: , source: , object: :"container.file") ⇒ Object
|
# File 'lib/openai/models/containers/file_list_response.rb', line 50
|
Instance Attribute Details
#bytes ⇒ Integer
Size of the file in bytes.
18 |
# File 'lib/openai/models/containers/file_list_response.rb', line 18 required :bytes, Integer |
#container_id ⇒ String
The container this file belongs to.
24 |
# File 'lib/openai/models/containers/file_list_response.rb', line 24 required :container_id, String |
#created_at ⇒ Integer
Unix timestamp (in seconds) when the file was created.
30 |
# File 'lib/openai/models/containers/file_list_response.rb', line 30 required :created_at, Integer |
#id ⇒ String
Unique identifier for the file.
12 |
# File 'lib/openai/models/containers/file_list_response.rb', line 12 required :id, String |
#object ⇒ Symbol, :"container.file"
The type of this object (‘container.file`).
36 |
# File 'lib/openai/models/containers/file_list_response.rb', line 36 required :object, const: :"container.file" |
#path ⇒ String
Path of the file in the container.
42 |
# File 'lib/openai/models/containers/file_list_response.rb', line 42 required :path, String |
#source ⇒ String
Source of the file (e.g., ‘user`, `assistant`).
48 |
# File 'lib/openai/models/containers/file_list_response.rb', line 48 required :source, String |