Class: A2A::CancelTaskRequest

Inherits:
JSONRPC::Request
  • Object
show all
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.

Returns:

  • (String)

    Method name for canceling a task.

'tasks/cancel'

Instance Method Summary collapse

Instance Method Details

#methodString

Returns Method name for canceling a task.

Returns:

  • (String)

    Method name for canceling a task.



10
# File 'lib/a2a/types/cancel_task_request.rb', line 10

attribute :method, Types::String.constant(METHOD)

#paramsTaskIdParams

Returns Parameters for the cancel task method.

Returns:



13
# File 'lib/a2a/types/cancel_task_request.rb', line 13

attribute :params, Types::Constructor(TaskIdParams)