Class DeleteTaskPushNotificationConfigResponse
java.lang.Object
org.a2aproject.sdk.jsonrpc.common.wrappers.A2AResponse<Void>
org.a2aproject.sdk.jsonrpc.common.wrappers.DeleteTaskPushNotificationConfigResponse
- All Implemented Interfaces:
A2AMessage
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.
-
Field Summary
Fields inherited from class org.a2aproject.sdk.jsonrpc.common.wrappers.A2AResponse
error, id, jsonrpc, resultFields inherited from interface org.a2aproject.sdk.jsonrpc.common.wrappers.A2AMessage
JSONRPC_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new successful DeleteTaskPushNotificationConfigResponse with default JSON-RPC version.Creates a new error DeleteTaskPushNotificationConfigResponse with default JSON-RPC version.DeleteTaskPushNotificationConfigResponse(String jsonrpc, Object id, Void result, A2AError error) Creates a new DeleteTaskPushNotificationConfigResponse with full JSON-RPC parameters. -
Method Summary
Methods inherited from class org.a2aproject.sdk.jsonrpc.common.wrappers.A2AResponse
getError, getId, getJsonrpc, getResult
-
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 versionid- the response identifier matching the requestresult- the result (always null/Void for this response type)error- the error if the request failed, null on success
-
DeleteTaskPushNotificationConfigResponse
Creates a new error DeleteTaskPushNotificationConfigResponse with default JSON-RPC version.- Parameters:
id- the response identifier matching the requesterror- the error describing why the deletion failed
-
DeleteTaskPushNotificationConfigResponse
Creates a new successful DeleteTaskPushNotificationConfigResponse with default JSON-RPC version.- Parameters:
id- the response identifier matching the request
-