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.
2388 2389 2390 2391 2392 |
# File 'lib/models/porcelain.rb', line 2388 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
2386 2387 2388 |
# File 'lib/models/porcelain.rb', line 2386 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2394 2395 2396 2397 2398 2399 2400 |
# File 'lib/models/porcelain.rb', line 2394 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 |