Class: Cerca::Models::SandboxExecParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cerca::Models::SandboxExecParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/cerca/models/sandbox_exec_params.rb
Overview
Instance Attribute Summary collapse
- #agent_id ⇒ String
- #command ⇒ String
-
#execution_timeout ⇒ Float?
Timeout in seconds.
- #max_buffer ⇒ Float?
-
#workdir ⇒ String?
Optional sandbox working directory.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #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(agent_id:, command:, max_buffer: nil, execution_timeout: nil, workdir: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/cerca/models/sandbox_exec_params.rb', line 37
|
Instance Attribute Details
#agent_id ⇒ String
13 |
# File 'lib/cerca/models/sandbox_exec_params.rb', line 13 required :agent_id, String |
#command ⇒ String
18 |
# File 'lib/cerca/models/sandbox_exec_params.rb', line 18 required :command, String |
#execution_timeout ⇒ Float?
Timeout in seconds. Runtime converts this to milliseconds.
29 |
# File 'lib/cerca/models/sandbox_exec_params.rb', line 29 optional :execution_timeout, Float, api_name: :timeout |
#max_buffer ⇒ Float?
23 |
# File 'lib/cerca/models/sandbox_exec_params.rb', line 23 optional :max_buffer, Float, api_name: :maxBuffer |
#workdir ⇒ String?
Optional sandbox working directory.
35 |
# File 'lib/cerca/models/sandbox_exec_params.rb', line 35 optional :workdir, String, nil?: true |