Class: A2A::SendTaskResponse
- Inherits:
-
JSONRPCResponse
- Object
- Dry::Struct
- ProtocolStruct
- JSONRPCMessage
- JSONRPCResponse
- A2A::SendTaskResponse
- Defined in:
- lib/a2a/types/send_task_response.rb
Overview
Response to a ‘tasks/send` request. Contains the Task object or an error.
Instance Method Summary collapse
-
#error ⇒ JSONRPCError?
Error information if the request failed.
-
#result ⇒ Task?
The resulting task if successful.
Methods inherited from JSONRPCMessage
Methods included from Extensions::CaseTransformation
Instance Method Details
#error ⇒ JSONRPCError?
Returns Error information if the request failed.
11 |
# File 'lib/a2a/types/send_task_response.rb', line 11 attribute? :error, Types::Constructor(JSONRPCError).optional |