Record Class FoliosSession.Found
java.lang.Object
java.lang.Record
net.ixdarklord.folios.internal.client.FoliosSession.Found
- Enclosing class:
FoliosSession
public static record FoliosSession.Found(FoliosEntry entry, @Nullable FoliosEntry.Listing listing)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFound(FoliosEntry entry, @Nullable FoliosEntry.Listing listing) Creates an instance of aFoundrecord class. -
Method Summary
Modifier and TypeMethodDescriptionentry()Returns the value of theentryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable FoliosEntry.Listinglisting()Returns the value of thelistingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Found
Creates an instance of aFoundrecord class.- Parameters:
entry- the value for theentryrecord componentlisting- the value for thelistingrecord 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). -
entry
Returns the value of theentryrecord component.- Returns:
- the value of the
entryrecord component
-
listing
Returns the value of thelistingrecord component.- Returns:
- the value of the
listingrecord component
-