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