Record Class FingerprintsMatchesResult
java.lang.Object
java.lang.Record
io.github.matyrobbrt.curseforgeapi.schemas.fingerprint.FingerprintsMatchesResult
@CurseForgeSchema("https://docs.curseforge.com/#tocS_FingerprintsMatchesResult")
public record FingerprintsMatchesResult(boolean isCacheBuilt, List<FingerprintMatch> exactMatches, List<Integer> exactFingerprints, List<FingerprintMatch> partialMatches, Object partialMatchFingerprints, List<Integer> additionalProperties, List<Integer> installedFingerprints, List<Integer> unmatchedFingerprints)
extends Record
-
Constructor Summary
ConstructorDescriptionFingerprintsMatchesResult
(boolean isCacheBuilt, List<FingerprintMatch> exactMatches, List<Integer> exactFingerprints, List<FingerprintMatch> partialMatches, Object partialMatchFingerprints, List<Integer> additionalProperties, List<Integer> installedFingerprints, List<Integer> unmatchedFingerprints) Creates an instance of aFingerprintsMatchesResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalProperties
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexactFingerprints
record component.Returns the value of theexactMatches
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theinstalledFingerprints
record component.boolean
Returns the value of theisCacheBuilt
record component.Returns the value of thepartialMatches
record component.Returns the value of thepartialMatchFingerprints
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theunmatchedFingerprints
record component.
-
Constructor Details
-
FingerprintsMatchesResult
public FingerprintsMatchesResult(boolean isCacheBuilt, List<FingerprintMatch> exactMatches, List<Integer> exactFingerprints, List<FingerprintMatch> partialMatches, Object partialMatchFingerprints, List<Integer> additionalProperties, List<Integer> installedFingerprints, List<Integer> unmatchedFingerprints) Creates an instance of aFingerprintsMatchesResult
record class.- Parameters:
isCacheBuilt
- the value for theisCacheBuilt
record componentexactMatches
- the value for theexactMatches
record componentexactFingerprints
- the value for theexactFingerprints
record componentpartialMatches
- the value for thepartialMatches
record componentpartialMatchFingerprints
- the value for thepartialMatchFingerprints
record componentadditionalProperties
- the value for theadditionalProperties
record componentinstalledFingerprints
- the value for theinstalledFingerprints
record componentunmatchedFingerprints
- the value for theunmatchedFingerprints
record 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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
isCacheBuilt
public boolean isCacheBuilt()Returns the value of theisCacheBuilt
record component.- Returns:
- the value of the
isCacheBuilt
record component
-
exactMatches
Returns the value of theexactMatches
record component.- Returns:
- the value of the
exactMatches
record component
-
exactFingerprints
Returns the value of theexactFingerprints
record component.- Returns:
- the value of the
exactFingerprints
record component
-
partialMatches
Returns the value of thepartialMatches
record component.- Returns:
- the value of the
partialMatches
record component
-
partialMatchFingerprints
Returns the value of thepartialMatchFingerprints
record component.- Returns:
- the value of the
partialMatchFingerprints
record component
-
additionalProperties
Returns the value of theadditionalProperties
record component.- Returns:
- the value of the
additionalProperties
record component
-
installedFingerprints
Returns the value of theinstalledFingerprints
record component.- Returns:
- the value of the
installedFingerprints
record component
-
unmatchedFingerprints
Returns the value of theunmatchedFingerprints
record component.- Returns:
- the value of the
unmatchedFingerprints
record component
-