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 ⇒ Object constructor
- #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 ⇒ Object
138 |
# File 'sig/openai/models/beta/environment_param.rbs', line 138
def initialize: (
|
Instance Attribute Details
#npm ⇒ Array<String>?
npm packages to install globally. Defaults to an empty list.
202 |
# File 'lib/openai/models/beta/environment_param.rb', line 202 optional :npm, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#python ⇒ Array<String>?
Python packages to install. Defaults to an empty list.
208 |
# File 'lib/openai/models/beta/environment_param.rb', line 208 optional :python, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#system_ ⇒ Array<String>?
System packages to install. Defaults to an empty list.
214 |
# File 'lib/openai/models/beta/environment_param.rb', line 214 optional :system_, OpenAI::Internal::Type::ArrayOf[String], api_name: :system, nil?: true |
Instance Method Details
#to_hash ⇒ {
144 |
# File 'sig/openai/models/beta/environment_param.rbs', line 144
def to_hash: -> {
|