Class: Rafflesia::SequenceCandidateSweepRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceCandidateSweepRequest
- Defined in:
- lib/rafflesia/sequences/sequence_candidate_sweep_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ case_timeout_ms: :case_timeout_ms, dataset_name: :dataset_name, dataset_version: :dataset_version, input_object_id: :input_object_id, input_path: :input_path, kmer_sizes: :kmer_sizes, max_hits: :max_hits, max_object_bytes_per_query: :max_object_bytes_per_query, max_object_reads_per_query: :max_object_reads_per_query, min_recall_at_k: :min_recall_at_k, minimizer_windows: :minimizer_windows, name: :name, namespace_prefix: :namespace_prefix, payload_shard_records: :payload_shard_records, publish_selected_namespace: :publish_selected_namespace, queries_object_id: :queries_object_id, queries_path: :queries_path, query_modes: :query_modes, reduced_alphabets: :reduced_alphabets, require_zero_materialization: :require_zero_materialization, store_artifact: :store_artifact, timeout_ms: :timeout_ms, version: :version }.freeze
Instance Attribute Summary collapse
-
#case_timeout_ms ⇒ Object
Returns the value of attribute case_timeout_ms.
-
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
-
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
-
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
-
#input_path ⇒ Object
Returns the value of attribute input_path.
-
#kmer_sizes ⇒ Object
Returns the value of attribute kmer_sizes.
-
#max_hits ⇒ Object
Returns the value of attribute max_hits.
-
#max_object_bytes_per_query ⇒ Object
Returns the value of attribute max_object_bytes_per_query.
-
#max_object_reads_per_query ⇒ Object
Returns the value of attribute max_object_reads_per_query.
-
#min_recall_at_k ⇒ Object
Returns the value of attribute min_recall_at_k.
-
#minimizer_windows ⇒ Object
Returns the value of attribute minimizer_windows.
-
#name ⇒ Object
Returns the value of attribute name.
-
#namespace_prefix ⇒ Object
Returns the value of attribute namespace_prefix.
-
#payload_shard_records ⇒ Object
Returns the value of attribute payload_shard_records.
-
#publish_selected_namespace ⇒ Object
Returns the value of attribute publish_selected_namespace.
-
#queries_object_id ⇒ Object
Returns the value of attribute queries_object_id.
-
#queries_path ⇒ Object
Returns the value of attribute queries_path.
-
#query_modes ⇒ Object
Returns the value of attribute query_modes.
-
#reduced_alphabets ⇒ Object
Returns the value of attribute reduced_alphabets.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#store_artifact ⇒ Object
Returns the value of attribute store_artifact.
-
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ SequenceCandidateSweepRequest
constructor
A new instance of SequenceCandidateSweepRequest.
Constructor Details
#initialize(json) ⇒ SequenceCandidateSweepRequest
Returns a new instance of SequenceCandidateSweepRequest.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 59 def initialize(json) super() hash = self.class.normalize(json) @case_timeout_ms = hash[:case_timeout_ms] @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @input_object_id = hash[:input_object_id] @input_path = hash[:input_path] @kmer_sizes = (hash[:kmer_sizes] || []) @max_hits = hash[:max_hits] @max_object_bytes_per_query = hash[:max_object_bytes_per_query] @max_object_reads_per_query = hash[:max_object_reads_per_query] @min_recall_at_k = hash[:min_recall_at_k] @minimizer_windows = (hash[:minimizer_windows] || []) @name = hash[:name] @namespace_prefix = hash[:namespace_prefix] @payload_shard_records = (hash[:payload_shard_records] || []) @publish_selected_namespace = hash[:publish_selected_namespace] @queries_object_id = hash[:queries_object_id] @queries_path = hash[:queries_path] @query_modes = (hash[:query_modes] || []) @reduced_alphabets = (hash[:reduced_alphabets] || []) @require_zero_materialization = hash[:require_zero_materialization] @store_artifact = hash[:store_artifact] @timeout_ms = hash[:timeout_ms] @version = hash[:version] end |
Instance Attribute Details
#case_timeout_ms ⇒ Object
Returns the value of attribute case_timeout_ms.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def case_timeout_ms @case_timeout_ms end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def dataset_version @dataset_version end |
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def input_object_id @input_object_id end |
#input_path ⇒ Object
Returns the value of attribute input_path.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def input_path @input_path end |
#kmer_sizes ⇒ Object
Returns the value of attribute kmer_sizes.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def kmer_sizes @kmer_sizes end |
#max_hits ⇒ Object
Returns the value of attribute max_hits.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def max_hits @max_hits end |
#max_object_bytes_per_query ⇒ Object
Returns the value of attribute max_object_bytes_per_query.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def max_object_bytes_per_query @max_object_bytes_per_query end |
#max_object_reads_per_query ⇒ Object
Returns the value of attribute max_object_reads_per_query.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def max_object_reads_per_query @max_object_reads_per_query end |
#min_recall_at_k ⇒ Object
Returns the value of attribute min_recall_at_k.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def min_recall_at_k @min_recall_at_k end |
#minimizer_windows ⇒ Object
Returns the value of attribute minimizer_windows.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def minimizer_windows @minimizer_windows end |
#name ⇒ Object
Returns the value of attribute name.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def name @name end |
#namespace_prefix ⇒ Object
Returns the value of attribute namespace_prefix.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def namespace_prefix @namespace_prefix end |
#payload_shard_records ⇒ Object
Returns the value of attribute payload_shard_records.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def payload_shard_records @payload_shard_records end |
#publish_selected_namespace ⇒ Object
Returns the value of attribute publish_selected_namespace.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def publish_selected_namespace @publish_selected_namespace end |
#queries_object_id ⇒ Object
Returns the value of attribute queries_object_id.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def queries_object_id @queries_object_id end |
#queries_path ⇒ Object
Returns the value of attribute queries_path.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def queries_path @queries_path end |
#query_modes ⇒ Object
Returns the value of attribute query_modes.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def query_modes @query_modes end |
#reduced_alphabets ⇒ Object
Returns the value of attribute reduced_alphabets.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def reduced_alphabets @reduced_alphabets end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def require_zero_materialization @require_zero_materialization end |
#store_artifact ⇒ Object
Returns the value of attribute store_artifact.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def store_artifact @store_artifact end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def timeout_ms @timeout_ms end |
#version ⇒ Object
Returns the value of attribute version.
34 35 36 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_request.rb', line 34 def version @version end |