Class: Rafflesia::SequenceCandidateApplyRequest

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_policyObject

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_nameObject

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_versionObject

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_idObject

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_pathObject

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_idObject

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_pathObject

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

#nameObject

Returns the value of attribute name.



22
23
24
# File 'lib/rafflesia/sequences/sequence_candidate_apply_request.rb', line 22

def name
  @name
end

#namespaceObject

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_msObject

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

#versionObject

Returns the value of attribute version.



22
23
24
# File 'lib/rafflesia/sequences/sequence_candidate_apply_request.rb', line 22

def version
  @version
end