OpenAI::ContainerResource
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(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)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
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.
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.
Unix timestamp (in seconds) when the container was last active.
memory_limit=(memory_limit : ContainerResourceMemoryLimit | Nil)
The memory limit configured for the container.