Class: A2A::FileWithBytes

Inherits:
FileBase
  • Object
show all
Defined in:
lib/a2a/types/file_with_bytes.rb

Overview

Represents a file with its content provided directly as a base64-encoded string.

Instance Method Summary collapse

Methods inherited from FileBase

#mime_type, #name

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#bytesString

Returns The base64-encoded content of the file.

Returns:

  • (String)

    The base64-encoded content of the file.



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

attribute :bytes, Types::String