Class ListTasksRequest
java.lang.Object
org.a2aproject.sdk.jsonrpc.common.wrappers.A2ARequest<T>
org.a2aproject.sdk.jsonrpc.common.wrappers.NonStreamingJSONRPCRequest<org.a2aproject.sdk.spec.ListTasksParams>
org.a2aproject.sdk.jsonrpc.common.wrappers.ListTasksRequest
- All Implemented Interfaces:
A2AMessage
public final class ListTasksRequest
extends NonStreamingJSONRPCRequest<org.a2aproject.sdk.spec.ListTasksParams>
A list tasks request.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for constructing instances. -
Field Summary
Fields inherited from class org.a2aproject.sdk.jsonrpc.common.wrappers.A2ARequest
id, jsonrpc, method, paramsFields inherited from interface org.a2aproject.sdk.jsonrpc.common.wrappers.A2AMessage
JSONRPC_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionListTasksRequest(Object id, org.a2aproject.sdk.spec.ListTasksParams params) Constructs request with ID and parameters.ListTasksRequest(String jsonrpc, Object id, org.a2aproject.sdk.spec.ListTasksParams params) Constructs request with all parameters. -
Method Summary
Methods inherited from class org.a2aproject.sdk.jsonrpc.common.wrappers.A2ARequest
getId, getJsonrpc, getMethod, getParams, validateAndSetJsonParameters
-
Constructor Details
-
ListTasksRequest
Constructs request with all parameters.- Parameters:
jsonrpc- the JSON-RPC versionid- the request IDparams- the request parameters
-
ListTasksRequest
Constructs request with ID and parameters.- Parameters:
id- the request IDparams- the request parameters
-
-
Method Details
-
builder
Create a new Builder- Returns:
- the builder
-