Record Class ToolExecutionCompleteContentResourceLinkIcon
java.lang.Object
java.lang.Record
com.github.copilot.generated.ToolExecutionCompleteContentResourceLinkIcon
@Generated("copilot-sdk-codegen")
public record ToolExecutionCompleteContentResourceLinkIcon(String src, String mimeType, List<String> sizes, ToolExecutionCompleteContentResourceLinkIconTheme theme)
extends Record
Icon image for a resource
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionToolExecutionCompleteContentResourceLinkIcon(String src, String mimeType, List<String> sizes, ToolExecutionCompleteContentResourceLinkIconTheme theme) Creates an instance of aToolExecutionCompleteContentResourceLinkIconrecord 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.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
-
ToolExecutionCompleteContentResourceLinkIcon
public ToolExecutionCompleteContentResourceLinkIcon(String src, String mimeType, List<String> sizes, ToolExecutionCompleteContentResourceLinkIconTheme theme) Creates an instance of aToolExecutionCompleteContentResourceLinkIconrecord class.- Parameters:
src- the value for thesrcrecord componentmimeType- the value for themimeTyperecord componentsizes- the value for thesizesrecord 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). -
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
-
theme
Returns the value of thethemerecord component.- Returns:
- the value of the
themerecord component
-