@@ -9,25 +9,26 @@ import kotlinx.serialization.Serializable
9
9
/* *
10
10
* Simplified Album object that can be used to retrieve a full [Album]
11
11
*
12
- * @property href A link to the Web API endpoint providing full details of the album.
13
- * @property id The Spotify ID for the album.
14
- * @property albumGroup Optional. The field is present when getting an artist’s albums. Possible values
12
+ * @param href A link to the Web API endpoint providing full details of the album.
13
+ * @param id The Spotify ID for the album.
15
14
* are “album”, “single”, “compilation”, “appears_on”. Compare to album_type this field represents relationship
16
15
* between the artist and the album.
17
- * @property artists The artists of the album. Each artist object includes a link in href to more detailed information about the artist.
18
- * @property availableMarkets The markets in which the album is available: ISO 3166-1 alpha-2 country codes. Note
16
+ * @param artists The artists of the album. Each artist object includes a link in href to more detailed information about the artist.
19
17
* that an album is considered available in a market when at least 1 of its tracks is available in that market.
20
- * @property images The cover art for the album in various sizes, widest first.
21
- * @property name The name of the album. In case of an album takedown, the value may be an empty string.
22
- * @property type The object type: “album”
23
- * @property releaseDate The date the album was first released, for example 1981. Depending on the precision,
18
+ * @param images The cover art for the album in various sizes, widest first.
19
+ * @param name The name of the album. In case of an album takedown, the value may be an empty string.
20
+ * @param type The object type: “album”
24
21
* it might be shown as 1981-12 or 1981-12-15.
25
- * @property releaseDatePrecisionString The precision with which release_date value is known: year , month , or day.
26
- * @property albumType The type of the album: one of “album”, “single”, or “compilation”.
27
- * @property restrictions Part of the response when Track Relinking is applied, the original track is not available
22
+ * @param releaseDatePrecisionString The precision with which release_date value is known: year , month , or day.
23
+ * @param restrictions Part of the response when Track Relinking is applied, the original track is not available
28
24
* in the given market, and Spotify did not have any tracks to relink it with. The track response will still contain
29
25
* metadata for the original track, and a restrictions object containing the reason why the track is not available:
30
26
* "restrictions" : {"reason" : "market"}
27
+ *
28
+ * @property albumGroup Optional. The field is present when getting an artist’s albums. Possible values
29
+ * @property availableMarkets The markets in which the album is available: ISO 3166-1 alpha-2 country codes. Note
30
+ * @property releaseDate The date the album was first released, for example 1981. Depending on the precision,
31
+ * @property albumType The type of the album: one of “album”, “single”, or “compilation”.
31
32
*/
32
33
@Serializable
33
34
public data class SimpleAlbum (
@@ -87,33 +88,34 @@ public enum class AlbumResultType(public val id: String) {
87
88
/* *
88
89
* Represents an Album on Spotify
89
90
*
90
- * @property albumType The type of the album: one of "album" , "single" , or "compilation".
91
- * @property artists The artists of the album. Each artist object includes a link in href to more detailed
91
+ * @param artists The artists of the album. Each artist object includes a link in href to more detailed
92
92
* information about the artist.
93
- * @property availableMarkets The markets in which the album is available:
94
93
* ISO 3166-1 alpha-2 country codes. Note that an album is considered
95
94
* available in a market when at least 1 of its tracks is available in that market.
96
- * @property copyrights The copyright statements of the album.
97
- * @property externalIds Known external IDs for the album.
98
- * @property genres A list of the genres used to classify the album. For example: "Prog Rock" ,
95
+ * @param copyrights The copyright statements of the album.
96
+ * @param genres A list of the genres used to classify the album. For example: "Prog Rock" ,
99
97
* "Post-Grunge". (If not yet classified, the array is empty.)
100
- * @property href A link to the Web API endpoint providing full details of the album.
101
- * @property id The Spotify ID for the album.
102
- * @property images The cover art for the album in various sizes, widest first.
103
- * @property label The label for the album.
104
- * @property name The name of the album. In case of an album takedown, the value may be an empty string.
105
- * @property popularity The popularity of the album. The value will be between 0 and 100, with 100 being the most
98
+ * @param href A link to the Web API endpoint providing full details of the album.
99
+ * @param id The Spotify ID for the album.
100
+ * @param images The cover art for the album in various sizes, widest first.
101
+ * @param label The label for the album.
102
+ * @param name The name of the album. In case of an album takedown, the value may be an empty string.
103
+ * @param popularity The popularity of the album. The value will be between 0 and 100, with 100 being the most
106
104
* popular. The popularity is calculated from the popularity of the album’s individual tracks.
107
- * @property releaseDate The date the album was first released, for example 1981. Depending on the precision,
108
105
* it might be shown as 1981-12 or 1981-12-15.
109
- * @property releaseDatePrecision The precision with which release_date value is known: year , month , or day.
110
- * @property tracks The tracks of the album.
111
- * @property type The object type: “album”
112
- * @property totalTracks the total amount of tracks in this album
113
- * @property restrictions Part of the response when Track Relinking is applied, the original track is not available
106
+ * @param releaseDatePrecision The precision with which release_date value is known: year , month , or day.
107
+ * @param tracks The tracks of the album.
108
+ * @param type The object type: “album”
109
+ * @param totalTracks the total amount of tracks in this album
110
+ * @param restrictions Part of the response when Track Relinking is applied, the original track is not available
114
111
* in the given market, and Spotify did not have any tracks to relink it with.
115
112
* The track response will still contain metadata for the original track, and a
116
113
* restrictions object containing the reason why the track is not available: "restrictions" : {"reason" : "market"}
114
+ *
115
+ * @property releaseDate The date the album was first released, for example 1981. Depending on the precision,
116
+ * @property externalIds Known external IDs for the album.
117
+ * @property availableMarkets The markets in which the album is available:
118
+ * @property albumType The type of the album: one of "album" , "single" , or "compilation".
117
119
*/
118
120
@Serializable
119
121
public data class Album (
@@ -152,8 +154,7 @@ public data class Album(
152
154
* Describes an album's copyright information
153
155
*
154
156
* @property text The copyright text for this album.
155
- * @property type The type of copyright: C = the copyright,
156
- * P = the sound recording (performance) copyright.
157
+ * @property type The type of copyright: C = the copyright, P = the sound recording (performance) copyright.
157
158
*/
158
159
@Serializable
159
160
public data class SpotifyCopyright (
0 commit comments