Class: Rafflesia::SimulationGromacsCheckInputsRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationGromacsCheckInputsRequest
- Defined in:
- lib/rafflesia/simulations/simulation_gromacs_check_inputs_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ max_bytes: :max_bytes, root_object_ids: :root_object_ids, script_object_id: :script_object_id }.freeze
Instance Attribute Summary collapse
-
#max_bytes ⇒ Object
Returns the value of attribute max_bytes.
-
#root_object_ids ⇒ Object
Returns the value of attribute root_object_ids.
-
#script_object_id ⇒ Object
Returns the value of attribute script_object_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ SimulationGromacsCheckInputsRequest
constructor
A new instance of SimulationGromacsCheckInputsRequest.
Constructor Details
#initialize(json) ⇒ SimulationGromacsCheckInputsRequest
Returns a new instance of SimulationGromacsCheckInputsRequest.
19 20 21 22 23 24 25 |
# File 'lib/rafflesia/simulations/simulation_gromacs_check_inputs_request.rb', line 19 def initialize(json) super() hash = self.class.normalize(json) @max_bytes = hash[:max_bytes] @root_object_ids = (hash[:root_object_ids] || []) @script_object_id = hash[:script_object_id] end |
Instance Attribute Details
#max_bytes ⇒ Object
Returns the value of attribute max_bytes.
14 15 16 |
# File 'lib/rafflesia/simulations/simulation_gromacs_check_inputs_request.rb', line 14 def max_bytes @max_bytes end |
#root_object_ids ⇒ Object
Returns the value of attribute root_object_ids.
14 15 16 |
# File 'lib/rafflesia/simulations/simulation_gromacs_check_inputs_request.rb', line 14 def root_object_ids @root_object_ids end |
#script_object_id ⇒ Object
Returns the value of attribute script_object_id.
14 15 16 |
# File 'lib/rafflesia/simulations/simulation_gromacs_check_inputs_request.rb', line 14 def script_object_id @script_object_id end |