Class: Rafflesia::CationPiInteractionRecord
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CationPiInteractionRecord
- Defined in:
- lib/rafflesia/proteins/cation_pi_interaction_record.rb
Constant Summary collapse
- HASH_ATTRS =
{ aromatic_auth_chain_id: :aromatic_auth_chain_id, aromatic_auth_position: :aromatic_auth_position, aromatic_chain_id: :aromatic_chain_id, aromatic_position: :aromatic_position, aromatic_residue: :aromatic_residue, cation_auth_chain_id: :cation_auth_chain_id, cation_auth_position: :cation_auth_position, cation_chain_id: :cation_chain_id, cation_group: :cation_group, cation_position: :cation_position, cation_residue: :cation_residue, distance_angstrom: :distance_angstrom, height_angstrom: :height_angstrom, lateral_offset_angstrom: :lateral_offset_angstrom, offset_angle_deg: :offset_angle_deg, ring_name: :ring_name, same_chain: :same_chain }.freeze
Instance Attribute Summary collapse
-
#aromatic_auth_chain_id ⇒ Object
Returns the value of attribute aromatic_auth_chain_id.
-
#aromatic_auth_position ⇒ Object
Returns the value of attribute aromatic_auth_position.
-
#aromatic_chain_id ⇒ Object
Returns the value of attribute aromatic_chain_id.
-
#aromatic_position ⇒ Object
Returns the value of attribute aromatic_position.
-
#aromatic_residue ⇒ Object
Returns the value of attribute aromatic_residue.
-
#cation_auth_chain_id ⇒ Object
Returns the value of attribute cation_auth_chain_id.
-
#cation_auth_position ⇒ Object
Returns the value of attribute cation_auth_position.
-
#cation_chain_id ⇒ Object
Returns the value of attribute cation_chain_id.
-
#cation_group ⇒ Object
Returns the value of attribute cation_group.
-
#cation_position ⇒ Object
Returns the value of attribute cation_position.
-
#cation_residue ⇒ Object
Returns the value of attribute cation_residue.
-
#distance_angstrom ⇒ Object
Returns the value of attribute distance_angstrom.
-
#height_angstrom ⇒ Object
Returns the value of attribute height_angstrom.
-
#lateral_offset_angstrom ⇒ Object
Returns the value of attribute lateral_offset_angstrom.
-
#offset_angle_deg ⇒ Object
Returns the value of attribute offset_angle_deg.
-
#ring_name ⇒ Object
Returns the value of attribute ring_name.
-
#same_chain ⇒ Object
Returns the value of attribute same_chain.
Instance Method Summary collapse
-
#initialize(json) ⇒ CationPiInteractionRecord
constructor
A new instance of CationPiInteractionRecord.
Constructor Details
#initialize(json) ⇒ CationPiInteractionRecord
Returns a new instance of CationPiInteractionRecord.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 47 def initialize(json) super() hash = self.class.normalize(json) @aromatic_auth_chain_id = hash[:aromatic_auth_chain_id] @aromatic_auth_position = hash[:aromatic_auth_position] @aromatic_chain_id = hash[:aromatic_chain_id] @aromatic_position = hash[:aromatic_position] @aromatic_residue = hash[:aromatic_residue] @cation_auth_chain_id = hash[:cation_auth_chain_id] @cation_auth_position = hash[:cation_auth_position] @cation_chain_id = hash[:cation_chain_id] @cation_group = hash[:cation_group] @cation_position = hash[:cation_position] @cation_residue = hash[:cation_residue] @distance_angstrom = hash[:distance_angstrom] @height_angstrom = hash[:height_angstrom] @lateral_offset_angstrom = hash[:lateral_offset_angstrom] @offset_angle_deg = hash[:offset_angle_deg] @ring_name = hash[:ring_name] @same_chain = hash[:same_chain] end |
Instance Attribute Details
#aromatic_auth_chain_id ⇒ Object
Returns the value of attribute aromatic_auth_chain_id.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def aromatic_auth_chain_id @aromatic_auth_chain_id end |
#aromatic_auth_position ⇒ Object
Returns the value of attribute aromatic_auth_position.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def aromatic_auth_position @aromatic_auth_position end |
#aromatic_chain_id ⇒ Object
Returns the value of attribute aromatic_chain_id.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def aromatic_chain_id @aromatic_chain_id end |
#aromatic_position ⇒ Object
Returns the value of attribute aromatic_position.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def aromatic_position @aromatic_position end |
#aromatic_residue ⇒ Object
Returns the value of attribute aromatic_residue.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def aromatic_residue @aromatic_residue end |
#cation_auth_chain_id ⇒ Object
Returns the value of attribute cation_auth_chain_id.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def cation_auth_chain_id @cation_auth_chain_id end |
#cation_auth_position ⇒ Object
Returns the value of attribute cation_auth_position.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def cation_auth_position @cation_auth_position end |
#cation_chain_id ⇒ Object
Returns the value of attribute cation_chain_id.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def cation_chain_id @cation_chain_id end |
#cation_group ⇒ Object
Returns the value of attribute cation_group.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def cation_group @cation_group end |
#cation_position ⇒ Object
Returns the value of attribute cation_position.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def cation_position @cation_position end |
#cation_residue ⇒ Object
Returns the value of attribute cation_residue.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def cation_residue @cation_residue end |
#distance_angstrom ⇒ Object
Returns the value of attribute distance_angstrom.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def distance_angstrom @distance_angstrom end |
#height_angstrom ⇒ Object
Returns the value of attribute height_angstrom.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def height_angstrom @height_angstrom end |
#lateral_offset_angstrom ⇒ Object
Returns the value of attribute lateral_offset_angstrom.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def lateral_offset_angstrom @lateral_offset_angstrom end |
#offset_angle_deg ⇒ Object
Returns the value of attribute offset_angle_deg.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def offset_angle_deg @offset_angle_deg end |
#ring_name ⇒ Object
Returns the value of attribute ring_name.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def ring_name @ring_name end |
#same_chain ⇒ Object
Returns the value of attribute same_chain.
28 29 30 |
# File 'lib/rafflesia/proteins/cation_pi_interaction_record.rb', line 28 def same_chain @same_chain end |