Class: SDM::WorkflowDeleteResponse
- Inherits:
-
Object
- Object
- SDM::WorkflowDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowDeleteResponse returns information about a Workflow that was deleted.
Instance Attribute Summary collapse
-
#id ⇒ Object
The deleted workflow id.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(id: nil, rate_limit: nil) ⇒ WorkflowDeleteResponse
constructor
A new instance of WorkflowDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, rate_limit: nil) ⇒ WorkflowDeleteResponse
15884 15885 15886 15887 15888 15889 15890 |
# File 'lib/models/porcelain.rb', line 15884 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 workflow id.
15880 15881 15882 |
# File 'lib/models/porcelain.rb', line 15880 def id @id end |
#rate_limit ⇒ Object
Rate limit information.
15882 15883 15884 |
# File 'lib/models/porcelain.rb', line 15882 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
15892 15893 15894 15895 15896 15897 15898 |
# File 'lib/models/porcelain.rb', line 15892 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 |