Class: Rafflesia::SequenceCandidateBuildRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceCandidateBuildRequest
- Defined in:
- lib/rafflesia/sequences/sequence_candidate_build_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ build_policy: :build_policy, dataset_name: :dataset_name, dataset_version: :dataset_version, input_object_id: :input_object_id, input_path: :input_path, kmer_size: :kmer_size, minimizer_window: :minimizer_window, name: :name, namespace: :namespace, payload_shard_records: :payload_shard_records, reduced_alphabet: :reduced_alphabet, timeout_ms: :timeout_ms, version: :version }.freeze
Instance Attribute Summary collapse
-
#build_policy ⇒ Object
Returns the value of attribute build_policy.
-
#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_size ⇒ Object
Returns the value of attribute kmer_size.
-
#minimizer_window ⇒ Object
Returns the value of attribute minimizer_window.
-
#name ⇒ Object
Returns the value of attribute name.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#payload_shard_records ⇒ Object
Returns the value of attribute payload_shard_records.
-
#reduced_alphabet ⇒ Object
Returns the value of attribute reduced_alphabet.
-
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ SequenceCandidateBuildRequest
constructor
A new instance of SequenceCandidateBuildRequest.
Constructor Details
#initialize(json) ⇒ SequenceCandidateBuildRequest
Returns a new instance of SequenceCandidateBuildRequest.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 39 def initialize(json) super() hash = self.class.normalize(json) @build_policy = hash[:build_policy] @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @input_object_id = hash[:input_object_id] @input_path = hash[:input_path] @kmer_size = hash[:kmer_size] @minimizer_window = hash[:minimizer_window] @name = hash[:name] @namespace = hash[:namespace] @payload_shard_records = hash[:payload_shard_records] @reduced_alphabet = hash[:reduced_alphabet] @timeout_ms = hash[:timeout_ms] @version = hash[:version] end |
Instance Attribute Details
#build_policy ⇒ Object
Returns the value of attribute build_policy.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def build_policy @build_policy end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_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_candidate_build_request.rb', line 24 def dataset_version @dataset_version end |
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def input_object_id @input_object_id end |
#input_path ⇒ Object
Returns the value of attribute input_path.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def input_path @input_path end |
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def kmer_size @kmer_size end |
#minimizer_window ⇒ Object
Returns the value of attribute minimizer_window.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def minimizer_window @minimizer_window end |
#name ⇒ Object
Returns the value of attribute name.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def namespace @namespace end |
#payload_shard_records ⇒ Object
Returns the value of attribute payload_shard_records.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def payload_shard_records @payload_shard_records end |
#reduced_alphabet ⇒ Object
Returns the value of attribute reduced_alphabet.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def reduced_alphabet @reduced_alphabet end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def timeout_ms @timeout_ms end |
#version ⇒ Object
Returns the value of attribute version.
24 25 26 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_request.rb', line 24 def version @version end |