Class: Rafflesia::InterfaceFeaturesRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::InterfaceFeaturesRequest
- Defined in:
- lib/rafflesia/proteins/interface_features_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ chain_a: :chain_a, chain_b: :chain_b, compute_buried_surface_area: :compute_buried_surface_area, compute_pae: :compute_pae, compute_plddt: :compute_plddt, compute_region_ids: :compute_region_ids, include_pairs: :include_pairs, include_residue_contacts: :include_residue_contacts, include_same_chain: :include_same_chain, interface_id: :interface_id, max_interfaces: :max_interfaces, max_pairs: :max_pairs, method: :method, radius: :radius, structure_id: :structure_id }.freeze
Instance Attribute Summary collapse
-
#chain_a ⇒ Object
Returns the value of attribute chain_a.
-
#chain_b ⇒ Object
Returns the value of attribute chain_b.
-
#compute_buried_surface_area ⇒ Object
Returns the value of attribute compute_buried_surface_area.
-
#compute_pae ⇒ Object
Returns the value of attribute compute_pae.
-
#compute_plddt ⇒ Object
Returns the value of attribute compute_plddt.
-
#compute_region_ids ⇒ Object
Returns the value of attribute compute_region_ids.
-
#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.
-
#interface_id ⇒ Object
Returns the value of attribute interface_id.
-
#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.
-
#radius ⇒ Object
Returns the value of attribute radius.
-
#structure_id ⇒ Object
Returns the value of attribute structure_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ InterfaceFeaturesRequest
constructor
A new instance of InterfaceFeaturesRequest.
Constructor Details
#initialize(json) ⇒ InterfaceFeaturesRequest
Returns a new instance of InterfaceFeaturesRequest.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 43 def initialize(json) super() hash = self.class.normalize(json) @chain_a = hash[:chain_a] @chain_b = hash[:chain_b] @compute_buried_surface_area = hash[:compute_buried_surface_area] @compute_pae = hash[:compute_pae] @compute_plddt = hash[:compute_plddt] @compute_region_ids = hash[:compute_region_ids] @include_pairs = hash[:include_pairs] @include_residue_contacts = hash[:include_residue_contacts] @include_same_chain = hash[:include_same_chain] @interface_id = hash[:interface_id] @max_interfaces = hash[:max_interfaces] @max_pairs = hash[:max_pairs] @method = hash[:method] @radius = hash[:radius] @structure_id = hash[:structure_id] end |
Instance Attribute Details
#chain_a ⇒ Object
Returns the value of attribute chain_a.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def chain_a @chain_a end |
#chain_b ⇒ Object
Returns the value of attribute chain_b.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def chain_b @chain_b end |
#compute_buried_surface_area ⇒ Object
Returns the value of attribute compute_buried_surface_area.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def compute_buried_surface_area @compute_buried_surface_area end |
#compute_pae ⇒ Object
Returns the value of attribute compute_pae.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def compute_pae @compute_pae end |
#compute_plddt ⇒ Object
Returns the value of attribute compute_plddt.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def compute_plddt @compute_plddt end |
#compute_region_ids ⇒ Object
Returns the value of attribute compute_region_ids.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def compute_region_ids @compute_region_ids end |
#include_pairs ⇒ Object
Returns the value of attribute include_pairs.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def include_pairs @include_pairs end |
#include_residue_contacts ⇒ Object
Returns the value of attribute include_residue_contacts.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def include_residue_contacts @include_residue_contacts end |
#include_same_chain ⇒ Object
Returns the value of attribute include_same_chain.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def include_same_chain @include_same_chain end |
#interface_id ⇒ Object
Returns the value of attribute interface_id.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def interface_id @interface_id end |
#max_interfaces ⇒ Object
Returns the value of attribute max_interfaces.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def max_interfaces @max_interfaces end |
#max_pairs ⇒ Object
Returns the value of attribute max_pairs.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def max_pairs @max_pairs end |
#method ⇒ Object
Returns the value of attribute method.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def method @method end |
#radius ⇒ Object
Returns the value of attribute radius.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def radius @radius end |
#structure_id ⇒ Object
Returns the value of attribute structure_id.
26 27 28 |
# File 'lib/rafflesia/proteins/interface_features_request.rb', line 26 def structure_id @structure_id end |