Class: SDM::ApprovalWorkflowApproverGetResponse
- Inherits:
-
Object
- Object
- SDM::ApprovalWorkflowApproverGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ApprovalWorkflowApproverGetResponse returns a requested ApprovalWorkflowApprover.
Instance Attribute Summary collapse
-
#approval_workflow_approver ⇒ Object
The requested ApprovalWorkflowApprover.
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(approval_workflow_approver: nil, meta: nil, rate_limit: nil) ⇒ ApprovalWorkflowApproverGetResponse
constructor
A new instance of ApprovalWorkflowApproverGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(approval_workflow_approver: nil, meta: nil, rate_limit: nil) ⇒ ApprovalWorkflowApproverGetResponse
Returns a new instance of ApprovalWorkflowApproverGetResponse.
2380 2381 2382 2383 2384 2385 2386 2387 2388 |
# File 'lib/models/porcelain.rb', line 2380 def initialize( approval_workflow_approver: nil, meta: nil, rate_limit: nil ) @approval_workflow_approver = approval_workflow_approver == nil ? nil : approval_workflow_approver @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#approval_workflow_approver ⇒ Object
The requested ApprovalWorkflowApprover.
2374 2375 2376 |
# File 'lib/models/porcelain.rb', line 2374 def approval_workflow_approver @approval_workflow_approver end |
#meta ⇒ Object
Reserved for future use.
2376 2377 2378 |
# File 'lib/models/porcelain.rb', line 2376 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
2378 2379 2380 |
# File 'lib/models/porcelain.rb', line 2378 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2390 2391 2392 2393 2394 2395 2396 |
# File 'lib/models/porcelain.rb', line 2390 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 |