Class: A2A::PushNotificationConfig
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::PushNotificationConfig
- Defined in:
- lib/a2a/types/push_notification_config.rb
Overview
Defines the configuration for setting up push notifications for task updates.
Instance Method Summary collapse
-
#authentication ⇒ PushNotificationAuthenticationInfo?
Optional authentication details for the agent to use when calling the notification URL.
-
#id ⇒ String?
A unique identifier (e.g. UUID) for the push notification configuration, set by the client to support multiple notification callbacks.
-
#token ⇒ String?
A unique token for this task or session to validate incoming push notifications.
-
#url ⇒ URI
The callback URL where the agent should send push notifications.
Methods included from Extensions::CaseTransformation
Instance Method Details
#authentication ⇒ PushNotificationAuthenticationInfo?
18 |
# File 'lib/a2a/types/push_notification_config.rb', line 18 attribute? :authentication, Types::Constructor(PushNotificationAuthenticationInfo).optional |
#id ⇒ String?
8 |
# File 'lib/a2a/types/push_notification_config.rb', line 8 attribute? :id, Types::String.optional |
#token ⇒ String?
14 |
# File 'lib/a2a/types/push_notification_config.rb', line 14 attribute? :token, Types::String.optional |
#url ⇒ URI
11 |
# File 'lib/a2a/types/push_notification_config.rb', line 11 attribute :url, Types::URI |