Class: SDM::ApprovalWorkflowStepDeleteResponse
- Inherits:
-
Object
- Object
- SDM::ApprovalWorkflowStepDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ApprovalWorkflowStepDeleteResponse returns information about an ApprovalWorkflowStep that was deleted.
Instance Attribute Summary collapse
-
#id ⇒ Object
The deleted approval workflow step id.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(id: nil, rate_limit: nil) ⇒ ApprovalWorkflowStepDeleteResponse
constructor
A new instance of ApprovalWorkflowStepDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, rate_limit: nil) ⇒ ApprovalWorkflowStepDeleteResponse
Returns a new instance of ApprovalWorkflowStepDeleteResponse.
2778 2779 2780 2781 2782 2783 2784 |
# File 'lib/models/porcelain.rb', line 2778 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 step id.
2774 2775 2776 |
# File 'lib/models/porcelain.rb', line 2774 def id @id end |
#rate_limit ⇒ Object
Rate limit information.
2776 2777 2778 |
# File 'lib/models/porcelain.rb', line 2776 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2786 2787 2788 2789 2790 2791 2792 |
# File 'lib/models/porcelain.rb', line 2786 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 |