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)
extends Record
What a model marks; either may be null.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMarkers(@Nullable CoverMarkers.Marked title, @Nullable CoverMarkers.Marked subtitle, @Nullable CoverMarkers.Marked summary) 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.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 CoverMarkers.Marked title, @Nullable CoverMarkers.Marked subtitle, @Nullable CoverMarkers.Marked summary) Creates an instance of aMarkersrecord class.- Parameters:
title- the value for thetitlerecord componentsubtitle- the value for thesubtitlerecord componentsummary- the value for thesummaryrecord 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). -
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
-