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