Class: SDM::WorkflowApproversCreateRequest
- Inherits:
-
Object
- Object
- SDM::WorkflowApproversCreateRequest
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowApproversCreateRequest specifies the workflowID and approverID of a new workflow approver to be created.
Instance Attribute Summary collapse
-
#workflow_approver ⇒ Object
Parameters to define the new WorkflowApprover.
Instance Method Summary collapse
-
#initialize(workflow_approver: nil) ⇒ WorkflowApproversCreateRequest
constructor
A new instance of WorkflowApproversCreateRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(workflow_approver: nil) ⇒ WorkflowApproversCreateRequest
Returns a new instance of WorkflowApproversCreateRequest.
13100 13101 13102 13103 13104 |
# File 'lib/models/porcelain.rb', line 13100 def initialize( workflow_approver: nil ) @workflow_approver = workflow_approver == nil ? nil : workflow_approver end |
Instance Attribute Details
#workflow_approver ⇒ Object
Parameters to define the new WorkflowApprover.
13098 13099 13100 |
# File 'lib/models/porcelain.rb', line 13098 def workflow_approver @workflow_approver end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13106 13107 13108 13109 13110 13111 13112 |
# File 'lib/models/porcelain.rb', line 13106 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |