Class: Anthropic::Models::Container
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Container
- Defined in:
- lib/anthropic/models/container.rb
Instance Attribute Summary collapse
-
#expires_at ⇒ Time
The time at which the container will expire.
-
#id ⇒ String
Identifier for the container used in this request.
Instance Method Summary collapse
-
#initialize(id:, expires_at:) ⇒ void
constructor
Information about the container used in the request (for the code execution tool).
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:, expires_at:) ⇒ void
Information about the container used in the request (for the code execution tool)
|
|
# File 'lib/anthropic/models/container.rb', line 18
|
Instance Attribute Details
#expires_at ⇒ Time
The time at which the container will expire.
16 |
# File 'lib/anthropic/models/container.rb', line 16 required :expires_at, Time |
#id ⇒ String
Identifier for the container used in this request
10 |
# File 'lib/anthropic/models/container.rb', line 10 required :id, String |