Class: SDM::ApprovalWorkflowApproverListResponse

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

Overview

ApprovalWorkflowApproverListResponse returns a list of ApprovalWorkflowApprover records that meet the criteria of an ApprovalWorkflowApproverListRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rate_limit: nil) ⇒ ApprovalWorkflowApproverListResponse

Returns a new instance of ApprovalWorkflowApproverListResponse.



2567
2568
2569
2570
2571
# File 'lib/models/porcelain.rb', line 2567

def initialize(
  rate_limit: nil
)
  @rate_limit = rate_limit == nil ? nil : rate_limit
end

Instance Attribute Details

#rate_limitObject

Rate limit information.



2565
2566
2567
# File 'lib/models/porcelain.rb', line 2565

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



2573
2574
2575
2576
2577
2578
2579
# File 'lib/models/porcelain.rb', line 2573

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