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