Class: Rafflesia::SequenceSeedIndexInspectRequest

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

Constant Summary collapse

HASH_ATTRS =
{
  index_id: :index_id,
  manifest_object_id: :manifest_object_id,
  manifest_path: :manifest_path,
  name: :name,
  version: :version
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SequenceSeedIndexInspectRequest

Returns a new instance of SequenceSeedIndexInspectRequest.



23
24
25
26
27
28
29
30
31
# File 'lib/rafflesia/sequences/sequence_seed_index_inspect_request.rb', line 23

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

Instance Attribute Details

#index_idObject

Returns the value of attribute index_id.



16
17
18
# File 'lib/rafflesia/sequences/sequence_seed_index_inspect_request.rb', line 16

def index_id
  @index_id
end

#manifest_object_idObject

Returns the value of attribute manifest_object_id.



16
17
18
# File 'lib/rafflesia/sequences/sequence_seed_index_inspect_request.rb', line 16

def manifest_object_id
  @manifest_object_id
end

#manifest_pathObject

Returns the value of attribute manifest_path.



16
17
18
# File 'lib/rafflesia/sequences/sequence_seed_index_inspect_request.rb', line 16

def manifest_path
  @manifest_path
end

#nameObject

Returns the value of attribute name.



16
17
18
# File 'lib/rafflesia/sequences/sequence_seed_index_inspect_request.rb', line 16

def name
  @name
end

#versionObject

Returns the value of attribute version.



16
17
18
# File 'lib/rafflesia/sequences/sequence_seed_index_inspect_request.rb', line 16

def version
  @version
end