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
Returns a new instance of WorkflowDeleteResponse.
13352 13353 13354 13355 13356 13357 13358 |
# File 'lib/models/porcelain.rb', line 13352 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.
13348 13349 13350 |
# File 'lib/models/porcelain.rb', line 13348 def id @id end |
#rate_limit ⇒ Object
Rate limit information.
13350 13351 13352 |
# File 'lib/models/porcelain.rb', line 13350 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13360 13361 13362 13363 13364 13365 13366 |
# File 'lib/models/porcelain.rb', line 13360 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 |