RecommendationSeed

@Serializable
data class RecommendationSeed(val href: String? = null, val id: String, val initialPoolSize: Int, val afterFilteringSize: Int, val afterRelinkingSize: Int? = null, val type: String) : Identifiable(source)

Seed from which the recommendation was constructed

Parameters

initialPoolSize

The number of recommended tracks available for this seed.

afterFilteringSize

The number of tracks available after min_* and max_* filters have been applied.

afterRelinkingSize

The number of tracks available after relinking for regional availability.

href

A link to the full track or artist data for this seed. For tracks this will be a link to a Track Object. For artists a link to an Artist Object. For genre seeds, this value will be null.

id

The id used to select this seed. This will be the same as the string used in the seed_artists , seed_tracks or seed_genres parameter.

type

The entity type of this seed. One of artist , track or genre.

Constructors

Link copied to clipboard
constructor(href: String? = null, id: String, initialPoolSize: Int, afterFilteringSize: Int, afterRelinkingSize: Int? = null, type: String)

Properties

Link copied to clipboard
Link copied to clipboard
val afterRelinkingSize: Int? = null
Link copied to clipboard
@Transient
lateinit var api: GenericSpotifyApi

The API client associated with the request

Link copied to clipboard
@SerialName(value = "href")
open override val href: String? = null
Link copied to clipboard
@SerialName(value = "id")
open override val id: String
Link copied to clipboard
Link copied to clipboard