Class: OpenAI::Models::Beta::Agents::Environments::TemplateUpdateParams::Packages
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Agents::Environments::TemplateUpdateParams::Packages
- Defined in:
- lib/openai/models/beta/agents/environments/template_update_params.rb,
sig/openai/models/beta/agents/environments/template_update_params.rbs
Instance Attribute Summary collapse
-
#npm ⇒ Array<String>?
npm packages to install globally.
-
#python ⇒ Array<String>?
Python packages to install.
-
#system_ ⇒ Array<String>?
System packages to install.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(npm: nil, python: nil, system_: nil) ⇒ Object
constructor
Packages to install in an OpenAI-hosted environment.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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(npm: nil, python: nil, system_: nil) ⇒ Object
Packages to install in an OpenAI-hosted environment.
|
|
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 195
|
Instance Attribute Details
#npm ⇒ Array<String>?
npm packages to install globally. Defaults to an empty list.
181 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 181 optional :npm, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#python ⇒ Array<String>?
Python packages to install. Defaults to an empty list.
187 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 187 optional :python, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#system_ ⇒ Array<String>?
System packages to install. Defaults to an empty list.
193 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 193 optional :system_, OpenAI::Internal::Type::ArrayOf[String], api_name: :system, nil?: true |
Instance Method Details
#to_hash ⇒ {
132 |
# File 'sig/openai/models/beta/agents/environments/template_update_params.rbs', line 132
def to_hash: -> {
|