Class: Anthropic::Models::ContainerParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::ContainerParams
- Defined in:
- lib/anthropic/models/container_params.rb,
sig/anthropic/models/container_params.rbs
Instance Attribute Summary collapse
-
#id ⇒ String?
Container id.
-
#skills ⇒ Array<Anthropic::Models::SkillParams>?
List of skills to load in the container.
Instance Method Summary collapse
-
#initialize(id: nil, skills: nil) ⇒ Object
constructor
Container parameters with skills to be loaded.
- #to_hash ⇒ { id: String?, skills: ::Array[Anthropic::SkillParams]? }
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: nil, skills: nil) ⇒ Object
Container parameters with skills to be loaded.
|
|
# File 'lib/anthropic/models/container_params.rb', line 18
|
Instance Attribute Details
#id ⇒ String?
Container id
10 |
# File 'lib/anthropic/models/container_params.rb', line 10 optional :id, String, nil?: true |
#skills ⇒ Array<Anthropic::Models::SkillParams>?
List of skills to load in the container
16 |
# File 'lib/anthropic/models/container_params.rb', line 16 optional :skills, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::SkillParams] }, nil?: true |
Instance Method Details
#to_hash ⇒ { id: String?, skills: ::Array[Anthropic::SkillParams]? }
16 |
# File 'sig/anthropic/models/container_params.rbs', line 16
def to_hash: -> { id: String?, skills: ::Array[Anthropic::SkillParams]? }
|