Class: A2A::GetAuthenticatedExtendedCardResponse

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

Overview

Response to a ‘agent/getAuthenticatedExtendedCard` request. Returns an extended AgentCard with additional details for authenticated users.

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.



11
# File 'lib/a2a/types/get_authenticated_extended_card_response.rb', line 11

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

#resultAgentCard?

Returns The authenticated extended agent card if successful.

Returns:

  • (AgentCard, nil)

    The authenticated extended agent card if successful.



8
# File 'lib/a2a/types/get_authenticated_extended_card_response.rb', line 8

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