Class: OpenAI::Models::Beta::EnvironmentParam::SelfHosted
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::EnvironmentParam::SelfHosted
- Defined in:
- lib/openai/models/beta/environment_param.rb,
sig/openai/models/beta/environment_param.rbs
Instance Attribute Summary collapse
-
#capability_directories ⇒ ::Array[String]?
Directories that contain capabilities exposed to the agent.
-
#type ⇒ :self_hosted
The type of the object.
-
#workspace_directory ⇒ String
Absolute project directory inside the self-hosted environment.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(workspace_directory:, capability_directories: nil, type: :self_hosted) ⇒ SelfHosted
constructor
A new instance of SelfHosted.
- #to_hash ⇒ { ?type: :self_hosted, workspace_directory: String, ?capability_directories: ::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(workspace_directory:, capability_directories: nil, type: :self_hosted) ⇒ SelfHosted
Returns a new instance of SelfHosted.
|
|
# File 'lib/openai/models/beta/environment_param.rb', line 328
|
Instance Attribute Details
#capability_directories ⇒ ::Array[String]?
Directories that contain capabilities exposed to the agent. Defaults to an empty list.
326 |
# File 'lib/openai/models/beta/environment_param.rb', line 326 optional :capability_directories, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#type ⇒ :self_hosted
The type of the object. Always self_hosted.
313 |
# File 'lib/openai/models/beta/environment_param.rb', line 313 required :type, const: :self_hosted |
#workspace_directory ⇒ String
Absolute project directory inside the self-hosted environment.
319 |
# File 'lib/openai/models/beta/environment_param.rb', line 319 required :workspace_directory, String |
Instance Method Details
#to_hash ⇒ { ?type: :self_hosted, workspace_directory: String, ?capability_directories: ::Array[String]? }
315 316 317 318 319 |
# File 'sig/openai/models/beta/environment_param.rbs', line 315
def to_hash: -> {
?type: :self_hosted,
workspace_directory: String,
?capability_directories: ::Array[String]?
}
|