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.
3287 3288 3289 3290 3291 |
# File 'lib/models/porcelain.rb', line 3287 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
3285 3286 3287 |
# File 'lib/models/porcelain.rb', line 3285 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
3293 3294 3295 3296 3297 3298 3299 |
# File 'lib/models/porcelain.rb', line 3293 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 |