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:
-
for the corresponding requestfor the result structurefor the configuration structure- A2A Protocol Specification
-
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
ConstructorsConstructorDescriptionListTaskPushNotificationConfigsResponse(Object id, org.a2aproject.sdk.spec.A2AError error) Constructs error response.ListTaskPushNotificationConfigsResponse(Object id, org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult result) Constructs success response.ListTaskPushNotificationConfigsResponse(String jsonrpc, Object id, org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult result, org.a2aproject.sdk.spec.A2AError error) Constructs response with all parameters. -
Method Summary
Methods inherited from class org.a2aproject.sdk.jsonrpc.common.wrappers.A2AResponse
getError, getId, getJsonrpc, getResult
-
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 versionid- the request IDresult- the result containing list of push notification configurations and pagination infoerror- the error (if any)
-
ListTaskPushNotificationConfigsResponse
Constructs error response.- Parameters:
id- the request IDerror- the error
-
ListTaskPushNotificationConfigsResponse
public ListTaskPushNotificationConfigsResponse(Object id, org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult result) Constructs success response.- Parameters:
id- the request IDresult- the result containing list of push notification configurations and pagination info
-