Class: OpenAI::Models::Beta::Environment::SelfHosted
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Environment::SelfHosted
- Defined in:
- lib/openai/models/beta/environment.rb,
sig/openai/models/beta/environment.rbs
Instance Attribute Summary collapse
-
#capability_directories ⇒ ::Array[String]
Directories that contain capabilities exposed to the agent.
-
#id ⇒ String
The public ID of the environment.
-
#remote_url ⇒ String
Pass this URL unchanged to
codex exec-server --remotewhen connecting this environment. -
#type ⇒ :self_hosted
The type of the object.
-
#workspace_directory ⇒ String
The absolute project directory inside the environment.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(id:, capability_directories:, remote_url:, workspace_directory:, type: :self_hosted) ⇒ SelfHosted
constructor
A new instance of SelfHosted.
- #to_hash ⇒ { id: String, capability_directories: ::Array[String], remote_url: String, ?type: :self_hosted, workspace_directory: 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(id:, capability_directories:, remote_url:, workspace_directory:, type: :self_hosted) ⇒ SelfHosted
Returns a new instance of SelfHosted.
|
|
# File 'lib/openai/models/beta/environment.rb', line 277
|
Instance Attribute Details
#capability_directories ⇒ ::Array[String]
Directories that contain capabilities exposed to the agent.
256 |
# File 'lib/openai/models/beta/environment.rb', line 256 required :capability_directories, OpenAI::Internal::Type::ArrayOf[String] |
#id ⇒ String
The public ID of the environment.
250 |
# File 'lib/openai/models/beta/environment.rb', line 250 required :id, String |
#remote_url ⇒ String
Pass this URL unchanged to codex exec-server --remote when connecting this
environment.
263 |
# File 'lib/openai/models/beta/environment.rb', line 263 required :remote_url, String |
#type ⇒ :self_hosted
The type of the object. Always self_hosted.
269 |
# File 'lib/openai/models/beta/environment.rb', line 269 required :type, const: :self_hosted |
#workspace_directory ⇒ String
The absolute project directory inside the environment. Defaults to /workspace.
275 |
# File 'lib/openai/models/beta/environment.rb', line 275 required :workspace_directory, String |
Instance Method Details
#to_hash ⇒ { id: String, capability_directories: ::Array[String], remote_url: String, ?type: :self_hosted, workspace_directory: String }
275 276 277 278 279 280 281 |
# File 'sig/openai/models/beta/environment.rbs', line 275
def to_hash: -> {
id: String,
capability_directories: ::Array[String],
remote_url: String,
?type: :self_hosted,
workspace_directory: String
}
|