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



17980
17981
17982
17983
17984
# File 'lib/models/porcelain.rb', line 17980

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

Instance Attribute Details

#rate_limitObject

Rate limit information.



17978
17979
17980
# File 'lib/models/porcelain.rb', line 17978

def rate_limit
  @rate_limit
end

Instance Method Details

#to_json(options = {}) ⇒ Object



17986
17987
17988
17989
17990
17991
17992
# File 'lib/models/porcelain.rb', line 17986

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