Class RecArtistResponseDto
java.lang.Object
org.localify.data.queue.dto.recommend.RecArtistResponseDto
Data Transfer Object for a recommended artist response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()Gets the ID of the recommended artist.doublegetScore()Gets the recommendation score.voidsetId(long id) Sets the ID of the recommended artist.voidsetScore(double score) Sets the recommendation score.toString()Returns a string representation of the object.
-
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
Returns a string representation of the object.
-