Class ListTaskPushNotificationConfigsResponse

java.lang.Object
org.a2aproject.sdk.jsonrpc.common.wrappers.A2AResponse<org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult>
org.a2aproject.sdk.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsResponse
All Implemented Interfaces:
A2AMessage

public final class ListTaskPushNotificationConfigsResponse extends A2AResponse<org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult>
JSON-RPC response containing all push notification configurations for a task with pagination support.

This response returns a ListTaskPushNotificationConfigsResult containing TaskPushNotificationConfig entries configured for the requested task, showing all active notification endpoints with optional pagination information.

If an error occurs, the error field will contain a A2AError.

See Also:
  • Constructor Details

    • ListTaskPushNotificationConfigsResponse

      public ListTaskPushNotificationConfigsResponse(String jsonrpc, Object id, org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult result, org.a2aproject.sdk.spec.A2AError error)
      Constructs response with all parameters.
      Parameters:
      jsonrpc - the JSON-RPC version
      id - the request ID
      result - the result containing list of push notification configurations and pagination info
      error - the error (if any)
    • ListTaskPushNotificationConfigsResponse

      public ListTaskPushNotificationConfigsResponse(Object id, org.a2aproject.sdk.spec.A2AError error)
      Constructs error response.
      Parameters:
      id - the request ID
      error - the error
    • ListTaskPushNotificationConfigsResponse

      public ListTaskPushNotificationConfigsResponse(Object id, org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult result)
      Constructs success response.
      Parameters:
      id - the request ID
      result - the result containing list of push notification configurations and pagination info