Class DeleteTaskPushNotificationConfigResponse

java.lang.Object
org.a2aproject.sdk.jsonrpc.common.wrappers.A2AResponse<Void>
org.a2aproject.sdk.jsonrpc.common.wrappers.DeleteTaskPushNotificationConfigResponse
All Implemented Interfaces:
A2AMessage

public final class DeleteTaskPushNotificationConfigResponse extends A2AResponse<Void>
JSON-RPC response confirming deletion of a task's push notification configuration.

This response confirms successful deletion of the push notification configuration. The result is void (no content) on success.

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

See Also:
  • Constructor Details

    • DeleteTaskPushNotificationConfigResponse

      public DeleteTaskPushNotificationConfigResponse(String jsonrpc, Object id, Void result, A2AError error)
      Creates a new DeleteTaskPushNotificationConfigResponse with full JSON-RPC parameters.
      Parameters:
      jsonrpc - the JSON-RPC version
      id - the response identifier matching the request
      result - the result (always null/Void for this response type)
      error - the error if the request failed, null on success
    • DeleteTaskPushNotificationConfigResponse

      public DeleteTaskPushNotificationConfigResponse(Object id, A2AError error)
      Creates a new error DeleteTaskPushNotificationConfigResponse with default JSON-RPC version.
      Parameters:
      id - the response identifier matching the request
      error - the error describing why the deletion failed
    • DeleteTaskPushNotificationConfigResponse

      public DeleteTaskPushNotificationConfigResponse(Object id)
      Creates a new successful DeleteTaskPushNotificationConfigResponse with default JSON-RPC version.
      Parameters:
      id - the response identifier matching the request