Class: OpenAI::Models::Beta::EnvironmentParam::OpenAIHosted::Packages
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::EnvironmentParam::OpenAIHosted::Packages
- Defined in:
- lib/openai/models/beta/environment_param.rb,
sig/openai/models/beta/environment_param.rbs
Overview
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 ⇒ Packages
constructor
A new instance of Packages.
- #to_hash ⇒ { ?npm: ::Array[String]?, ?python: ::Array[String]?, ?system_: ::Array[String]? }
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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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 ⇒ Packages
Returns a new instance of Packages.
270 271 272 273 274 |
# File 'sig/openai/models/beta/environment_param.rbs', line 270
def initialize: (
?npm: ::Array[String]?,
?python: ::Array[String]?,
?system_: ::Array[String]?
) -> void
|
Instance Attribute Details
#npm ⇒ ::Array[String]?
npm packages to install globally. Defaults to an empty list.
280 |
# File 'lib/openai/models/beta/environment_param.rb', line 280 optional :npm, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#python ⇒ ::Array[String]?
Python packages to install. Defaults to an empty list.
286 |
# File 'lib/openai/models/beta/environment_param.rb', line 286 optional :python, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#system_ ⇒ ::Array[String]?
System packages to install. Defaults to an empty list.
292 |
# File 'lib/openai/models/beta/environment_param.rb', line 292 optional :system_, OpenAI::Internal::Type::ArrayOf[String], api_name: :system, nil?: true |
Instance Method Details
#to_hash ⇒ { ?npm: ::Array[String]?, ?python: ::Array[String]?, ?system_: ::Array[String]? }
276 277 278 279 280 |
# File 'sig/openai/models/beta/environment_param.rbs', line 276
def to_hash: -> {
?npm: ::Array[String]?,
?python: ::Array[String]?,
?system_: ::Array[String]?
}
|