Class: SDM::WorkflowAssignmentsListRequest
- Inherits:
-
Object
- Object
- SDM::WorkflowAssignmentsListRequest
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowAssignmentsListRequest specifies criteria for retrieving a list of WorkflowAssignment records
Instance Attribute Summary collapse
-
#filter ⇒ Object
A human-readable filter query string.
Instance Method Summary collapse
-
#initialize(filter: nil) ⇒ WorkflowAssignmentsListRequest
constructor
A new instance of WorkflowAssignmentsListRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(filter: nil) ⇒ WorkflowAssignmentsListRequest
Returns a new instance of WorkflowAssignmentsListRequest.
12303 12304 12305 12306 12307 |
# File 'lib/models/porcelain.rb', line 12303 def initialize( filter: nil ) @filter = filter == nil ? "" : filter end |
Instance Attribute Details
#filter ⇒ Object
A human-readable filter query string.
12301 12302 12303 |
# File 'lib/models/porcelain.rb', line 12301 def filter @filter end |
Instance Method Details
#to_json(options = {}) ⇒ Object
12309 12310 12311 12312 12313 12314 12315 |
# File 'lib/models/porcelain.rb', line 12309 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 |