Class: SDM::WorkflowRoleGetResponse
- Inherits:
-
Object
- Object
- SDM::WorkflowRoleGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
WorkflowRoleGetResponse returns a requested WorkflowRole.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#workflow_role ⇒ Object
The requested WorkflowRole.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil, workflow_role: nil) ⇒ WorkflowRoleGetResponse
constructor
A new instance of WorkflowRoleGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil, workflow_role: nil) ⇒ WorkflowRoleGetResponse
Returns a new instance of WorkflowRoleGetResponse.
13489 13490 13491 13492 13493 13494 13495 13496 13497 |
# File 'lib/models/porcelain.rb', line 13489 def initialize( meta: nil, rate_limit: nil, workflow_role: nil ) @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit @workflow_role = workflow_role == nil ? nil : workflow_role end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
13483 13484 13485 |
# File 'lib/models/porcelain.rb', line 13483 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
13485 13486 13487 |
# File 'lib/models/porcelain.rb', line 13485 def rate_limit @rate_limit end |
#workflow_role ⇒ Object
The requested WorkflowRole.
13487 13488 13489 |
# File 'lib/models/porcelain.rb', line 13487 def workflow_role @workflow_role end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13499 13500 13501 13502 13503 13504 13505 |
# File 'lib/models/porcelain.rb', line 13499 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 |