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

Returns a new instance of WorkflowApproversDeleteRequest.



12162
12163
12164
12165
12166
# File 'lib/models/porcelain.rb', line 12162

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

Instance Attribute Details

#idObject

The unique identifier of the WorkflowApprover to delete.



12160
12161
12162
# File 'lib/models/porcelain.rb', line 12160

def id
  @id
end

Instance Method Details

#to_json(options = {}) ⇒ Object



12168
12169
12170
12171
12172
12173
12174
# File 'lib/models/porcelain.rb', line 12168

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