Class: Rafflesia::FoldAlignRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldAlignRequest
- Defined in:
- lib/rafflesia/proteins/fold_align_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, query_id: :query_id, target_id: :target_id }.freeze
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#query_id ⇒ Object
Returns the value of attribute query_id.
-
#target_id ⇒ Object
Returns the value of attribute target_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldAlignRequest
constructor
A new instance of FoldAlignRequest.
Constructor Details
#initialize(json) ⇒ FoldAlignRequest
Returns a new instance of FoldAlignRequest.
19 20 21 22 23 24 25 |
# File 'lib/rafflesia/proteins/fold_align_request.rb', line 19 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] @query_id = hash[:query_id] @target_id = hash[:target_id] end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
14 15 16 |
# File 'lib/rafflesia/proteins/fold_align_request.rb', line 14 def backend @backend end |
#query_id ⇒ Object
Returns the value of attribute query_id.
14 15 16 |
# File 'lib/rafflesia/proteins/fold_align_request.rb', line 14 def query_id @query_id end |
#target_id ⇒ Object
Returns the value of attribute target_id.
14 15 16 |
# File 'lib/rafflesia/proteins/fold_align_request.rb', line 14 def target_id @target_id end |