class

OpenAI::ContainerResourceExpiresAfter

Inherits JSON::Serializable < Reference < Object

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.

Constructors

new(anchor : ContainerResourceExpiresAfterAnchor | Nil = nil, minutes : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

anchor

The reference point for the expiration.

Source
anchor=(anchor : ContainerResourceExpiresAfterAnchor | Nil)

The reference point for the expiration.

Source
minutes

The number of minutes after the anchor before the container expires.

Source
minutes=(minutes : Int64 | Nil)

The number of minutes after the anchor before the container expires.

Source