Record Class CoverMarkers.Markers
java.lang.Object
java.lang.Record
net.ixdarklord.folios.internal.client.CoverMarkers.Markers
- Enclosing class:
- CoverMarkers
public static record CoverMarkers.Markers(@Nullable CoverMarkers.Marked title, @Nullable CoverMarkers.Marked subtitle, @Nullable CoverMarkers.Marked summary, @Nullable CoverMarkers.Marked icon)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMarkers(@Nullable CoverMarkers.Marked title, @Nullable CoverMarkers.Marked subtitle, @Nullable CoverMarkers.Marked summary, @Nullable CoverMarkers.Marked icon) Creates an instance of aMarkersrecord 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.@Nullable CoverMarkers.Markedicon()Returns the value of theiconrecord component.@Nullable CoverMarkers.Markedsubtitle()Returns the value of thesubtitlerecord component.@Nullable CoverMarkers.Markedsummary()Returns the value of thesummaryrecord component.@Nullable CoverMarkers.Markedtitle()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NONE
-
-
Constructor Details
-
Markers
public Markers(@Nullable @Nullable CoverMarkers.Marked title, @Nullable @Nullable CoverMarkers.Marked subtitle, @Nullable @Nullable CoverMarkers.Marked summary, @Nullable @Nullable CoverMarkers.Marked icon) Creates an instance of aMarkersrecord class.- Parameters:
title- the value for thetitlerecord componentsubtitle- the value for thesubtitlerecord componentsummary- the value for thesummaryrecord componenticon- the value for theiconrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
subtitle
Returns the value of thesubtitlerecord component.- Returns:
- the value of the
subtitlerecord component
-
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-
icon
Returns the value of theiconrecord component.- Returns:
- the value of the
iconrecord component
-