Record Class FileWithUri_v0_3
java.lang.Object
java.lang.Record
org.a2aproject.sdk.compat03.spec.FileWithUri_v0_3
- All Implemented Interfaces:
FileContent_v0_3
public record FileWithUri_v0_3(String mimeType, String name, String uri)
extends Record
implements FileContent_v0_3
Represents a file with its content located at a specific URI.
-
Constructor Summary
ConstructorsConstructorDescriptionFileWithUri_v0_3(String mimeType, String name, String uri) Creates an instance of aFileWithUri_v0_3record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mimeType()Returns the value of themimeTyperecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.uri()Returns the value of theurirecord component.
-
Constructor Details
-
FileWithUri_v0_3
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
mimeType
Returns the value of themimeTyperecord component.- Specified by:
mimeTypein interfaceFileContent_v0_3- Returns:
- the value of the
mimeTyperecord component
-
name
Returns the value of thenamerecord component.- Specified by:
namein interfaceFileContent_v0_3- Returns:
- the value of the
namerecord component
-
uri
Returns the value of theurirecord component.- Returns:
- the value of the
urirecord component
-