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.
13653 13654 13655 13656 13657 |
# File 'lib/models/porcelain.rb', line 13653 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
13651 13652 13653 |
# File 'lib/models/porcelain.rb', line 13651 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13659 13660 13661 13662 13663 13664 13665 |
# File 'lib/models/porcelain.rb', line 13659 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 |