Class: A2A::PushNotificationConfig
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::PushNotificationConfig
- Defined in:
- lib/a2a/types/push_notification_config.rb
Overview
Information required for setting up push notifications.
Instance Method Summary collapse
-
#authentication ⇒ AuthenticationInfo?
Optional authentication details needed by the agent to call the notification URL.
-
#token ⇒ String?
A token to be included in push notification requests for verification/authentication.
-
#url ⇒ String
The URL endpoint where the agent should send notifications.
Methods included from Extensions::CaseTransformation
Instance Method Details
#authentication ⇒ AuthenticationInfo?
Returns Optional authentication details needed by the agent to call the notification URL.
13 |
# File 'lib/a2a/types/push_notification_config.rb', line 13 attribute? :authentication, Types::Constructor(AuthenticationInfo).optional |
#token ⇒ String?
Returns A token to be included in push notification requests for verification/authentication.
10 |
# File 'lib/a2a/types/push_notification_config.rb', line 10 attribute? :token, Types::String.optional |
#url ⇒ String
Returns The URL endpoint where the agent should send notifications.
7 |
# File 'lib/a2a/types/push_notification_config.rb', line 7 attribute :url, Types::String |