Class: SDM::ApprovalWorkflowDeleteResponse
- Inherits:
-
Object
- Object
- SDM::ApprovalWorkflowDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ApprovalWorkflowDeleteResponse returns information about an ApprovalWorkflow that was deleted.
Instance Attribute Summary collapse
-
#id ⇒ Object
The deleted approval workflow id.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(id: nil, rate_limit: nil) ⇒ ApprovalWorkflowDeleteResponse
constructor
A new instance of ApprovalWorkflowDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, rate_limit: nil) ⇒ ApprovalWorkflowDeleteResponse
2542 2543 2544 2545 2546 2547 2548 |
# File 'lib/models/porcelain.rb', line 2542 def initialize( id: nil, rate_limit: nil ) @id = id == nil ? "" : id @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#id ⇒ Object
The deleted approval workflow id.
2538 2539 2540 |
# File 'lib/models/porcelain.rb', line 2538 def id @id end |
#rate_limit ⇒ Object
Rate limit information.
2540 2541 2542 |
# File 'lib/models/porcelain.rb', line 2540 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2550 2551 2552 2553 2554 2555 2556 |
# File 'lib/models/porcelain.rb', line 2550 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 |