Class: Rafflesia::SimulationTrajectoryImportRequest

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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

#backendObject

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_msObject

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_formatObject

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_idObject

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_pathObject

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_formatObject

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_idObject

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_pathObject

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