Class: Rafflesia::InterfaceBurialResidue
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::InterfaceBurialResidue
- Defined in:
- lib/rafflesia/proteins/interface_burial_residue.rb
Constant Summary collapse
- HASH_ATTRS =
{ auth_position: :auth_position, chain_id: :chain_id, delta_sasa: :delta_sasa, group: :group, is_interface: :is_interface, position: :position, relative_burial: :relative_burial, residue: :residue, sasa_complex: :sasa_complex, sasa_monomer: :sasa_monomer }.freeze
Instance Attribute Summary collapse
-
#auth_position ⇒ Object
Returns the value of attribute auth_position.
-
#chain_id ⇒ Object
Returns the value of attribute chain_id.
-
#delta_sasa ⇒ Object
Returns the value of attribute delta_sasa.
-
#group ⇒ Object
Returns the value of attribute group.
-
#is_interface ⇒ Object
Returns the value of attribute is_interface.
-
#position ⇒ Object
Returns the value of attribute position.
-
#relative_burial ⇒ Object
Returns the value of attribute relative_burial.
-
#residue ⇒ Object
Returns the value of attribute residue.
-
#sasa_complex ⇒ Object
Returns the value of attribute sasa_complex.
-
#sasa_monomer ⇒ Object
Returns the value of attribute sasa_monomer.
Instance Method Summary collapse
-
#initialize(json) ⇒ InterfaceBurialResidue
constructor
A new instance of InterfaceBurialResidue.
Constructor Details
#initialize(json) ⇒ InterfaceBurialResidue
Returns a new instance of InterfaceBurialResidue.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 33 def initialize(json) super() hash = self.class.normalize(json) @auth_position = hash[:auth_position] @chain_id = hash[:chain_id] @delta_sasa = hash[:delta_sasa] @group = hash[:group] @is_interface = hash[:is_interface] @position = hash[:position] @relative_burial = hash[:relative_burial] @residue = hash[:residue] @sasa_complex = hash[:sasa_complex] @sasa_monomer = hash[:sasa_monomer] end |
Instance Attribute Details
#auth_position ⇒ Object
Returns the value of attribute auth_position.
21 22 23 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 21 def auth_position @auth_position end |
#chain_id ⇒ Object
Returns the value of attribute chain_id.
21 22 23 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 21 def chain_id @chain_id end |
#delta_sasa ⇒ Object
Returns the value of attribute delta_sasa.
21 22 23 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 21 def delta_sasa @delta_sasa end |
#group ⇒ Object
Returns the value of attribute group.
21 22 23 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 21 def group @group end |
#is_interface ⇒ Object
Returns the value of attribute is_interface.
21 22 23 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 21 def is_interface @is_interface end |
#position ⇒ Object
Returns the value of attribute position.
21 22 23 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 21 def position @position end |
#relative_burial ⇒ Object
Returns the value of attribute relative_burial.
21 22 23 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 21 def relative_burial @relative_burial end |
#residue ⇒ Object
Returns the value of attribute residue.
21 22 23 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 21 def residue @residue end |
#sasa_complex ⇒ Object
Returns the value of attribute sasa_complex.
21 22 23 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 21 def sasa_complex @sasa_complex end |
#sasa_monomer ⇒ Object
Returns the value of attribute sasa_monomer.
21 22 23 |
# File 'lib/rafflesia/proteins/interface_burial_residue.rb', line 21 def sasa_monomer @sasa_monomer end |