Class: Rafflesia::ProteinFoldCandidateBuildRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::ProteinFoldCandidateBuildRequest
- Defined in:
- lib/rafflesia/proteins/protein_fold_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, min_shared_tokens: :min_shared_tokens, name: :name, namespace: :namespace, 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.
-
#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.
-
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ ProteinFoldCandidateBuildRequest
constructor
A new instance of ProteinFoldCandidateBuildRequest.
Constructor Details
#initialize(json) ⇒ ProteinFoldCandidateBuildRequest
Returns a new instance of ProteinFoldCandidateBuildRequest.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 35 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] @min_shared_tokens = hash[:min_shared_tokens] @name = hash[:name] @namespace = hash[:namespace] @timeout_ms = hash[:timeout_ms] @version = hash[:version] end |
Instance Attribute Details
#build_policy ⇒ Object
Returns the value of attribute build_policy.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def build_policy @build_policy end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def dataset_version @dataset_version end |
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def input_object_id @input_object_id end |
#input_path ⇒ Object
Returns the value of attribute input_path.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def input_path @input_path end |
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def kmer_size @kmer_size end |
#min_shared_tokens ⇒ Object
Returns the value of attribute min_shared_tokens.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def min_shared_tokens @min_shared_tokens end |
#name ⇒ Object
Returns the value of attribute name.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def namespace @namespace end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def timeout_ms @timeout_ms end |
#version ⇒ Object
Returns the value of attribute version.
22 23 24 |
# File 'lib/rafflesia/proteins/protein_fold_candidate_build_request.rb', line 22 def version @version end |