Class: Retab::CancelWorkflowRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Retab::CancelWorkflowRequest
- Defined in:
- lib/retab/workflow_runs/cancel_workflow_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ command_id: :command_id }.freeze
Instance Attribute Summary collapse
-
#command_id ⇒ Object
Returns the value of attribute command_id.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ CancelWorkflowRequest
constructor
A new instance of CancelWorkflowRequest.
Methods inherited from Types::BaseModel
#inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ CancelWorkflowRequest
Returns a new instance of CancelWorkflowRequest.
14 15 16 17 |
# File 'lib/retab/workflow_runs/cancel_workflow_request.rb', line 14 def initialize(json) hash = self.class.normalize(json) @command_id = hash[:command_id] end |
Instance Attribute Details
#command_id ⇒ Object
Returns the value of attribute command_id.
12 13 14 |
# File 'lib/retab/workflow_runs/cancel_workflow_request.rb', line 12 def command_id @command_id end |