class

OpenAI::ContainerListResource

Inherits JSON::Serializable < Reference < Object

Constructors

new(object : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, data : Array(ContainerResource) = [] of ContainerResource, first_id : String = "", last_id : String = "", has_more : Bool = false)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

data

A list of containers.

Source
data=(data : Array(ContainerResource))

A list of containers.

Source
first_id

The ID of the first container in the list.

Source
first_id=(first_id : String)

The ID of the first container in the list.

Source
has_more

Whether there are more containers available.

Source
has_more=(has_more : Bool)

Whether there are more containers available.

Source
last_id

The ID of the last container in the list.

Source
last_id=(last_id : String)

The ID of the last container in the list.

Source
object

The type of object returned, must be 'list'.

Source
object=(object : Hash(String, JSON::Any))

The type of object returned, must be 'list'.

Source