Class: Rafflesia::ProteinFoldCandidateBuildData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::ProteinFoldCandidateBuildData
- Defined in:
- lib/rafflesia/proteins/protein_fold_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, index_generation: :index_generation, is_existing: :is_existing, kmer_size: :kmer_size, manifest_generation: :manifest_generation, min_shared_tokens: :min_shared_tokens, name: :name, namespace: :namespace, object_store_root: :object_store_root, payload_object: :payload_object, posting_segment_object: :posting_segment_object, record_count: :record_count, source_object: :source_object, source_object_id: :source_object_id, source_path: :source_path, source_sha256: :source_sha_256, timeout_ms: :timeout_ms, 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.
-
#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.
-
#min_shared_tokens ⇒ Object
Returns the value of attribute min_shared_tokens.
-
#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.
-
#posting_segment_object ⇒ Object
Returns the value of attribute posting_segment_object.
-
#record_count ⇒ Object
Returns the value of attribute record_count.
-
#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.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ ProteinFoldCandidateBuildData
constructor
A new instance of ProteinFoldCandidateBuildData.
Constructor Details
#initialize(json) ⇒ ProteinFoldCandidateBuildData
Returns a new instance of ProteinFoldCandidateBuildData.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 63 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] @index_generation = hash[:index_generation] @is_existing = hash[:is_existing] @kmer_size = hash[:kmer_size] @manifest_generation = hash[:manifest_generation] @min_shared_tokens = hash[:min_shared_tokens] @name = hash[:name] @namespace = hash[:namespace] @object_store_root = hash[:object_store_root] @payload_object = hash[:payload_object] @posting_segment_object = hash[:posting_segment_object] @record_count = hash[:record_count] @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] @version = hash[:version] end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def backend @backend end |
#build_action ⇒ Object
Returns the value of attribute build_action.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def build_action @build_action end |
#build_policy ⇒ Object
Returns the value of attribute build_policy.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def build_policy @build_policy end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def dataset_version @dataset_version end |
#engine ⇒ Object
Returns the value of attribute engine.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def engine @engine end |
#engine_elapsed_ms ⇒ Object
Returns the value of attribute engine_elapsed_ms.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def engine_elapsed_ms @engine_elapsed_ms end |
#engine_protocol_version ⇒ Object
Returns the value of attribute engine_protocol_version.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def engine_protocol_version @engine_protocol_version end |
#index_generation ⇒ Object
Returns the value of attribute index_generation.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def index_generation @index_generation end |
#is_existing ⇒ Object
Returns the value of attribute is_existing.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def is_existing @is_existing end |
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def kmer_size @kmer_size end |
#manifest_generation ⇒ Object
Returns the value of attribute manifest_generation.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def manifest_generation @manifest_generation end |
#min_shared_tokens ⇒ Object
Returns the value of attribute min_shared_tokens.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def min_shared_tokens @min_shared_tokens end |
#name ⇒ Object
Returns the value of attribute name.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def namespace @namespace end |
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def object_store_root @object_store_root end |
#payload_object ⇒ Object
Returns the value of attribute payload_object.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def payload_object @payload_object end |
#posting_segment_object ⇒ Object
Returns the value of attribute posting_segment_object.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def posting_segment_object @posting_segment_object end |
#record_count ⇒ Object
Returns the value of attribute record_count.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def record_count @record_count end |
#source_object ⇒ Object
Returns the value of attribute source_object.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def source_object @source_object end |
#source_object_id ⇒ Object
Returns the value of attribute source_object_id.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def source_object_id @source_object_id end |
#source_path ⇒ Object
Returns the value of attribute source_path.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def source_path @source_path end |
#source_sha_256 ⇒ Object
Returns the value of attribute source_sha_256.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def source_sha_256 @source_sha_256 end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def timeout_ms @timeout_ms end |
#version ⇒ Object
Returns the value of attribute version.
36 37 38 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_data.rb', line 36 def version @version end |