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