Class: A2A::JSONRPCRequest
- Inherits:
-
JSONRPCMessage
- Object
- Dry::Struct
- ProtocolStruct
- JSONRPCMessage
- A2A::JSONRPCRequest
- Defined in:
- lib/a2a/types/jsonrpc_request.rb
Overview
Represents a JSON-RPC request object.
Direct Known Subclasses
CancelTaskRequest, GetTaskPushNotificationRequest, GetTaskRequest, SendTaskRequest, SendTaskStreamingRequest, SetTaskPushNotificationRequest, TaskResubscriptionRequest
Instance Method Summary collapse
-
#method ⇒ String
The name of the method to be invoked.
-
#params ⇒ Hash?
Parameters for the method.
Methods inherited from JSONRPCMessage
Methods included from Extensions::CaseTransformation
Instance Method Details
#method ⇒ String
Returns The name of the method to be invoked.
7 |
# File 'lib/a2a/types/jsonrpc_request.rb', line 7 attribute :method, Types::String |
#params ⇒ Hash?
Returns Parameters for the method. Can be a structured object, an array, or null/omitted.
10 |
# File 'lib/a2a/types/jsonrpc_request.rb', line 10 attribute? :params, Types::Hash.optional |