class

OpenAI::ContainerFileResource

Inherits JSON::Serializable < Reference < Object

Constructors

new(id : String = "", object : String = "", container_id : String = "", created_at : Int64 = 0, bytes : Int64 = 0, path : String = "", source : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

bytes

Size of the file in bytes.

Source
bytes=(bytes : Int64)

Size of the file in bytes.

Source
container_id

The container this file belongs to.

Source
container_id=(container_id : String)

The container this file belongs to.

Source
created_at

Unix timestamp (in seconds) when the file was created.

Source
created_at=(created_at : Int64)

Unix timestamp (in seconds) when the file was created.

Source
id

Unique identifier for the file.

Source
id=(id : String)

Unique identifier for the file.

Source
object

The type of this object (container.file).

Source
object=(object : String)

The type of this object (container.file).

Source
path

Path of the file in the container.

Source
path=(path : String)

Path of the file in the container.

Source
source

Source of the file (e.g., user, assistant).

Source
source=(source : String)

Source of the file (e.g., user, assistant).

Source