Class: Rafflesia::SimulationContactsTableRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationContactsTableRequest
- Defined in:
- lib/rafflesia/simulations/simulation_contacts_table_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, database: :database, end_frame: :end_frame, max_pairs: :max_pairs, output_format: :output_format, output_relation: :output_relation, partition_by: :partition_by, preview_limit: :preview_limit, radius_angstrom: :radius_angstrom, relation: :relation, release: :release, selection_a: :selection_a, selection_b: :selection_b, sort_by: :sort_by, start_frame: :start_frame, stride: :stride, 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
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#database ⇒ Object
Returns the value of attribute database.
-
#end_frame ⇒ Object
Returns the value of attribute end_frame.
-
#max_pairs ⇒ Object
Returns the value of attribute max_pairs.
-
#output_format ⇒ Object
Returns the value of attribute output_format.
-
#output_relation ⇒ Object
Returns the value of attribute output_relation.
-
#partition_by ⇒ Object
Returns the value of attribute partition_by.
-
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
-
#radius_angstrom ⇒ Object
Returns the value of attribute radius_angstrom.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#release ⇒ Object
Returns the value of attribute release.
-
#selection_a ⇒ Object
Returns the value of attribute selection_a.
-
#selection_b ⇒ Object
Returns the value of attribute selection_b.
-
#sort_by ⇒ Object
Returns the value of attribute sort_by.
-
#start_frame ⇒ Object
Returns the value of attribute start_frame.
-
#stride ⇒ Object
Returns the value of attribute stride.
-
#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_manifest_object_id ⇒ Object
Returns the value of attribute trajectory_manifest_object_id.
-
#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) ⇒ SimulationContactsTableRequest
constructor
A new instance of SimulationContactsTableRequest.
Constructor Details
#initialize(json) ⇒ SimulationContactsTableRequest
Returns a new instance of SimulationContactsTableRequest.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 61 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] @database = hash[:database] @end_frame = hash[:end_frame] @max_pairs = hash[:max_pairs] @output_format = hash[:output_format] @output_relation = hash[:output_relation] @partition_by = (hash[:partition_by] || []) @preview_limit = hash[:preview_limit] @radius_angstrom = hash[:radius_angstrom] @relation = hash[:relation] @release = hash[:release] @selection_a = hash[:selection_a] @selection_b = hash[:selection_b] @sort_by = (hash[:sort_by] || []) @start_frame = hash[:start_frame] @stride = hash[:stride] @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
#backend ⇒ Object
Returns the value of attribute backend.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def backend @backend end |
#database ⇒ Object
Returns the value of attribute database.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def database @database end |
#end_frame ⇒ Object
Returns the value of attribute end_frame.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def end_frame @end_frame end |
#max_pairs ⇒ Object
Returns the value of attribute max_pairs.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def max_pairs @max_pairs end |
#output_format ⇒ Object
Returns the value of attribute output_format.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def output_relation @output_relation end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def preview_limit @preview_limit end |
#radius_angstrom ⇒ Object
Returns the value of attribute radius_angstrom.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def radius_angstrom @radius_angstrom end |
#relation ⇒ Object
Returns the value of attribute relation.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def release @release end |
#selection_a ⇒ Object
Returns the value of attribute selection_a.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def selection_a @selection_a end |
#selection_b ⇒ Object
Returns the value of attribute selection_b.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def selection_b @selection_b end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def sort_by @sort_by end |
#start_frame ⇒ Object
Returns the value of attribute start_frame.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def start_frame @start_frame end |
#stride ⇒ Object
Returns the value of attribute stride.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def stride @stride end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def timeout_ms @timeout_ms end |
#topology_format ⇒ Object
Returns the value of attribute topology_format.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def topology_format @topology_format end |
#topology_object_id ⇒ Object
Returns the value of attribute topology_object_id.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def topology_object_id @topology_object_id end |
#topology_path ⇒ Object
Returns the value of attribute topology_path.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def topology_path @topology_path end |
#trajectory_format ⇒ Object
Returns the value of attribute trajectory_format.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def trajectory_format @trajectory_format end |
#trajectory_manifest_object_id ⇒ Object
Returns the value of attribute trajectory_manifest_object_id.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def trajectory_manifest_object_id @trajectory_manifest_object_id end |
#trajectory_object_id ⇒ Object
Returns the value of attribute trajectory_object_id.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def trajectory_object_id @trajectory_object_id end |
#trajectory_path ⇒ Object
Returns the value of attribute trajectory_path.
35 36 37 |
# File 'lib/rafflesia/simulations/simulation_contacts_table_request.rb', line 35 def trajectory_path @trajectory_path end |