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.
13670 13671 13672 13673 13674 |
# File 'lib/models/porcelain.rb', line 13670 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
13668 13669 13670 |
# File 'lib/models/porcelain.rb', line 13668 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13676 13677 13678 13679 13680 13681 13682 |
# File 'lib/models/porcelain.rb', line 13676 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 |