Class: A2A::GetTaskResponse
- Inherits:
-
JSONRPC::Response
- Object
- JSONRPC::Response
- A2A::GetTaskResponse
- Defined in:
- lib/a2a/types/get_task_response.rb
Overview
Response to a ‘tasks/get` request. Contains the Task object or an error.
Instance Method Summary collapse
-
#error ⇒ JSONRPC::Error?
Error information if the request failed.
-
#result ⇒ Task?
The task information if successful.
Instance Method Details
#error ⇒ JSONRPC::Error?
10 |
# File 'lib/a2a/types/get_task_response.rb', line 10 attribute? :error, Types::Constructor(JSONRPC::Error).optional |
#result ⇒ Task?
7 |
# File 'lib/a2a/types/get_task_response.rb', line 7 attribute? :result, Types::Constructor(Task).optional |