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 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 a FingerprintsMatchesResult record class.
      Parameters:
      isCacheBuilt - the value for the isCacheBuilt record component
      exactMatches - the value for the exactMatches record component
      exactFingerprints - the value for the exactFingerprints record component
      partialMatches - the value for the partialMatches record component
      partialMatchFingerprints - the value for the partialMatchFingerprints record component
      additionalProperties - the value for the additionalProperties record component
      installedFingerprints - the value for the installedFingerprints record component
      unmatchedFingerprints - the value for the unmatchedFingerprints record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • isCacheBuilt

      public boolean isCacheBuilt()
      Returns the value of the isCacheBuilt record component.
      Returns:
      the value of the isCacheBuilt record component
    • exactMatches

      public List<FingerprintMatch> exactMatches()
      Returns the value of the exactMatches record component.
      Returns:
      the value of the exactMatches record component
    • exactFingerprints

      public List<Integer> exactFingerprints()
      Returns the value of the exactFingerprints record component.
      Returns:
      the value of the exactFingerprints record component
    • partialMatches

      public List<FingerprintMatch> partialMatches()
      Returns the value of the partialMatches record component.
      Returns:
      the value of the partialMatches record component
    • partialMatchFingerprints

      public Object partialMatchFingerprints()
      Returns the value of the partialMatchFingerprints record component.
      Returns:
      the value of the partialMatchFingerprints record component
    • additionalProperties

      public List<Integer> additionalProperties()
      Returns the value of the additionalProperties record component.
      Returns:
      the value of the additionalProperties record component
    • installedFingerprints

      public List<Integer> installedFingerprints()
      Returns the value of the installedFingerprints record component.
      Returns:
      the value of the installedFingerprints record component
    • unmatchedFingerprints

      public List<Integer> unmatchedFingerprints()
      Returns the value of the unmatchedFingerprints record component.
      Returns:
      the value of the unmatchedFingerprints record component