Class RecommendedArtists
java.lang.Object
org.localify.data.queue.dto.recommend.RecommendedArtists
Represents a list of recommended artists.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of recommended artists.booleanChecks if the recommendation request timed out.voidsetArtists(List<RecArtistResponseDto> artists) Sets the list of recommended artists.voidsetTimeout(boolean timeout) Sets whether the recommendation request timed out.
-
Constructor Details
-
RecommendedArtists
public RecommendedArtists()Default constructor.
-
-
Method Details
-
getArtists
Gets the list of recommended artists.- Returns:
- A list of recommended artists.
-
setArtists
Sets the list of recommended artists.- Parameters:
artists- A list of recommended artists.
-
isTimeout
public boolean isTimeout()Checks if the recommendation request timed out.- Returns:
- true if the request timed out, false otherwise.
-
setTimeout
public void setTimeout(boolean timeout) Sets whether the recommendation request timed out.- Parameters:
timeout- true if the request timed out, false otherwise.
-