Class: OpenAI::Models::ContainerListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/container_list_response.rb

Overview

Defined Under Namespace

Classes: ExpiresAfter

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(id: , created_at: , name: , object: , status: , expires_after: nil) ⇒ Object

Some parameter documentations has been truncated, see OpenAI::Models::ContainerListResponse for more details.

Parameters:

  • id (String) (defaults to: )

    Unique identifier for the container.

  • created_at (Integer) (defaults to: )

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

  • name (String) (defaults to: )

    Name of the container.

  • object (String) (defaults to: )

    The type of this object.

  • status (String) (defaults to: )

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

  • expires_after (OpenAI::Models::ContainerListResponse::ExpiresAfter) (defaults to: nil)

    The container will expire after this time period.



# File 'lib/openai/models/container_list_response.rb', line 45

Instance Attribute Details

#created_atInteger

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

Returns:

  • (Integer)


17
# File 'lib/openai/models/container_list_response.rb', line 17

required :created_at, Integer

#expires_afterOpenAI::Models::ContainerListResponse::ExpiresAfter?

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.



43
# File 'lib/openai/models/container_list_response.rb', line 43

optional :expires_after, -> { OpenAI::Models::ContainerListResponse::ExpiresAfter }

#idString

Unique identifier for the container.

Returns:

  • (String)


11
# File 'lib/openai/models/container_list_response.rb', line 11

required :id, String

#nameString

Name of the container.

Returns:

  • (String)


23
# File 'lib/openai/models/container_list_response.rb', line 23

required :name, String

#objectString

The type of this object.

Returns:

  • (String)


29
# File 'lib/openai/models/container_list_response.rb', line 29

required :object, String

#statusString

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

Returns:

  • (String)


35
# File 'lib/openai/models/container_list_response.rb', line 35

required :status, String