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.
2642 2643 2644 2645 2646 2647 2648 |
# File 'lib/models/porcelain.rb', line 2642 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.
2638 2639 2640 |
# File 'lib/models/porcelain.rb', line 2638 def id @id end |
#rate_limit ⇒ Object
Rate limit information.
2640 2641 2642 |
# File 'lib/models/porcelain.rb', line 2640 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2650 2651 2652 2653 2654 2655 2656 |
# File 'lib/models/porcelain.rb', line 2650 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 |