class

OpenAI::ContainerResource

Inherits JSON::Serializable < Reference < Object

Constructors

new(id : String = "", object : String = "", name : String = "", created_at : Int64 = 0, status : String = "", last_active_at : Int64 | Nil = nil, expires_after : ContainerResourceExpiresAfter | Nil = nil, memory_limit : ContainerResourceMemoryLimit | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at

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

Source
created_at=(created_at : Int64)

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

Source
expires_after

The container will expire after this time period. The anchor is the reference point for the expiration. The minutes is the number of minutes after the anchor before the container expires.

Source
expires_after=(expires_after : ContainerResourceExpiresAfter | Nil)

The container will expire after this time period. The anchor is the reference point for the expiration. The minutes is the number of minutes after the anchor before the container expires.

Source
id

Unique identifier for the container.

Source
id=(id : String)

Unique identifier for the container.

Source
last_active_at

Unix timestamp (in seconds) when the container was last active.

Source
last_active_at=(last_active_at : Int64 | Nil)

Unix timestamp (in seconds) when the container was last active.

Source
memory_limit

The memory limit configured for the container.

Source
memory_limit=(memory_limit : ContainerResourceMemoryLimit | Nil)

The memory limit configured for the container.

Source
name

Name of the container.

Source
name=(name : String)

Name of the container.

Source
object

The type of this object.

Source
object=(object : String)

The type of this object.

Source
status

Status of the container (e.g., active, deleted).

Source
status=(status : String)

Status of the container (e.g., active, deleted).

Source