Class: Rafflesia::SequenceSeedIndexCompactRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceSeedIndexCompactRequest
- Defined in:
- lib/rafflesia/sequences/sequence_seed_index_compact_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ base_index_id: :base_index_id, base_manifest_object_id: :base_manifest_object_id, base_manifest_path: :base_manifest_path, base_name: :base_name, base_version: :base_version, dataset_name: :dataset_name, dataset_version: :dataset_version, kmer_size: :kmer_size, name: :name, payload_block_size: :payload_block_size, posting_block_size: :posting_block_size, version: :version, wal_object_ids: :wal_object_ids }.freeze
Instance Attribute Summary collapse
-
#base_index_id ⇒ Object
Returns the value of attribute base_index_id.
-
#base_manifest_object_id ⇒ Object
Returns the value of attribute base_manifest_object_id.
-
#base_manifest_path ⇒ Object
Returns the value of attribute base_manifest_path.
-
#base_name ⇒ Object
Returns the value of attribute base_name.
-
#base_version ⇒ Object
Returns the value of attribute base_version.
-
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
-
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
-
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
-
#name ⇒ Object
Returns the value of attribute name.
-
#payload_block_size ⇒ Object
Returns the value of attribute payload_block_size.
-
#posting_block_size ⇒ Object
Returns the value of attribute posting_block_size.
-
#version ⇒ Object
Returns the value of attribute version.
-
#wal_object_ids ⇒ Object
Returns the value of attribute wal_object_ids.
Instance Method Summary collapse
-
#initialize(json) ⇒ SequenceSeedIndexCompactRequest
constructor
A new instance of SequenceSeedIndexCompactRequest.
Constructor Details
#initialize(json) ⇒ SequenceSeedIndexCompactRequest
Returns a new instance of SequenceSeedIndexCompactRequest.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 39 def initialize(json) super() hash = self.class.normalize(json) @base_index_id = hash[:base_index_id] @base_manifest_object_id = hash[:base_manifest_object_id] @base_manifest_path = hash[:base_manifest_path] @base_name = hash[:base_name] @base_version = hash[:base_version] @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @kmer_size = hash[:kmer_size] @name = hash[:name] @payload_block_size = hash[:payload_block_size] @posting_block_size = hash[:posting_block_size] @version = hash[:version] @wal_object_ids = (hash[:wal_object_ids] || []) end |
Instance Attribute Details
#base_index_id ⇒ Object
Returns the value of attribute base_index_id.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def base_index_id @base_index_id end |
#base_manifest_object_id ⇒ Object
Returns the value of attribute base_manifest_object_id.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def base_manifest_object_id @base_manifest_object_id end |
#base_manifest_path ⇒ Object
Returns the value of attribute base_manifest_path.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def base_manifest_path @base_manifest_path end |
#base_name ⇒ Object
Returns the value of attribute base_name.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def base_name @base_name end |
#base_version ⇒ Object
Returns the value of attribute base_version.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def base_version @base_version end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def dataset_version @dataset_version end |
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def kmer_size @kmer_size end |
#name ⇒ Object
Returns the value of attribute name.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def name @name end |
#payload_block_size ⇒ Object
Returns the value of attribute payload_block_size.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def payload_block_size @payload_block_size end |
#posting_block_size ⇒ Object
Returns the value of attribute posting_block_size.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def posting_block_size @posting_block_size end |
#version ⇒ Object
Returns the value of attribute version.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def version @version end |
#wal_object_ids ⇒ Object
Returns the value of attribute wal_object_ids.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_seed_index_compact_request.rb', line 24 def wal_object_ids @wal_object_ids end |