A2aEngine.Types.PushNotificationConfig (a2a_engine v0.1.0)

Copy Markdown View Source

Webhook configuration for receiving asynchronous task updates.

Wire fields: url (required), id (client-assigned, supports multiple callbacks per task), token (opaque per-task validation token), authentication (optional auth info).

Summary

Types

t()

@type t() :: %A2aEngine.Types.PushNotificationConfig{
  authentication: A2aEngine.Types.PushNotificationAuthenticationInfo.t() | nil,
  id: String.t() | nil,
  token: String.t() | nil,
  url: String.t()
}

Functions

from_map(m)

@spec from_map(map()) :: {:ok, t()} | {:error, term()}

to_map(c)

@spec to_map(t()) :: map()