Class: Rafflesia::SimulationRuntimeBootstrapRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationRuntimeBootstrapRequest
- Defined in:
- lib/rafflesia/simulations/simulation_runtime_bootstrap_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ force_recreate: :force_recreate, install: :install, output_dir: :output_dir, packages: :packages, python_path: :python_path, timeout_ms: :timeout_ms }.freeze
Instance Attribute Summary collapse
-
#force_recreate ⇒ Object
Returns the value of attribute force_recreate.
-
#install ⇒ Object
Returns the value of attribute install.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
-
#packages ⇒ Object
Returns the value of attribute packages.
-
#python_path ⇒ Object
Returns the value of attribute python_path.
-
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
Instance Method Summary collapse
-
#initialize(json) ⇒ SimulationRuntimeBootstrapRequest
constructor
A new instance of SimulationRuntimeBootstrapRequest.
Constructor Details
#initialize(json) ⇒ SimulationRuntimeBootstrapRequest
Returns a new instance of SimulationRuntimeBootstrapRequest.
25 26 27 28 29 30 31 32 33 34 |
# File 'lib/rafflesia/simulations/simulation_runtime_bootstrap_request.rb', line 25 def initialize(json) super() hash = self.class.normalize(json) @force_recreate = hash[:force_recreate] @install = hash[:install] @output_dir = hash[:output_dir] @packages = (hash[:packages] || []) @python_path = hash[:python_path] @timeout_ms = hash[:timeout_ms] end |
Instance Attribute Details
#force_recreate ⇒ Object
Returns the value of attribute force_recreate.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_bootstrap_request.rb', line 17 def force_recreate @force_recreate end |
#install ⇒ Object
Returns the value of attribute install.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_bootstrap_request.rb', line 17 def install @install end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_bootstrap_request.rb', line 17 def output_dir @output_dir end |
#packages ⇒ Object
Returns the value of attribute packages.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_bootstrap_request.rb', line 17 def packages @packages end |
#python_path ⇒ Object
Returns the value of attribute python_path.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_bootstrap_request.rb', line 17 def python_path @python_path end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_bootstrap_request.rb', line 17 def timeout_ms @timeout_ms end |