Record Class RabbitReceiver.BitNameScrapeResponse

java.lang.Object
java.lang.Record
org.localify.data.ingest.RabbitReceiver.BitNameScrapeResponse
Record Components:
bitId - The BandsInTown ID.
localifyId - The Localify ID.
found - Whether a match was found.
Enclosing class:
RabbitReceiver

public static record RabbitReceiver.BitNameScrapeResponse(String bitId, UUID localifyId, boolean found) extends Record
Represents a response from a BandsInTown name scrape.
  • Constructor Details

    • BitNameScrapeResponse

      public BitNameScrapeResponse(String bitId, UUID localifyId, boolean found)
      Creates an instance of a BitNameScrapeResponse record class.
      Parameters:
      bitId - the value for the bitId record component
      localifyId - the value for the localifyId record component
      found - the value for the found 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.
    • bitId

      public String bitId()
      Returns the value of the bitId record component.
      Returns:
      the value of the bitId record component
    • localifyId

      public UUID localifyId()
      Returns the value of the localifyId record component.
      Returns:
      the value of the localifyId record component
    • found

      public boolean found()
      Returns the value of the found record component.
      Returns:
      the value of the found record component