Class: A2A::FileBase
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::FileBase
- Defined in:
- lib/a2a/types/file_base.rb
Overview
Defines base properties for a file.
Direct Known Subclasses
Instance Method Summary collapse
-
#mime_type ⇒ String?
The MIME type of the file (e.g., “application/pdf”).
-
#name ⇒ String?
An optional name for the file (e.g., “document.pdf”).
Methods included from Extensions::CaseTransformation
Instance Method Details
#mime_type ⇒ String?
10 |
# File 'lib/a2a/types/file_base.rb', line 10 attribute? :mime_type, Types::String.optional |
#name ⇒ String?
7 |
# File 'lib/a2a/types/file_base.rb', line 7 attribute? :name, Types::String.optional |