Class: A2A::CancelTaskRequest
- Inherits:
-
JSONRPC::Request
- Object
- JSONRPC::Request
- A2A::CancelTaskRequest
- Defined in:
- lib/a2a/types/cancel_task_request.rb
Overview
Request to cancel a currently running task.
Constant Summary collapse
- METHOD =
Returns Method name for canceling a task.
'tasks/cancel'
Instance Method Summary collapse
-
#method ⇒ String
Method name for canceling a task.
-
#params ⇒ TaskIdParams
Parameters for the cancel task method.
Instance Method Details
#method ⇒ String
Returns Method name for canceling a task.
10 |
# File 'lib/a2a/types/cancel_task_request.rb', line 10 attribute :method, Types::String.constant(METHOD) |
#params ⇒ TaskIdParams
Returns Parameters for the cancel task method.
13 |
# File 'lib/a2a/types/cancel_task_request.rb', line 13 attribute :params, Types::Constructor(TaskIdParams) |