Class: A2A::SendMessageResponse
- Inherits:
-
JSONRPC::Response
- Object
- JSONRPC::Response
- A2A::SendMessageResponse
- Defined in:
- lib/a2a/types/send_message_response.rb
Overview
Response to a ‘message/send` request. Returns either a direct Message reply or the initial Task object.
Instance Method Summary collapse
-
#error ⇒ JSONRPC::Error?
Error information if the request failed.
-
#result ⇒ Message, ...
The result, which can be a direct reply Message or the initial Task object.
Instance Method Details
#error ⇒ JSONRPC::Error?
Returns Error information if the request failed.
11 |
# File 'lib/a2a/types/send_message_response.rb', line 11 attribute? :error, Types::Constructor(JSONRPC::Error).optional |
#result ⇒ Message, ...
Returns The result, which can be a direct reply Message or the initial Task object.
8 |
# File 'lib/a2a/types/send_message_response.rb', line 8 attribute? :result, Types::Any.optional |