Class: Rafflesia::SequenceSeedIndexPlanRequest

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

Constant Summary collapse

HASH_ATTRS =
{
  index_id: :index_id,
  kmer_size: :kmer_size,
  manifest_object_id: :manifest_object_id,
  manifest_path: :manifest_path,
  max_object_bytes: :max_object_bytes,
  max_object_reads: :max_object_reads,
  name: :name,
  query: :query,
  require_zero_materialization: :require_zero_materialization,
  version: :version,
  wal_object_ids: :wal_object_ids
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SequenceSeedIndexPlanRequest

Returns a new instance of SequenceSeedIndexPlanRequest.



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 35

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @index_id = hash[:index_id]
  @kmer_size = hash[:kmer_size]
  @manifest_object_id = hash[:manifest_object_id]
  @manifest_path = hash[:manifest_path]
  @max_object_bytes = hash[:max_object_bytes]
  @max_object_reads = hash[:max_object_reads]
  @name = hash[:name]
  @query = hash[:query]
  @require_zero_materialization = hash[:require_zero_materialization]
  @version = hash[:version]
  @wal_object_ids = (hash[:wal_object_ids] || [])
end

Instance Attribute Details

#index_idObject

Returns the value of attribute index_id.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def index_id
  @index_id
end

#kmer_sizeObject

Returns the value of attribute kmer_size.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def kmer_size
  @kmer_size
end

#manifest_object_idObject

Returns the value of attribute manifest_object_id.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def manifest_object_id
  @manifest_object_id
end

#manifest_pathObject

Returns the value of attribute manifest_path.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def manifest_path
  @manifest_path
end

#max_object_bytesObject

Returns the value of attribute max_object_bytes.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def max_object_bytes
  @max_object_bytes
end

#max_object_readsObject

Returns the value of attribute max_object_reads.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def max_object_reads
  @max_object_reads
end

#nameObject

Returns the value of attribute name.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def name
  @name
end

#queryObject

Returns the value of attribute query.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def query
  @query
end

#require_zero_materializationObject

Returns the value of attribute require_zero_materialization.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def require_zero_materialization
  @require_zero_materialization
end

#versionObject

Returns the value of attribute version.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def version
  @version
end

#wal_object_idsObject

Returns the value of attribute wal_object_ids.



22
23
24
# File 'lib/rafflesia/sequences/sequence_seed_index_plan_request.rb', line 22

def wal_object_ids
  @wal_object_ids
end