Class: SDM::WorkflowApproversDeleteRequest
- Inherits:
-
Object
- Object
- SDM::WorkflowApproversDeleteRequest
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowApproversDeleteRequest specifies the ID of a WorkflowApprover to be deleted.
Instance Attribute Summary collapse
-
#id ⇒ Object
The unique identifier of the WorkflowApprover to delete.
Instance Method Summary collapse
-
#initialize(id: nil) ⇒ WorkflowApproversDeleteRequest
constructor
A new instance of WorkflowApproversDeleteRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil) ⇒ WorkflowApproversDeleteRequest
Returns a new instance of WorkflowApproversDeleteRequest.
11171 11172 11173 11174 11175 |
# File 'lib/models/porcelain.rb', line 11171 def initialize( id: nil ) @id = id == nil ? "" : id end |
Instance Attribute Details
#id ⇒ Object
The unique identifier of the WorkflowApprover to delete.
11169 11170 11171 |
# File 'lib/models/porcelain.rb', line 11169 def id @id end |
Instance Method Details
#to_json(options = {}) ⇒ Object
11177 11178 11179 11180 11181 11182 11183 |
# File 'lib/models/porcelain.rb', line 11177 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 |