Class: SDM::WorkflowApproversDeleteRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Overview

WorkflowApproversDeleteRequest specifies the ID of a WorkflowApprover to be deleted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id: nil) ⇒ WorkflowApproversDeleteRequest



18553
18554
18555
18556
18557
# File 'lib/models/porcelain.rb', line 18553

def initialize(
  id: nil
)
  @id = id == nil ? "" : id
end

Instance Attribute Details

#idObject

The unique identifier of the WorkflowApprover to delete.



18551
18552
18553
# File 'lib/models/porcelain.rb', line 18551

def id
  @id
end

Instance Method Details

#to_json(options = {}) ⇒ Object



18559
18560
18561
18562
18563
18564
18565
# File 'lib/models/porcelain.rb', line 18559

def to_json(options = {})
  hash = {}
  self.instance_variables.each do |var|
    hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
  end
  hash.to_json
end