Class: Rafflesia::SearchSegmentLocatorRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/sequences/search_segment_locator_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  manifest_object_id: :manifest_object_id,
  manifest_path: :manifest_path
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SearchSegmentLocatorRequest

Returns a new instance of SearchSegmentLocatorRequest.



17
18
19
20
21
22
# File 'lib/rafflesia/sequences/search_segment_locator_request.rb', line 17

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @manifest_object_id = hash[:manifest_object_id]
  @manifest_path = hash[:manifest_path]
end

Instance Attribute Details

#manifest_object_idObject

Returns the value of attribute manifest_object_id.



13
14
15
# File 'lib/rafflesia/sequences/search_segment_locator_request.rb', line 13

def manifest_object_id
  @manifest_object_id
end

#manifest_pathObject

Returns the value of attribute manifest_path.



13
14
15
# File 'lib/rafflesia/sequences/search_segment_locator_request.rb', line 13

def manifest_path
  @manifest_path
end