Class: OpenAI::Models::ContainerListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::ContainerListResponse
- Defined in:
- lib/openai/models/container_list_response.rb
Overview
Defined Under Namespace
Modules: MemoryLimit Classes: ExpiresAfter
Instance Attribute Summary collapse
-
#created_at ⇒ Integer
Unix timestamp (in seconds) when the container was created.
-
#expires_after ⇒ OpenAI::Models::ContainerListResponse::ExpiresAfter?
The container will expire after this time period.
-
#id ⇒ String
Unique identifier for the container.
-
#last_active_at ⇒ Integer?
Unix timestamp (in seconds) when the container was last active.
-
#memory_limit ⇒ Symbol, ...
The memory limit configured for the container.
-
#name ⇒ String
Name of the container.
-
#object ⇒ String
The type of this object.
-
#status ⇒ String
Status of the container (e.g., active, deleted).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, created_at:, name:, object:, status:, expires_after: nil, last_active_at: nil, memory_limit: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ContainerListResponse for more details.
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, meta_info, new_coerce_state, 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, last_active_at: nil, memory_limit: nil) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::ContainerListResponse for more details.
|
|
# File 'lib/openai/models/container_list_response.rb', line 57
|
Instance Attribute Details
#created_at ⇒ Integer
Unix timestamp (in seconds) when the container was created.
17 |
# File 'lib/openai/models/container_list_response.rb', line 17 required :created_at, Integer |
#expires_after ⇒ OpenAI::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 } |
#id ⇒ String
Unique identifier for the container.
11 |
# File 'lib/openai/models/container_list_response.rb', line 11 required :id, String |
#last_active_at ⇒ Integer?
Unix timestamp (in seconds) when the container was last active.
49 |
# File 'lib/openai/models/container_list_response.rb', line 49 optional :last_active_at, Integer |
#memory_limit ⇒ Symbol, ...
The memory limit configured for the container.
55 |
# File 'lib/openai/models/container_list_response.rb', line 55 optional :memory_limit, enum: -> { OpenAI::Models::ContainerListResponse::MemoryLimit } |
#name ⇒ String
Name of the container.
23 |
# File 'lib/openai/models/container_list_response.rb', line 23 required :name, String |
#object ⇒ String
The type of this object.
29 |
# File 'lib/openai/models/container_list_response.rb', line 29 required :object, String |
#status ⇒ String
Status of the container (e.g., active, deleted).
35 |
# File 'lib/openai/models/container_list_response.rb', line 35 required :status, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/container_list_response.rb', line 108
|