class

OpenAI::CreateContainerBodyExpiresAfter

Inherits JSON::Serializable < Reference < Object

Container expiration time in seconds relative to the 'anchor' time.

Constructors

new(anchor : CreateContainerBodyExpiresAfterAnchor = CreateContainerBodyExpiresAfterAnchor::LastActiveAt, minutes : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

anchor

Time anchor for the expiration time. Currently only 'last_active_at' is supported.

Source
anchor=(anchor : CreateContainerBodyExpiresAfterAnchor)

Time anchor for the expiration time. Currently only 'last_active_at' is supported.

Source
minutes
Source
minutes=(minutes : Int64)
Source