Class: A2A::PartBase

Inherits:
ProtocolStruct
  • Object
show all
Defined in:
lib/a2a/types/part_base.rb

Overview

Defines base properties common to all message or artifact parts.

Direct Known Subclasses

DataPart, FilePart, TextPart

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#metadataHash<String, Object>

Returns Optional metadata associated with this part.

Returns:

  • (Hash<String, Object>)

    Optional metadata associated with this part.



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

attribute? :metadata, Types::Hash.map(Types::String, Types::Any).optional