Class: Rafflesia::SequenceSeedIndexVerifyRequest

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

Constant Summary collapse

HASH_ATTRS =
{
  check_blocks: :check_blocks,
  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) ⇒ SequenceSeedIndexVerifyRequest

Returns a new instance of SequenceSeedIndexVerifyRequest.



25
26
27
28
29
30
31
32
33
34
# File 'lib/rafflesia/sequences/sequence_seed_index_verify_request.rb', line 25

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @check_blocks = hash[:check_blocks]
  @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

#check_blocksObject

Returns the value of attribute check_blocks.



17
18
19
# File 'lib/rafflesia/sequences/sequence_seed_index_verify_request.rb', line 17

def check_blocks
  @check_blocks
end

#index_idObject

Returns the value of attribute index_id.



17
18
19
# File 'lib/rafflesia/sequences/sequence_seed_index_verify_request.rb', line 17

def index_id
  @index_id
end

#manifest_object_idObject

Returns the value of attribute manifest_object_id.



17
18
19
# File 'lib/rafflesia/sequences/sequence_seed_index_verify_request.rb', line 17

def manifest_object_id
  @manifest_object_id
end

#manifest_pathObject

Returns the value of attribute manifest_path.



17
18
19
# File 'lib/rafflesia/sequences/sequence_seed_index_verify_request.rb', line 17

def manifest_path
  @manifest_path
end

#nameObject

Returns the value of attribute name.



17
18
19
# File 'lib/rafflesia/sequences/sequence_seed_index_verify_request.rb', line 17

def name
  @name
end

#versionObject

Returns the value of attribute version.



17
18
19
# File 'lib/rafflesia/sequences/sequence_seed_index_verify_request.rb', line 17

def version
  @version
end