Record Class McpIcon
java.lang.Object
java.lang.Record
dev.langchain4j.mcp.client.McpIcon
-
Constructor Summary
Constructors -
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.sizes()Returns the value of thesizesrecord component.src()Returns the value of thesrcrecord component.theme()Returns the value of thethemerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpIcon
Creates an instance of aMcpIconrecord class.- Parameters:
mimeType- the value for themimeTyperecord componentsizes- the value for thesizesrecord componentsrc- the value for thesrcrecord componenttheme- the value for thethemerecord component
-
-
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.- Returns:
- the value of the
mimeTyperecord component
-
sizes
-
src
Returns the value of thesrcrecord component.- Returns:
- the value of the
srcrecord component
-
theme
Returns the value of thethemerecord component.- Returns:
- the value of the
themerecord component
-