Class: Rafflesia::SimulationTrajectoryImportRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationTrajectoryImportRequest
- Defined in:
- lib/rafflesia/simulations/simulation_trajectory_import_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, timeout_ms: :timeout_ms, topology_format: :topology_format, topology_object_id: :topology_object_id, topology_path: :topology_path, trajectory_format: :trajectory_format, trajectory_object_id: :trajectory_object_id, trajectory_path: :trajectory_path }.freeze
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
-
#topology_format ⇒ Object
Returns the value of attribute topology_format.
-
#topology_object_id ⇒ Object
Returns the value of attribute topology_object_id.
-
#topology_path ⇒ Object
Returns the value of attribute topology_path.
-
#trajectory_format ⇒ Object
Returns the value of attribute trajectory_format.
-
#trajectory_object_id ⇒ Object
Returns the value of attribute trajectory_object_id.
-
#trajectory_path ⇒ Object
Returns the value of attribute trajectory_path.
Instance Method Summary collapse
-
#initialize(json) ⇒ SimulationTrajectoryImportRequest
constructor
A new instance of SimulationTrajectoryImportRequest.
Constructor Details
#initialize(json) ⇒ SimulationTrajectoryImportRequest
Returns a new instance of SimulationTrajectoryImportRequest.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rafflesia/simulations/simulation_trajectory_import_request.rb', line 29 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] @timeout_ms = hash[:timeout_ms] @topology_format = hash[:topology_format] @topology_object_id = hash[:topology_object_id] @topology_path = hash[:topology_path] @trajectory_format = hash[:trajectory_format] @trajectory_object_id = hash[:trajectory_object_id] @trajectory_path = hash[:trajectory_path] end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_trajectory_import_request.rb', line 19 def backend @backend end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_trajectory_import_request.rb', line 19 def timeout_ms @timeout_ms end |
#topology_format ⇒ Object
Returns the value of attribute topology_format.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_trajectory_import_request.rb', line 19 def topology_format @topology_format end |
#topology_object_id ⇒ Object
Returns the value of attribute topology_object_id.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_trajectory_import_request.rb', line 19 def topology_object_id @topology_object_id end |
#topology_path ⇒ Object
Returns the value of attribute topology_path.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_trajectory_import_request.rb', line 19 def topology_path @topology_path end |
#trajectory_format ⇒ Object
Returns the value of attribute trajectory_format.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_trajectory_import_request.rb', line 19 def trajectory_format @trajectory_format end |
#trajectory_object_id ⇒ Object
Returns the value of attribute trajectory_object_id.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_trajectory_import_request.rb', line 19 def trajectory_object_id @trajectory_object_id end |
#trajectory_path ⇒ Object
Returns the value of attribute trajectory_path.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_trajectory_import_request.rb', line 19 def trajectory_path @trajectory_path end |