Class Album
- java.lang.Object
-
- de.sonallux.spotify.api.models.BaseObject
-
- de.sonallux.spotify.api.models.Album
-
public class Album extends BaseObject
-
-
Field Summary
Fields Modifier and Type Field Description StringalbumTypeThe type of the album.List<Artist>artistsThe artists of the album.List<String>availableMarketsThe markets in which the album is available: ISO 3166-1 alpha-2 country codes.List<Copyright>copyrightsThe copyright statements of the album.ExternalIdexternalIdsKnown external IDs for the album.ExternalUrlexternalUrlsKnown external URLs for this album.List<String>genresA list of the genres used to classify the album.List<Image>imagesThe cover art for the album in various sizes, widest first.StringlabelThe label for the album.StringnameThe name of the album.intpopularityThe popularity of the album, with 100 being the most popular.StringreleaseDateThe date the album was first released.StringreleaseDatePrecisionThe precision with which release_date value is known.AlbumRestrictionrestrictionsIncluded in the response when a content restriction is applied.inttotalTracksThe total number of tracks in the album.Paging<SimplifiedTrack>tracksThe tracks of the album.-
Fields inherited from class de.sonallux.spotify.api.models.BaseObject
href, id, type, uri
-
-
Constructor Summary
Constructors Constructor Description Album()
-
-
-
Field Detail
-
albumType
public String albumType
The type of the album.
-
artists
public List<Artist> artists
The artists of the album. Each artist object includes a link in
hrefto more detailed information about the artist.
-
availableMarkets
public List<String> availableMarkets
The markets in which the album is available: ISO 3166-1 alpha-2 country codes. Note that an album is considered available in a market when at least one of its tracks is available in that market.
-
externalIds
public ExternalId externalIds
Known external IDs for the album.
-
externalUrls
public ExternalUrl externalUrls
Known external URLs for this album.
-
genres
public List<String> genres
A list of the genres used to classify the album. (If not yet classified, the array is empty.)
-
label
public String label
The label for the album.
-
name
public String name
The name of the album. In case of an album takedown, the value may be an empty string.
-
popularity
public int popularity
The popularity of the album, with 100 being the most popular. The popularity is calculated from the popularity of the album's individual tracks.
-
releaseDate
public String releaseDate
The date the album was first released. Depending on the precision, it might be shown as "1981" or "1981-12".
-
releaseDatePrecision
public String releaseDatePrecision
The precision with which release_date value is known.
-
restrictions
public AlbumRestriction restrictions
Included in the response when a content restriction is applied. See Restriction Object for more details.
-
totalTracks
public int totalTracks
The total number of tracks in the album.
-
tracks
public Paging<SimplifiedTrack> tracks
The tracks of the album.
-
-