Class: OpenAI::Models::Beta::Agents::Environments::EnvironmentTemplate::Packages

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/beta/agents/environments/environment_template.rb,
sig/openai/models/beta/agents/environments/environment_template.rbs

Overview

See Also:

  • OpenAI::Models::Beta::Agents::Environments::EnvironmentTemplate#packages

Instance Attribute Summary collapse

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

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

#initializeObject



182
# File 'sig/openai/models/beta/agents/environments/environment_template.rbs', line 182

def initialize: (

Instance Attribute Details

#npmArray<String>

npm packages installed globally in the environment.

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


252
# File 'lib/openai/models/beta/agents/environments/environment_template.rb', line 252

required :npm, OpenAI::Internal::Type::ArrayOf[String]

#pythonArray<String>

Python packages installed in the environment.

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


258
# File 'lib/openai/models/beta/agents/environments/environment_template.rb', line 258

required :python, OpenAI::Internal::Type::ArrayOf[String]

#system_Array<String>

System packages installed in the environment.

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


264
# File 'lib/openai/models/beta/agents/environments/environment_template.rb', line 264

required :system_, OpenAI::Internal::Type::ArrayOf[String], api_name: :system

Instance Method Details

#to_hash{

Returns:

  • ({)


188
# File 'sig/openai/models/beta/agents/environments/environment_template.rbs', line 188

def to_hash: -> {