Class: SDM::WorkflowAssignmentsListResponse
- Inherits:
-
Object
- Object
- SDM::WorkflowAssignmentsListResponse
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowAssignmentsListResponse returns a list of WorkflowAssignment records that meet the criteria of a WorkflowAssignmentsListRequest.
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ WorkflowAssignmentsListResponse
constructor
A new instance of WorkflowAssignmentsListResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ WorkflowAssignmentsListResponse
Returns a new instance of WorkflowAssignmentsListResponse.
10308 10309 10310 10311 10312 |
# File 'lib/models/porcelain.rb', line 10308 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
10306 10307 10308 |
# File 'lib/models/porcelain.rb', line 10306 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10314 10315 10316 10317 10318 10319 10320 |
# File 'lib/models/porcelain.rb', line 10314 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 |