SimpleLocalAlbum

@Serializable
data class SimpleLocalAlbum(val albumType: String? = null, val artists: List<SimpleLocalArtist> = listOf(), val name: String, releaseDate: String? = null, val releaseDatePrecision: String? = null, val type: String)(source)

Local album object that goes with LocalTrack - represents the local album it was obtained from (likely "Local Files")

Parameters

artists

The artists of the album.

name

The name of the album. In case of an album takedown, the value may be an empty string.

type

The object type: “album”

releaseDate

The date the album was first released, for example 1981. Depending on the precision, it might be shown as 1981-12 or 1981-12-15.

releaseDatePrecision

The precision with which release_date value is known: year , month , or day.

albumType

The type of the album: one of “album”, “single”, or “compilation”.

Constructors

Link copied to clipboard
constructor(albumType: String? = null, artists: List<SimpleLocalArtist> = listOf(), name: String, releaseDate: String? = null, releaseDatePrecision: String? = null, type: String)

Properties

Link copied to clipboard
@SerialName(value = "album_type")
val albumType: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "release_date_precision")
val releaseDatePrecision: String? = null
Link copied to clipboard