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