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