Class: Rafflesia::SimulationTrajectoryInspectRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/simulations/simulation_trajectory_inspect_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_manifest_object_id: :trajectory_manifest_object_id,
  trajectory_object_id: :trajectory_object_id,
  trajectory_path: :trajectory_path
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SimulationTrajectoryInspectRequest

Returns a new instance of SimulationTrajectoryInspectRequest.



31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/rafflesia/simulations/simulation_trajectory_inspect_request.rb', line 31

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_manifest_object_id = hash[:trajectory_manifest_object_id]
  @trajectory_object_id = hash[:trajectory_object_id]
  @trajectory_path = hash[:trajectory_path]
end

Instance Attribute Details

#backendObject

Returns the value of attribute backend.



20
21
22
# File 'lib/rafflesia/simulations/simulation_trajectory_inspect_request.rb', line 20

def backend
  @backend
end

#timeout_msObject

Returns the value of attribute timeout_ms.



20
21
22
# File 'lib/rafflesia/simulations/simulation_trajectory_inspect_request.rb', line 20

def timeout_ms
  @timeout_ms
end

#topology_formatObject

Returns the value of attribute topology_format.



20
21
22
# File 'lib/rafflesia/simulations/simulation_trajectory_inspect_request.rb', line 20

def topology_format
  @topology_format
end

#topology_object_idObject

Returns the value of attribute topology_object_id.



20
21
22
# File 'lib/rafflesia/simulations/simulation_trajectory_inspect_request.rb', line 20

def topology_object_id
  @topology_object_id
end

#topology_pathObject

Returns the value of attribute topology_path.



20
21
22
# File 'lib/rafflesia/simulations/simulation_trajectory_inspect_request.rb', line 20

def topology_path
  @topology_path
end

#trajectory_formatObject

Returns the value of attribute trajectory_format.



20
21
22
# File 'lib/rafflesia/simulations/simulation_trajectory_inspect_request.rb', line 20

def trajectory_format
  @trajectory_format
end

#trajectory_manifest_object_idObject

Returns the value of attribute trajectory_manifest_object_id.



20
21
22
# File 'lib/rafflesia/simulations/simulation_trajectory_inspect_request.rb', line 20

def trajectory_manifest_object_id
  @trajectory_manifest_object_id
end

#trajectory_object_idObject

Returns the value of attribute trajectory_object_id.



20
21
22
# File 'lib/rafflesia/simulations/simulation_trajectory_inspect_request.rb', line 20

def trajectory_object_id
  @trajectory_object_id
end

#trajectory_pathObject

Returns the value of attribute trajectory_path.



20
21
22
# File 'lib/rafflesia/simulations/simulation_trajectory_inspect_request.rb', line 20

def trajectory_path
  @trajectory_path
end