Class: SDM::WorkflowRolesListRequest
- Inherits:
-
Object
- Object
- SDM::WorkflowRolesListRequest
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowRolesListRequest specifies criteria for retrieving a list of WorkflowRole records
Instance Attribute Summary collapse
-
#filter ⇒ Object
A human-readable filter query string.
Instance Method Summary collapse
-
#initialize(filter: nil) ⇒ WorkflowRolesListRequest
constructor
A new instance of WorkflowRolesListRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(filter: nil) ⇒ WorkflowRolesListRequest
Returns a new instance of WorkflowRolesListRequest.
13632 13633 13634 13635 13636 |
# File 'lib/models/porcelain.rb', line 13632 def initialize( filter: nil ) @filter = filter == nil ? "" : filter end |
Instance Attribute Details
#filter ⇒ Object
A human-readable filter query string.
13630 13631 13632 |
# File 'lib/models/porcelain.rb', line 13630 def filter @filter end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13638 13639 13640 13641 13642 13643 13644 |
# File 'lib/models/porcelain.rb', line 13638 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 |