Class ListTaskPushNotificationConfigsResponse
java.lang.Object
org.a2aproject.sdk.jsonrpc.common.wrappers.A2AResponse<ListTaskPushNotificationConfigsResult>
org.a2aproject.sdk.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsResponse
- All Implemented Interfaces:
A2AMessage
public final class ListTaskPushNotificationConfigsResponse
extends A2AResponse<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:
-
Field Summary
Fields inherited from class A2AResponse
error, id, jsonrpc, resultFields inherited from interface A2AMessage
JSONRPC_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionConstructs error response.Constructs success response.ListTaskPushNotificationConfigsResponse(String jsonrpc, Object id, ListTaskPushNotificationConfigsResult result, A2AError error) Constructs response with all parameters. -
Method Summary
Methods inherited from class A2AResponse
getError, getId, getJsonrpc, getResult
-
Constructor Details
-
ListTaskPushNotificationConfigsResponse
public ListTaskPushNotificationConfigsResponse(String jsonrpc, Object id, ListTaskPushNotificationConfigsResult result, A2AError error) Constructs response with all parameters.- Parameters:
jsonrpc- the JSON-RPC versionid- the request IDresult- the result containing list of push notification configurations and pagination infoerror- the error (if any)
-
ListTaskPushNotificationConfigsResponse
-
ListTaskPushNotificationConfigsResponse
public ListTaskPushNotificationConfigsResponse(Object id, ListTaskPushNotificationConfigsResult result) Constructs success response.- Parameters:
id- the request IDresult- the result containing list of push notification configurations and pagination info
-