Class DeleteTaskPushNotificationConfigRequest

All Implemented Interfaces:
A2AMessage

public final class DeleteTaskPushNotificationConfigRequest extends NonStreamingJSONRPCRequest<DeleteTaskPushNotificationConfigParams>
JSON-RPC request to delete a push notification configuration from a task.

This request removes a specific push notification endpoint configuration from a task, stopping future notifications to that endpoint. The task will continue execution, but no longer send updates to the deleted notification URL.

This class implements the JSON-RPC tasks/pushNotificationConfig/delete method.

See Also:
  • Constructor Details

    • DeleteTaskPushNotificationConfigRequest

      public DeleteTaskPushNotificationConfigRequest(String jsonrpc, Object id, DeleteTaskPushNotificationConfigParams params)
      Creates a new DeleteTaskPushNotificationConfigRequest with the specified JSON-RPC parameters.
      Parameters:
      jsonrpc - the JSON-RPC version (defaults to "2.0" if null)
      id - the request identifier (string, integer, or null)
      params - the request parameters containing task and config IDs
      Throws:
      IllegalArgumentException - if jsonrpc version is invalid, method is not "DeleteTaskPushNotificationConfig", or id is not a string/integer/null
    • DeleteTaskPushNotificationConfigRequest

      public DeleteTaskPushNotificationConfigRequest(String id, DeleteTaskPushNotificationConfigParams params)
      Creates a new DeleteTaskPushNotificationConfigRequest with default JSON-RPC version and method.
      Parameters:
      id - the request identifier (string, integer, or null)
      params - the request parameters containing task and config IDs
      Throws:
      IllegalArgumentException - if id is not a string/integer/null
  • Method Details