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.
16160 16161 16162 16163 16164 |
# File 'lib/models/porcelain.rb', line 16160 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
16158 16159 16160 |
# File 'lib/models/porcelain.rb', line 16158 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
16166 16167 16168 16169 16170 16171 16172 |
# File 'lib/models/porcelain.rb', line 16166 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 |