2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.spotify.internal.api.model;
15 import java.util.List;
18 * Spotify Web Api Device data class.
20 * @author Andreas Stenlund - Initial contribution
21 * @author Hilbrand Bouwkamp - Moved to it's own class
26 private List<Artist> artists;
27 private List<String> availableMarkets;
28 private Integer discNumber;
29 private long durationMs;
30 private boolean explicit;
31 private ExternalIds externalIds;
32 private ExternalUrl externalUrls;
36 private Integer popularity;
37 private String previewUrl;
38 private Integer trackNumber;
42 public Album getAlbum() {
46 public List<Artist> getArtists() {
50 public List<String> getAvailableMarkets() {
51 return availableMarkets;
54 public Integer getDiscNumber() {
58 public long getDurationMs() {
62 public boolean isExplicit() {
66 public ExternalIds getExternalIds() {
70 public ExternalUrl getExternalUrls() {
74 public String getHref() {
78 public String getId() {
82 public String getName() {
86 public Integer getPopularity() {
90 public String getPreviewUrl() {
94 public Integer getTrackNumber() {
98 public String getType() {
102 public String getUri() {