Class: SDM::WorkflowRolesListResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(rate_limit: nil) ⇒ WorkflowRolesListResponse



13358
13359
13360
13361
13362
# File 'lib/models/porcelain.rb', line 13358

def initialize(
  rate_limit: nil
)
  @rate_limit = rate_limit == nil ? nil : rate_limit
end

Instance Attribute Details

#rate_limitObject

Rate limit information.



13356
13357
13358
# File 'lib/models/porcelain.rb', line 13356

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



13364
13365
13366
13367
13368
13369
13370
# File 'lib/models/porcelain.rb', line 13364

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