Class: A2A::SetTaskPushNotificationResponse
- Inherits:
-
JSONRPCResponse
- Object
- Dry::Struct
- ProtocolStruct
- JSONRPCMessage
- JSONRPCResponse
- A2A::SetTaskPushNotificationResponse
- Defined in:
- lib/a2a/types/set_task_push_notification_response.rb
Overview
Response to a ‘tasks/pushNotification/set` request. Contains the TaskPushNotificationConfig or an error.
Instance Method Summary collapse
-
#error ⇒ JSONRPCError?
Error information if the request failed.
-
#result ⇒ TaskPushNotificationConfig?
The push notification config if successful.
Methods inherited from JSONRPCMessage
Methods included from Extensions::CaseTransformation
Instance Method Details
#error ⇒ JSONRPCError?
Returns Error information if the request failed.
10 |
# File 'lib/a2a/types/set_task_push_notification_response.rb', line 10 attribute? :error, Types::Constructor(JSONRPCError).optional |
#result ⇒ TaskPushNotificationConfig?
Returns The push notification config if successful.
7 |
# File 'lib/a2a/types/set_task_push_notification_response.rb', line 7 attribute? :result, Types::Constructor(TaskPushNotificationConfig).optional |