Class: Rafflesia::InterfaceDetectRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::InterfaceDetectRequest
- Defined in:
- lib/rafflesia/proteins/interface_detect_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ database: :database, include_pairs: :include_pairs, include_residue_contacts: :include_residue_contacts, include_same_chain: :include_same_chain, include_waters: :include_waters, max_interfaces: :max_interfaces, max_pairs: :max_pairs, method: :method, min_sequence_separation: :min_sequence_separation, output_format: :output_format, output_relation: :output_relation, partition_by: :partition_by, preview_limit: :preview_limit, radius: :radius, relation: :relation, release: :release, residues: :residues, residues_require_both: :residues_require_both, sort_by: :sort_by, structure_id: :structure_id }.freeze
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#include_pairs ⇒ Object
Returns the value of attribute include_pairs.
-
#include_residue_contacts ⇒ Object
Returns the value of attribute include_residue_contacts.
-
#include_same_chain ⇒ Object
Returns the value of attribute include_same_chain.
-
#include_waters ⇒ Object
Returns the value of attribute include_waters.
-
#max_interfaces ⇒ Object
Returns the value of attribute max_interfaces.
-
#max_pairs ⇒ Object
Returns the value of attribute max_pairs.
-
#method ⇒ Object
Returns the value of attribute method.
-
#min_sequence_separation ⇒ Object
Returns the value of attribute min_sequence_separation.
-
#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 ⇒ Object
Returns the value of attribute radius.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#release ⇒ Object
Returns the value of attribute release.
-
#residues ⇒ Object
Returns the value of attribute residues.
-
#residues_require_both ⇒ Object
Returns the value of attribute residues_require_both.
-
#sort_by ⇒ Object
Returns the value of attribute sort_by.
-
#structure_id ⇒ Object
Returns the value of attribute structure_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ InterfaceDetectRequest
constructor
A new instance of InterfaceDetectRequest.
Constructor Details
#initialize(json) ⇒ InterfaceDetectRequest
Returns a new instance of InterfaceDetectRequest.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 53 def initialize(json) super() hash = self.class.normalize(json) @database = hash[:database] @include_pairs = hash[:include_pairs] @include_residue_contacts = hash[:include_residue_contacts] @include_same_chain = hash[:include_same_chain] @include_waters = hash[:include_waters] @max_interfaces = hash[:max_interfaces] @max_pairs = hash[:max_pairs] @method = hash[:method] @min_sequence_separation = hash[:min_sequence_separation] @output_format = hash[:output_format] @output_relation = hash[:output_relation] @partition_by = (hash[:partition_by] || []) @preview_limit = hash[:preview_limit] @radius = hash[:radius] @relation = hash[:relation] @release = hash[:release] @residues = (hash[:residues] || []) @residues_require_both = hash[:residues_require_both] @sort_by = (hash[:sort_by] || []) @structure_id = hash[:structure_id] end |
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def database @database end |
#include_pairs ⇒ Object
Returns the value of attribute include_pairs.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def include_pairs @include_pairs end |
#include_residue_contacts ⇒ Object
Returns the value of attribute include_residue_contacts.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def include_residue_contacts @include_residue_contacts end |
#include_same_chain ⇒ Object
Returns the value of attribute include_same_chain.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def include_same_chain @include_same_chain end |
#include_waters ⇒ Object
Returns the value of attribute include_waters.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def include_waters @include_waters end |
#max_interfaces ⇒ Object
Returns the value of attribute max_interfaces.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def max_interfaces @max_interfaces end |
#max_pairs ⇒ Object
Returns the value of attribute max_pairs.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def max_pairs @max_pairs end |
#method ⇒ Object
Returns the value of attribute method.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def method @method end |
#min_sequence_separation ⇒ Object
Returns the value of attribute min_sequence_separation.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def min_sequence_separation @min_sequence_separation end |
#output_format ⇒ Object
Returns the value of attribute output_format.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def output_relation @output_relation end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def preview_limit @preview_limit end |
#radius ⇒ Object
Returns the value of attribute radius.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def radius @radius end |
#relation ⇒ Object
Returns the value of attribute relation.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def release @release end |
#residues ⇒ Object
Returns the value of attribute residues.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def residues @residues end |
#residues_require_both ⇒ Object
Returns the value of attribute residues_require_both.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def residues_require_both @residues_require_both end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def sort_by @sort_by end |
#structure_id ⇒ Object
Returns the value of attribute structure_id.
31 32 33 |
# File 'lib/rafflesia/proteins/interface_detect_request.rb', line 31 def structure_id @structure_id end |