Class RecArtistResponseDto

java.lang.Object
org.localify.data.queue.dto.recommend.RecArtistResponseDto

public class RecArtistResponseDto extends Object
Data Transfer Object for a recommended artist response.
  • Constructor Details

    • RecArtistResponseDto

      public RecArtistResponseDto()
      Default constructor.
  • Method Details

    • getId

      public long getId()
      Gets the ID of the recommended artist.
      Returns:
      The artist ID.
    • setId

      public void setId(long id)
      Sets the ID of the recommended artist.
      Parameters:
      id - The artist ID.
    • getScore

      public double getScore()
      Gets the recommendation score.
      Returns:
      The score.
    • setScore

      public void setScore(double score)
      Sets the recommendation score.
      Parameters:
      score - The score.
    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object.