Class: Cadenya::Types::ContinueObjectiveRequest
- Inherits:
-
Object
- Object
- Cadenya::Types::ContinueObjectiveRequest
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#enqueue ⇒ Object
readonly
Returns the value of attribute enqueue.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#objective_id ⇒ Object
readonly
Returns the value of attribute objective_id.
-
#workspace_id ⇒ Object
readonly
Returns the value of attribute workspace_id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(workspace_id: nil, objective_id: nil, message: nil, enqueue: nil) ⇒ ContinueObjectiveRequest
constructor
A new instance of ContinueObjectiveRequest.
- #to_h ⇒ Object
Constructor Details
#initialize(workspace_id: nil, objective_id: nil, message: nil, enqueue: nil) ⇒ ContinueObjectiveRequest
Returns a new instance of ContinueObjectiveRequest.
1422 1423 1424 1425 1426 1427 |
# File 'lib/cadenya/types.rb', line 1422 def initialize(workspace_id: nil, objective_id: nil, message: nil, enqueue: nil) @workspace_id = workspace_id @objective_id = objective_id @message = @enqueue = enqueue end |
Instance Attribute Details
#enqueue ⇒ Object (readonly)
Returns the value of attribute enqueue.
1420 1421 1422 |
# File 'lib/cadenya/types.rb', line 1420 def enqueue @enqueue end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
1420 1421 1422 |
# File 'lib/cadenya/types.rb', line 1420 def @message end |
#objective_id ⇒ Object (readonly)
Returns the value of attribute objective_id.
1420 1421 1422 |
# File 'lib/cadenya/types.rb', line 1420 def objective_id @objective_id end |
#workspace_id ⇒ Object (readonly)
Returns the value of attribute workspace_id.
1420 1421 1422 |
# File 'lib/cadenya/types.rb', line 1420 def workspace_id @workspace_id end |
Class Method Details
.from_json(data) ⇒ Object
1429 1430 1431 1432 1433 1434 1435 1436 |
# File 'lib/cadenya/types.rb', line 1429 def self.from_json(data) new( workspace_id: data["workspaceId"], objective_id: data["objectiveId"], message: data["message"], enqueue: data["enqueue"], ) end |