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