Class: Rafflesia::SequenceCandidateBuildData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceCandidateBuildData
- Defined in:
- lib/rafflesia/sequences/sequence_candidate_build_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, build_action: :build_action, build_policy: :build_policy, dataset_name: :dataset_name, dataset_version: :dataset_version, engine: :engine, engine_elapsed_ms: :engine_elapsed_ms, engine_protocol_version: :engine_protocol_version, engine_request_count: :engine_request_count, index_generation: :index_generation, is_existing: :is_existing, kmer_size: :kmer_size, manifest_generation: :manifest_generation, minimizer_window: :minimizer_window, name: :name, namespace: :namespace, object_store_root: :object_store_root, payload_object: :payload_object, payload_record_ref_count: :payload_record_ref_count, payload_shard_count: :payload_shard_count, payload_shard_records: :payload_shard_records, posting_encoded_bytes: :posting_encoded_bytes, posting_encoding: :posting_encoding, posting_segment_object: :posting_segment_object, posting_uncompressed_bytes: :posting_uncompressed_bytes, record_count: :record_count, reduced_alphabet: :reduced_alphabet, seed_strategy: :seed_strategy, source_object: :source_object, source_object_id: :source_object_id, source_path: :source_path, source_sha256: :source_sha_256, timeout_ms: :timeout_ms, token_count: :token_count, version: :version }.freeze
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#build_action ⇒ Object
Returns the value of attribute build_action.
-
#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.
-
#engine ⇒ Object
Returns the value of attribute engine.
-
#engine_elapsed_ms ⇒ Object
Returns the value of attribute engine_elapsed_ms.
-
#engine_protocol_version ⇒ Object
Returns the value of attribute engine_protocol_version.
-
#engine_request_count ⇒ Object
Returns the value of attribute engine_request_count.
-
#index_generation ⇒ Object
Returns the value of attribute index_generation.
-
#is_existing ⇒ Object
Returns the value of attribute is_existing.
-
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
-
#manifest_generation ⇒ Object
Returns the value of attribute manifest_generation.
-
#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.
-
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
-
#payload_object ⇒ Object
Returns the value of attribute payload_object.
-
#payload_record_ref_count ⇒ Object
Returns the value of attribute payload_record_ref_count.
-
#payload_shard_count ⇒ Object
Returns the value of attribute payload_shard_count.
-
#payload_shard_records ⇒ Object
Returns the value of attribute payload_shard_records.
-
#posting_encoded_bytes ⇒ Object
Returns the value of attribute posting_encoded_bytes.
-
#posting_encoding ⇒ Object
Returns the value of attribute posting_encoding.
-
#posting_segment_object ⇒ Object
Returns the value of attribute posting_segment_object.
-
#posting_uncompressed_bytes ⇒ Object
Returns the value of attribute posting_uncompressed_bytes.
-
#record_count ⇒ Object
Returns the value of attribute record_count.
-
#reduced_alphabet ⇒ Object
Returns the value of attribute reduced_alphabet.
-
#seed_strategy ⇒ Object
Returns the value of attribute seed_strategy.
-
#source_object ⇒ Object
Returns the value of attribute source_object.
-
#source_object_id ⇒ Object
Returns the value of attribute source_object_id.
-
#source_path ⇒ Object
Returns the value of attribute source_path.
-
#source_sha_256 ⇒ Object
Returns the value of attribute source_sha_256.
-
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
-
#token_count ⇒ Object
Returns the value of attribute token_count.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ SequenceCandidateBuildData
constructor
A new instance of SequenceCandidateBuildData.
Constructor Details
#initialize(json) ⇒ SequenceCandidateBuildData
Returns a new instance of SequenceCandidateBuildData.
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 83 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] @build_action = hash[:build_action] @build_policy = hash[:build_policy] @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @engine = hash[:engine] @engine_elapsed_ms = hash[:engine_elapsed_ms] @engine_protocol_version = hash[:engine_protocol_version] @engine_request_count = hash[:engine_request_count] @index_generation = hash[:index_generation] @is_existing = hash[:is_existing] @kmer_size = hash[:kmer_size] @manifest_generation = hash[:manifest_generation] @minimizer_window = hash[:minimizer_window] @name = hash[:name] @namespace = hash[:namespace] @object_store_root = hash[:object_store_root] @payload_object = hash[:payload_object] @payload_record_ref_count = hash[:payload_record_ref_count] @payload_shard_count = hash[:payload_shard_count] @payload_shard_records = hash[:payload_shard_records] @posting_encoded_bytes = hash[:posting_encoded_bytes] @posting_encoding = hash[:posting_encoding] @posting_segment_object = hash[:posting_segment_object] @posting_uncompressed_bytes = hash[:posting_uncompressed_bytes] @record_count = hash[:record_count] @reduced_alphabet = hash[:reduced_alphabet] @seed_strategy = hash[:seed_strategy] @source_object = hash[:source_object] ? Rafflesia::ObjectRef.new(hash[:source_object]) : nil @source_object_id = hash[:source_object_id] @source_path = hash[:source_path] @source_sha_256 = hash[:source_sha256] @timeout_ms = hash[:timeout_ms] @token_count = hash[:token_count] @version = hash[:version] end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def backend @backend end |
#build_action ⇒ Object
Returns the value of attribute build_action.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def build_action @build_action end |
#build_policy ⇒ Object
Returns the value of attribute build_policy.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def build_policy @build_policy end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def dataset_version @dataset_version end |
#engine ⇒ Object
Returns the value of attribute engine.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def engine @engine end |
#engine_elapsed_ms ⇒ Object
Returns the value of attribute engine_elapsed_ms.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def engine_elapsed_ms @engine_elapsed_ms end |
#engine_protocol_version ⇒ Object
Returns the value of attribute engine_protocol_version.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def engine_protocol_version @engine_protocol_version end |
#engine_request_count ⇒ Object
Returns the value of attribute engine_request_count.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def engine_request_count @engine_request_count end |
#index_generation ⇒ Object
Returns the value of attribute index_generation.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def index_generation @index_generation end |
#is_existing ⇒ Object
Returns the value of attribute is_existing.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def is_existing @is_existing end |
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def kmer_size @kmer_size end |
#manifest_generation ⇒ Object
Returns the value of attribute manifest_generation.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def manifest_generation @manifest_generation end |
#minimizer_window ⇒ Object
Returns the value of attribute minimizer_window.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def minimizer_window @minimizer_window end |
#name ⇒ Object
Returns the value of attribute name.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def namespace @namespace end |
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def object_store_root @object_store_root end |
#payload_object ⇒ Object
Returns the value of attribute payload_object.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def payload_object @payload_object end |
#payload_record_ref_count ⇒ Object
Returns the value of attribute payload_record_ref_count.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def payload_record_ref_count @payload_record_ref_count end |
#payload_shard_count ⇒ Object
Returns the value of attribute payload_shard_count.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def payload_shard_count @payload_shard_count end |
#payload_shard_records ⇒ Object
Returns the value of attribute payload_shard_records.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def payload_shard_records @payload_shard_records end |
#posting_encoded_bytes ⇒ Object
Returns the value of attribute posting_encoded_bytes.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def posting_encoded_bytes @posting_encoded_bytes end |
#posting_encoding ⇒ Object
Returns the value of attribute posting_encoding.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def posting_encoding @posting_encoding end |
#posting_segment_object ⇒ Object
Returns the value of attribute posting_segment_object.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def posting_segment_object @posting_segment_object end |
#posting_uncompressed_bytes ⇒ Object
Returns the value of attribute posting_uncompressed_bytes.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def posting_uncompressed_bytes @posting_uncompressed_bytes end |
#record_count ⇒ Object
Returns the value of attribute record_count.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def record_count @record_count end |
#reduced_alphabet ⇒ Object
Returns the value of attribute reduced_alphabet.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def reduced_alphabet @reduced_alphabet end |
#seed_strategy ⇒ Object
Returns the value of attribute seed_strategy.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def seed_strategy @seed_strategy end |
#source_object ⇒ Object
Returns the value of attribute source_object.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def source_object @source_object end |
#source_object_id ⇒ Object
Returns the value of attribute source_object_id.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def source_object_id @source_object_id end |
#source_path ⇒ Object
Returns the value of attribute source_path.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def source_path @source_path end |
#source_sha_256 ⇒ Object
Returns the value of attribute source_sha_256.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def source_sha_256 @source_sha_256 end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def timeout_ms @timeout_ms end |
#token_count ⇒ Object
Returns the value of attribute token_count.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def token_count @token_count end |
#version ⇒ Object
Returns the value of attribute version.
46 47 48 |
# File 'lib/rafflesia/sequences/sequence_candidate_build_data.rb', line 46 def version @version end |