Class: Rafflesia::DockQRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DockQRequest
- Defined in:
- lib/rafflesia/proteins/dock_q_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ dockq_binary_path: :dockq_binary_path, model_chain_mapping: :model_chain_mapping, native_chain_mapping: :native_chain_mapping, query_structure_id: :query_structure_id, target_structure_id: :target_structure_id }.freeze
Instance Attribute Summary collapse
-
#dockq_binary_path ⇒ Object
Returns the value of attribute dockq_binary_path.
-
#model_chain_mapping ⇒ Object
Returns the value of attribute model_chain_mapping.
-
#native_chain_mapping ⇒ Object
Returns the value of attribute native_chain_mapping.
-
#query_structure_id ⇒ Object
Returns the value of attribute query_structure_id.
-
#target_structure_id ⇒ Object
Returns the value of attribute target_structure_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ DockQRequest
constructor
A new instance of DockQRequest.
Constructor Details
#initialize(json) ⇒ DockQRequest
Returns a new instance of DockQRequest.
23 24 25 26 27 28 29 30 31 |
# File 'lib/rafflesia/proteins/dock_q_request.rb', line 23 def initialize(json) super() hash = self.class.normalize(json) @dockq_binary_path = hash[:dockq_binary_path] @model_chain_mapping = hash[:model_chain_mapping] @native_chain_mapping = hash[:native_chain_mapping] @query_structure_id = hash[:query_structure_id] @target_structure_id = hash[:target_structure_id] end |
Instance Attribute Details
#dockq_binary_path ⇒ Object
Returns the value of attribute dockq_binary_path.
16 17 18 |
# File 'lib/rafflesia/proteins/dock_q_request.rb', line 16 def dockq_binary_path @dockq_binary_path end |
#model_chain_mapping ⇒ Object
Returns the value of attribute model_chain_mapping.
16 17 18 |
# File 'lib/rafflesia/proteins/dock_q_request.rb', line 16 def model_chain_mapping @model_chain_mapping end |
#native_chain_mapping ⇒ Object
Returns the value of attribute native_chain_mapping.
16 17 18 |
# File 'lib/rafflesia/proteins/dock_q_request.rb', line 16 def native_chain_mapping @native_chain_mapping end |
#query_structure_id ⇒ Object
Returns the value of attribute query_structure_id.
16 17 18 |
# File 'lib/rafflesia/proteins/dock_q_request.rb', line 16 def query_structure_id @query_structure_id end |
#target_structure_id ⇒ Object
Returns the value of attribute target_structure_id.
16 17 18 |
# File 'lib/rafflesia/proteins/dock_q_request.rb', line 16 def target_structure_id @target_structure_id end |