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