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.
2903 2904 2905 2906 2907 |
# File 'lib/models/porcelain.rb', line 2903 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
2901 2902 2903 |
# File 'lib/models/porcelain.rb', line 2901 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2909 2910 2911 2912 2913 2914 2915 |
# File 'lib/models/porcelain.rb', line 2909 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 |