Class: SDM::ApprovalWorkflowApproverListResponse
- Inherits:
-
Object
- Object
- SDM::ApprovalWorkflowApproverListResponse
- 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
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ ApprovalWorkflowApproverListResponse
constructor
A new instance of ApprovalWorkflowApproverListResponse.
- #to_json(options = {}) ⇒ Object
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_limit ⇒ Object
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( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |