Class: SDM::WorkflowApproverGetResponse
- Inherits:
-
Object
- Object
- SDM::WorkflowApproverGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowApproverGetResponse returns a requested WorkflowApprover.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#workflow_approver ⇒ Object
The requested WorkflowApprover.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil, workflow_approver: nil) ⇒ WorkflowApproverGetResponse
constructor
A new instance of WorkflowApproverGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil, workflow_approver: nil) ⇒ WorkflowApproverGetResponse
Returns a new instance of WorkflowApproverGetResponse.
13059 13060 13061 13062 13063 13064 13065 13066 13067 |
# File 'lib/models/porcelain.rb', line 13059 def initialize( meta: nil, rate_limit: nil, workflow_approver: nil ) @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit @workflow_approver = workflow_approver == nil ? nil : workflow_approver end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
13053 13054 13055 |
# File 'lib/models/porcelain.rb', line 13053 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
13055 13056 13057 |
# File 'lib/models/porcelain.rb', line 13055 def rate_limit @rate_limit end |
#workflow_approver ⇒ Object
The requested WorkflowApprover.
13057 13058 13059 |
# File 'lib/models/porcelain.rb', line 13057 def workflow_approver @workflow_approver end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13069 13070 13071 13072 13073 13074 13075 |
# File 'lib/models/porcelain.rb', line 13069 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 |