Class: A2A::SetTaskPushNotificationResponse

Inherits:
JSONRPCResponse show all
Defined in:
lib/a2a/types/set_task_push_notification_response.rb

Overview

Response to a ‘tasks/pushNotification/set` request. Contains the TaskPushNotificationConfig or an error.

Instance Method Summary collapse

Methods inherited from JSONRPCMessage

#id, #jsonrpc

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#errorJSONRPCError?

Returns Error information if the request failed.

Returns:

  • (JSONRPCError, nil)

    Error information if the request failed.



10
# File 'lib/a2a/types/set_task_push_notification_response.rb', line 10

attribute? :error, Types::Constructor(JSONRPCError).optional

#resultTaskPushNotificationConfig?

Returns The push notification config if successful.

Returns:



7
# File 'lib/a2a/types/set_task_push_notification_response.rb', line 7

attribute? :result, Types::Constructor(TaskPushNotificationConfig).optional