Class: A2A::GetTaskPushNotificationResponse

Inherits:
JSONRPC::Response
  • Object
show all
Defined in:
lib/a2a/types/get_task_push_notification_response.rb

Overview

Response to a ‘tasks/pushNotificationConfig/get` request. Contains the TaskPushNotificationConfig or an error.

Instance Method Summary collapse

Instance Method Details

#errorJSONRPC::Error?

Returns Error information if the request failed.

Returns:

  • (JSONRPC::Error, nil)

    Error information if the request failed.



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

attribute? :error, Types::Constructor(JSONRPC::Error).optional

#resultTaskPushNotificationConfig?

Returns The push notification config if successful.

Returns:



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

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