Class: SDM::WorkflowRolesListResponse
- Inherits:
-
Object
- Object
- SDM::WorkflowRolesListResponse
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowRolesListResponse returns a list of WorkflowRole records that meet the criteria of a WorkflowRolesListRequest.
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ WorkflowRolesListResponse
constructor
A new instance of WorkflowRolesListResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ WorkflowRolesListResponse
Returns a new instance of WorkflowRolesListResponse.
11114 11115 11116 11117 11118 |
# File 'lib/models/porcelain.rb', line 11114 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
11112 11113 11114 |
# File 'lib/models/porcelain.rb', line 11112 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
11120 11121 11122 11123 11124 11125 11126 |
# File 'lib/models/porcelain.rb', line 11120 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 |