Class: Rafflesia::SequenceSeedIndexPlanRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceSeedIndexPlanRequest
- 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
-
#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.
-
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
-
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
-
#name ⇒ Object
Returns the value of attribute name.
-
#query ⇒ Object
Returns the value of attribute query.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#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) ⇒ SequenceSeedIndexPlanRequest
constructor
A new instance of SequenceSeedIndexPlanRequest.
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_id ⇒ Object
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_size ⇒ Object
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_id ⇒ Object
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_path ⇒ Object
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_bytes ⇒ Object
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_reads ⇒ Object
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 |
#name ⇒ Object
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 |
#query ⇒ Object
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_materialization ⇒ Object
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 |
#version ⇒ Object
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_ids ⇒ Object
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 |