Class JSONRPCResponse_v0_3<T>
java.lang.Object
org.a2aproject.sdk.compat03.spec.JSONRPCResponse_v0_3<T>
- All Implemented Interfaces:
JSONRPCMessage_v0_3
- Direct Known Subclasses:
CancelTaskResponse_v0_3, DeleteTaskPushNotificationConfigResponse_v0_3, GetAuthenticatedExtendedCardResponse_v0_3, GetTaskPushNotificationConfigResponse_v0_3, GetTaskResponse_v0_3, JSONRPCErrorResponse_v0_3, ListTaskPushNotificationConfigResponse_v0_3, SendMessageResponse_v0_3, SendStreamingMessageResponse_v0_3, SetTaskPushNotificationConfigResponse_v0_3
public abstract sealed class JSONRPCResponse_v0_3<T>
extends Object
implements JSONRPCMessage_v0_3
permits SendStreamingMessageResponse_v0_3, GetTaskResponse_v0_3, CancelTaskResponse_v0_3, SetTaskPushNotificationConfigResponse_v0_3, GetTaskPushNotificationConfigResponse_v0_3, SendMessageResponse_v0_3, DeleteTaskPushNotificationConfigResponse_v0_3, ListTaskPushNotificationConfigResponse_v0_3, JSONRPCErrorResponse_v0_3, GetAuthenticatedExtendedCardResponse_v0_3
Represents a JSONRPC response.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JSONRPCError_v0_3protected Objectprotected Stringprotected TFields inherited from interface JSONRPCMessage_v0_3
JSONRPC_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionJSONRPCResponse_v0_3(String jsonrpc, Object id, T result, JSONRPCError_v0_3 error, Class<T> resultType) -
Method Summary
-
Field Details
-
jsonrpc
-
id
-
result
-
error
-
-
Constructor Details
-
JSONRPCResponse_v0_3
public JSONRPCResponse_v0_3() -
JSONRPCResponse_v0_3
-
-
Method Details
-
getJsonrpc
- Specified by:
getJsonrpcin interfaceJSONRPCMessage_v0_3
-
getId
- Specified by:
getIdin interfaceJSONRPCMessage_v0_3
-
getResult
-
getError
-