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