Class: SDM::WorkflowAssignmentsListRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/models/porcelain.rb

Overview

WorkflowAssignmentsListRequest specifies criteria for retrieving a list of WorkflowAssignment records

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filter: nil) ⇒ WorkflowAssignmentsListRequest

Returns a new instance of WorkflowAssignmentsListRequest.



13285
13286
13287
13288
13289
# File 'lib/models/porcelain.rb', line 13285

def initialize(
  filter: nil
)
  @filter = filter == nil ? "" : filter
end

Instance Attribute Details

#filterObject

A human-readable filter query string.



13283
13284
13285
# File 'lib/models/porcelain.rb', line 13283

def filter
  @filter
end

Instance Method Details

#to_json(options = {}) ⇒ Object



13291
13292
13293
13294
13295
13296
13297
# File 'lib/models/porcelain.rb', line 13291

def to_json(options = {})
  hash = {}
  self.instance_variables.each do |var|
    hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
  end
  hash.to_json
end