Class: Rafflesia::FoldSegmentGenerationListRequest

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_retiredObject

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

#nameObject

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