Class: A2A::PushNotificationConfig

Inherits:
ProtocolStruct
  • Object
show all
Defined in:
lib/a2a/types/push_notification_config.rb

Overview

Information required for setting up push notifications.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#authenticationAuthenticationInfo?

Returns Optional authentication details needed by the agent to call the notification URL.

Returns:

  • (AuthenticationInfo, nil)

    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

#tokenString?

Returns A token to be included in push notification requests for verification/authentication.

Returns:

  • (String, nil)

    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

#urlString

Returns The URL endpoint where the agent should send notifications.

Returns:

  • (String)

    The URL endpoint where the agent should send notifications.



7
# File 'lib/a2a/types/push_notification_config.rb', line 7

attribute :url, Types::String