Class: Rafflesia::SequenceCandidateInspectData

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

Constant Summary collapse

HASH_ATTRS =
{
  backend: :backend,
  build_id: :build_id,
  dataset_name: :dataset_name,
  dataset_version: :dataset_version,
  directory_object: :directory_object,
  engine: :engine,
  engine_elapsed_ms: :engine_elapsed_ms,
  engine_protocol_version: :engine_protocol_version,
  exists: :exists,
  has_seed_index: :has_seed_index,
  index_generation: :index_generation,
  indexed_wal_offset: :indexed_wal_offset,
  kmer_size: :kmer_size,
  labels: :labels,
  manifest_generation: :manifest_generation,
  minimizer_window: :minimizer_window,
  namespace: :namespace,
  object_store_root: :object_store_root,
  payload_object: :payload_object,
  payload_record_ref_count: :payload_record_ref_count,
  payload_shard_count: :payload_shard_count,
  payload_shard_records: :payload_shard_records,
  posting_encoded_bytes: :posting_encoded_bytes,
  posting_encoding: :posting_encoding,
  posting_segment_object: :posting_segment_object,
  posting_uncompressed_bytes: :posting_uncompressed_bytes,
  record_count: :record_count,
  reduced_alphabet: :reduced_alphabet,
  seed_strategy: :seed_strategy,
  source_object_id: :source_object_id,
  source_sha256: :source_sha_256,
  token_count: :token_count,
  wal_head: :wal_head,
  warnings: :warnings
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SequenceCandidateInspectData

Returns a new instance of SequenceCandidateInspectData.



81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 81

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @backend = hash[:backend]
  @build_id = hash[:build_id]
  @dataset_name = hash[:dataset_name]
  @dataset_version = hash[:dataset_version]
  @directory_object = hash[:directory_object]
  @engine = hash[:engine]
  @engine_elapsed_ms = hash[:engine_elapsed_ms]
  @engine_protocol_version = hash[:engine_protocol_version]
  @exists = hash[:exists]
  @has_seed_index = hash[:has_seed_index]
  @index_generation = hash[:index_generation]
  @indexed_wal_offset = hash[:indexed_wal_offset]
  @kmer_size = hash[:kmer_size]
  @labels = hash[:labels] || {}
  @manifest_generation = hash[:manifest_generation]
  @minimizer_window = hash[:minimizer_window]
  @namespace = hash[:namespace]
  @object_store_root = hash[:object_store_root]
  @payload_object = hash[:payload_object]
  @payload_record_ref_count = hash[:payload_record_ref_count]
  @payload_shard_count = hash[:payload_shard_count]
  @payload_shard_records = hash[:payload_shard_records]
  @posting_encoded_bytes = hash[:posting_encoded_bytes]
  @posting_encoding = hash[:posting_encoding]
  @posting_segment_object = hash[:posting_segment_object]
  @posting_uncompressed_bytes = hash[:posting_uncompressed_bytes]
  @record_count = hash[:record_count]
  @reduced_alphabet = hash[:reduced_alphabet]
  @seed_strategy = hash[:seed_strategy]
  @source_object_id = hash[:source_object_id]
  @source_sha_256 = hash[:source_sha256]
  @token_count = hash[:token_count]
  @wal_head = hash[:wal_head]
  @warnings = (hash[:warnings] || [])
end

Instance Attribute Details

#backendObject

Returns the value of attribute backend.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def backend
  @backend
end

#build_idObject

Returns the value of attribute build_id.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def build_id
  @build_id
end

#dataset_nameObject

Returns the value of attribute dataset_name.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def dataset_name
  @dataset_name
end

#dataset_versionObject

Returns the value of attribute dataset_version.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def dataset_version
  @dataset_version
end

#directory_objectObject

Returns the value of attribute directory_object.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def directory_object
  @directory_object
end

#engineObject

Returns the value of attribute engine.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def engine
  @engine
end

#engine_elapsed_msObject

Returns the value of attribute engine_elapsed_ms.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def engine_elapsed_ms
  @engine_elapsed_ms
end

#engine_protocol_versionObject

Returns the value of attribute engine_protocol_version.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def engine_protocol_version
  @engine_protocol_version
end

#existsObject

Returns the value of attribute exists.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def exists
  @exists
end

#has_seed_indexObject

Returns the value of attribute has_seed_index.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def has_seed_index
  @has_seed_index
end

#index_generationObject

Returns the value of attribute index_generation.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def index_generation
  @index_generation
end

#indexed_wal_offsetObject

Returns the value of attribute indexed_wal_offset.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def indexed_wal_offset
  @indexed_wal_offset
end

#kmer_sizeObject

Returns the value of attribute kmer_size.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def kmer_size
  @kmer_size
end

#labelsObject

Returns the value of attribute labels.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def labels
  @labels
end

#manifest_generationObject

Returns the value of attribute manifest_generation.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def manifest_generation
  @manifest_generation
end

#minimizer_windowObject

Returns the value of attribute minimizer_window.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def minimizer_window
  @minimizer_window
end

#namespaceObject

Returns the value of attribute namespace.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def namespace
  @namespace
end

#object_store_rootObject

Returns the value of attribute object_store_root.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def object_store_root
  @object_store_root
end

#payload_objectObject

Returns the value of attribute payload_object.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def payload_object
  @payload_object
end

#payload_record_ref_countObject

Returns the value of attribute payload_record_ref_count.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def payload_record_ref_count
  @payload_record_ref_count
end

#payload_shard_countObject

Returns the value of attribute payload_shard_count.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def payload_shard_count
  @payload_shard_count
end

#payload_shard_recordsObject

Returns the value of attribute payload_shard_records.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def payload_shard_records
  @payload_shard_records
end

#posting_encoded_bytesObject

Returns the value of attribute posting_encoded_bytes.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def posting_encoded_bytes
  @posting_encoded_bytes
end

#posting_encodingObject

Returns the value of attribute posting_encoding.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def posting_encoding
  @posting_encoding
end

#posting_segment_objectObject

Returns the value of attribute posting_segment_object.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def posting_segment_object
  @posting_segment_object
end

#posting_uncompressed_bytesObject

Returns the value of attribute posting_uncompressed_bytes.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def posting_uncompressed_bytes
  @posting_uncompressed_bytes
end

#record_countObject

Returns the value of attribute record_count.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def record_count
  @record_count
end

#reduced_alphabetObject

Returns the value of attribute reduced_alphabet.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def reduced_alphabet
  @reduced_alphabet
end

#seed_strategyObject

Returns the value of attribute seed_strategy.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def seed_strategy
  @seed_strategy
end

#source_object_idObject

Returns the value of attribute source_object_id.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def source_object_id
  @source_object_id
end

#source_sha_256Object

Returns the value of attribute source_sha_256.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def source_sha_256
  @source_sha_256
end

#token_countObject

Returns the value of attribute token_count.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def token_count
  @token_count
end

#wal_headObject

Returns the value of attribute wal_head.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def wal_head
  @wal_head
end

#warningsObject

Returns the value of attribute warnings.



45
46
47
# File 'lib/rafflesia/sequences/sequence_candidate_inspect_data.rb', line 45

def warnings
  @warnings
end