de.sonallux.spotify.api.models.AlbumBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-web-api-java Show documentation
Show all versions of spotify-web-api-java Show documentation
A Java wrapper for Spotify's Web API
The newest version!
package de.sonallux.spotify.api.models;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.*;
/**
* AlbumBase
*/
@Getter
@Setter
@NoArgsConstructor
@JsonTypeInfo(use = JsonTypeInfo.Id.NONE) // Disable deserialization based on @JsonTypeInfo
public class AlbumBase extends BaseObject {
/**
* The type of the album.
*/
public String albumType;
/**
* The markets in which the album is available: ISO 3166-1 alpha-2 country codes. NOTE: an album is considered available in a market when at least 1 of its tracks is available in that market.
*/
public java.util.List availableMarkets;
/**
* Known external URLs for this album.
*/
public ExternalUrl externalUrls;
/**
* The cover art for the album in various sizes, widest first.
*/
public java.util.List images;
/**
* The name of the album. In case of an album takedown, the value may be an empty string.
*/
public String name;
/**
* The date the album was first released.
*/
public String releaseDate;
/**
* The precision with which release_date
value is known.
*/
public String releaseDatePrecision;
/**
* Included in the response when a content restriction is applied.
*/
public AlbumRestriction restrictions;
/**
* The number of tracks in the album.
*/
public int totalTracks;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy