Record Class McpResourceIcon
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpResourceIcon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalPropertiesrecord component.final 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
-
McpResourceIcon
public McpResourceIcon(String src, String mimeType, String sizes, String theme, Map<String, Object> additionalProperties) Creates an instance of aMcpResourceIconrecord class.- Parameters:
src- the value for thesrcrecord componentmimeType- the value for themimeTyperecord componentsizes- the value for thesizesrecord componenttheme- the value for thethemerecord componentadditionalProperties- the value for theadditionalPropertiesrecord 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). -
src
Returns the value of thesrcrecord component.- Returns:
- the value of the
srcrecord component
-
mimeType
Returns the value of themimeTyperecord component.- Returns:
- the value of the
mimeTyperecord component
-
sizes
Returns the value of thesizesrecord component.- Returns:
- the value of the
sizesrecord component
-
theme
Returns the value of thethemerecord component.- Returns:
- the value of the
themerecord component
-
additionalProperties
-