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
Returns a new instance of ApprovalWorkflowDeleteResponse.
2873 2874 2875 2876 2877 2878 2879 |
# File 'lib/models/porcelain.rb', line 2873 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.
2869 2870 2871 |
# File 'lib/models/porcelain.rb', line 2869 def id @id end |
#rate_limit ⇒ Object
Rate limit information.
2871 2872 2873 |
# File 'lib/models/porcelain.rb', line 2871 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2881 2882 2883 2884 2885 2886 2887 |
# File 'lib/models/porcelain.rb', line 2881 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 |