]> git.basschouten.com Git - openhab-addons.git/blob
2a8a1f44e92a5923fec82ca0b38735b8299f5bf2
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.spotify.internal.api.model;
14
15 import java.util.List;
16
17 /**
18  * Spotify Api Album data class.
19  *
20  * @author Andreas Stenlund - Initial contribution
21  * @author Hilbrand Bouwkamp - Moved to it's own class
22  */
23 public class Album {
24
25     private String albumType;
26     private List<Artist> artists;
27     private List<String> availableMarkets;
28     private ExternalUrl externalUrls;
29     private String href;
30     private String id;
31     private List<Image> images;
32     private String name;
33     private String type;
34     private String uri;
35
36     public String getAlbumType() {
37         return albumType;
38     }
39
40     public List<Artist> getArtists() {
41         return artists;
42     }
43
44     public List<String> getAvailableMarkets() {
45         return availableMarkets;
46     }
47
48     public ExternalUrl getExternalUrls() {
49         return externalUrls;
50     }
51
52     public String getHref() {
53         return href;
54     }
55
56     public String getId() {
57         return id;
58     }
59
60     public List<Image> getImages() {
61         return images;
62     }
63
64     public String getName() {
65         return name;
66     }
67
68     public String getType() {
69         return type;
70     }
71
72     public String getUri() {
73         return uri;
74     }
75 }