Class: Rafflesia::SequenceSeedIndexRegistryRecord
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceSeedIndexRegistryRecord
- Defined in:
- lib/rafflesia/sequences/sequence_seed_index_registry_record.rb
Constant Summary collapse
- HASH_ATTRS =
{ benchmark_object_id: :benchmark_object_id, benchmark_passed: :benchmark_passed, content_sha256: :content_sha_256, created_at: :created_at, dataset_name: :dataset_name, dataset_version: :dataset_version, directory_object_id: :directory_object_id, distinct_kmer_count: :distinct_kmer_count, fasta_object_id: :fasta_object_id, index_id: :index_id, kmer_size: :kmer_size, manifest_object_id: :manifest_object_id, manifest_path: :manifest_path, name: :name, payload_block_count: :payload_block_count, posting_block_count: :posting_block_count, residue_count: :residue_count, segment_count: :segment_count, segment_level: :segment_level, sequence_count: :sequence_count, source_object_id: :source_object_id, version: :version }.freeze
Instance Attribute Summary collapse
-
#benchmark_object_id ⇒ Object
Returns the value of attribute benchmark_object_id.
-
#benchmark_passed ⇒ Object
Returns the value of attribute benchmark_passed.
-
#content_sha_256 ⇒ Object
Returns the value of attribute content_sha_256.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
-
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
-
#directory_object_id ⇒ Object
Returns the value of attribute directory_object_id.
-
#distinct_kmer_count ⇒ Object
Returns the value of attribute distinct_kmer_count.
-
#fasta_object_id ⇒ Object
Returns the value of attribute fasta_object_id.
-
#index_id ⇒ Object
Returns the value of attribute index_id.
-
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#name ⇒ Object
Returns the value of attribute name.
-
#payload_block_count ⇒ Object
Returns the value of attribute payload_block_count.
-
#posting_block_count ⇒ Object
Returns the value of attribute posting_block_count.
-
#residue_count ⇒ Object
Returns the value of attribute residue_count.
-
#segment_count ⇒ Object
Returns the value of attribute segment_count.
-
#segment_level ⇒ Object
Returns the value of attribute segment_level.
-
#sequence_count ⇒ Object
Returns the value of attribute sequence_count.
-
#source_object_id ⇒ Object
Returns the value of attribute source_object_id.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ SequenceSeedIndexRegistryRecord
constructor
A new instance of SequenceSeedIndexRegistryRecord.
Constructor Details
#initialize(json) ⇒ SequenceSeedIndexRegistryRecord
Returns a new instance of SequenceSeedIndexRegistryRecord.
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 57 def initialize(json) super() hash = self.class.normalize(json) @benchmark_object_id = hash[:benchmark_object_id] @benchmark_passed = hash[:benchmark_passed] @content_sha_256 = hash[:content_sha256] @created_at = hash[:created_at] @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @directory_object_id = hash[:directory_object_id] @distinct_kmer_count = hash[:distinct_kmer_count] @fasta_object_id = hash[:fasta_object_id] @index_id = hash[:index_id] @kmer_size = hash[:kmer_size] @manifest_object_id = hash[:manifest_object_id] @manifest_path = hash[:manifest_path] @name = hash[:name] @payload_block_count = hash[:payload_block_count] @posting_block_count = hash[:posting_block_count] @residue_count = hash[:residue_count] @segment_count = hash[:segment_count] @segment_level = hash[:segment_level] @sequence_count = hash[:sequence_count] @source_object_id = hash[:source_object_id] @version = hash[:version] end |
Instance Attribute Details
#benchmark_object_id ⇒ Object
Returns the value of attribute benchmark_object_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def benchmark_object_id @benchmark_object_id end |
#benchmark_passed ⇒ Object
Returns the value of attribute benchmark_passed.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def benchmark_passed @benchmark_passed end |
#content_sha_256 ⇒ Object
Returns the value of attribute content_sha_256.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def content_sha_256 @content_sha_256 end |
#created_at ⇒ Object
Returns the value of attribute created_at.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def created_at @created_at end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def dataset_version @dataset_version end |
#directory_object_id ⇒ Object
Returns the value of attribute directory_object_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def directory_object_id @directory_object_id end |
#distinct_kmer_count ⇒ Object
Returns the value of attribute distinct_kmer_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def distinct_kmer_count @distinct_kmer_count end |
#fasta_object_id ⇒ Object
Returns the value of attribute fasta_object_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def fasta_object_id @fasta_object_id end |
#index_id ⇒ Object
Returns the value of attribute index_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def index_id @index_id end |
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def kmer_size @kmer_size end |
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def manifest_path @manifest_path end |
#name ⇒ Object
Returns the value of attribute name.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def name @name end |
#payload_block_count ⇒ Object
Returns the value of attribute payload_block_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def payload_block_count @payload_block_count end |
#posting_block_count ⇒ Object
Returns the value of attribute posting_block_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def posting_block_count @posting_block_count end |
#residue_count ⇒ Object
Returns the value of attribute residue_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def residue_count @residue_count end |
#segment_count ⇒ Object
Returns the value of attribute segment_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def segment_count @segment_count end |
#segment_level ⇒ Object
Returns the value of attribute segment_level.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def segment_level @segment_level end |
#sequence_count ⇒ Object
Returns the value of attribute sequence_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def sequence_count @sequence_count end |
#source_object_id ⇒ Object
Returns the value of attribute source_object_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def source_object_id @source_object_id end |
#version ⇒ Object
Returns the value of attribute version.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_registry_record.rb', line 33 def version @version end |