Class: Rafflesia::SimulationGromacsMaterializeInputsRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationGromacsMaterializeInputsRequest
- Defined in:
- lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ allow_network: :allow_network, input_object_ids: :input_object_ids, max_bytes: :max_bytes, max_download_bytes: :max_download_bytes, output_dir: :output_dir, preflight_object_id: :preflight_object_id, root_object_ids: :root_object_ids, script_object_id: :script_object_id, stage_index: :stage_index }.freeze
Instance Attribute Summary collapse
-
#allow_network ⇒ Object
Returns the value of attribute allow_network.
-
#input_object_ids ⇒ Object
Returns the value of attribute input_object_ids.
-
#max_bytes ⇒ Object
Returns the value of attribute max_bytes.
-
#max_download_bytes ⇒ Object
Returns the value of attribute max_download_bytes.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
-
#preflight_object_id ⇒ Object
Returns the value of attribute preflight_object_id.
-
#root_object_ids ⇒ Object
Returns the value of attribute root_object_ids.
-
#script_object_id ⇒ Object
Returns the value of attribute script_object_id.
-
#stage_index ⇒ Object
Returns the value of attribute stage_index.
Instance Method Summary collapse
-
#initialize(json) ⇒ SimulationGromacsMaterializeInputsRequest
constructor
A new instance of SimulationGromacsMaterializeInputsRequest.
Constructor Details
#initialize(json) ⇒ SimulationGromacsMaterializeInputsRequest
Returns a new instance of SimulationGromacsMaterializeInputsRequest.
31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb', line 31 def initialize(json) super() hash = self.class.normalize(json) @allow_network = hash[:allow_network] @input_object_ids = hash[:input_object_ids] || {} @max_bytes = hash[:max_bytes] @max_download_bytes = hash[:max_download_bytes] @output_dir = hash[:output_dir] @preflight_object_id = hash[:preflight_object_id] @root_object_ids = (hash[:root_object_ids] || []) @script_object_id = hash[:script_object_id] @stage_index = hash[:stage_index] end |
Instance Attribute Details
#allow_network ⇒ Object
Returns the value of attribute allow_network.
20 21 22 |
# File 'lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb', line 20 def allow_network @allow_network end |
#input_object_ids ⇒ Object
Returns the value of attribute input_object_ids.
20 21 22 |
# File 'lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb', line 20 def input_object_ids @input_object_ids end |
#max_bytes ⇒ Object
Returns the value of attribute max_bytes.
20 21 22 |
# File 'lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb', line 20 def max_bytes @max_bytes end |
#max_download_bytes ⇒ Object
Returns the value of attribute max_download_bytes.
20 21 22 |
# File 'lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb', line 20 def max_download_bytes @max_download_bytes end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
20 21 22 |
# File 'lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb', line 20 def output_dir @output_dir end |
#preflight_object_id ⇒ Object
Returns the value of attribute preflight_object_id.
20 21 22 |
# File 'lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb', line 20 def preflight_object_id @preflight_object_id end |
#root_object_ids ⇒ Object
Returns the value of attribute root_object_ids.
20 21 22 |
# File 'lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb', line 20 def root_object_ids @root_object_ids end |
#script_object_id ⇒ Object
Returns the value of attribute script_object_id.
20 21 22 |
# File 'lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb', line 20 def script_object_id @script_object_id end |
#stage_index ⇒ Object
Returns the value of attribute stage_index.
20 21 22 |
# File 'lib/rafflesia/simulations/simulation_gromacs_materialize_inputs_request.rb', line 20 def stage_index @stage_index end |