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.
12671 12672 12673 12674 12675 |
# File 'lib/models/porcelain.rb', line 12671 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
12669 12670 12671 |
# File 'lib/models/porcelain.rb', line 12669 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
12677 12678 12679 12680 12681 12682 12683 |
# File 'lib/models/porcelain.rb', line 12677 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 |