Class: A2A::GetTaskRequest

Inherits:
JSONRPCRequest show all
Defined in:
lib/a2a/types/get_task_request.rb

Overview

Request to retrieve the current state of a task.

Instance Method Summary collapse

Methods inherited from JSONRPCMessage

#id, #jsonrpc

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#methodString

Returns Method name for getting task status.

Returns:

  • (String)

    Method name for getting task status.



7
# File 'lib/a2a/types/get_task_request.rb', line 7

attribute :method, Types::String.constant('tasks/get')

#paramsTaskQueryParams

Returns Parameters for the get task method.

Returns:



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

attribute :params, Types::Constructor(TaskQueryParams)