@@ -9,25 +9,26 @@ import kotlinx.serialization.Serializable
99/* *
1010 * Simplified Album object that can be used to retrieve a full [Album]
1111 *
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.
1514 * are “album”, “single”, “compilation”, “appears_on”. Compare to album_type this field represents relationship
1615 * 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.
1917 * 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”
2421 * 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
2824 * in the given market, and Spotify did not have any tracks to relink it with. The track response will still contain
2925 * metadata for the original track, and a restrictions object containing the reason why the track is not available:
3026 * "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”.
3132 */
3233@Serializable
3334public data class SimpleAlbum (
@@ -87,33 +88,34 @@ public enum class AlbumResultType(public val id: String) {
8788/* *
8889 * Represents an Album on Spotify
8990 *
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
9292 * information about the artist.
93- * @property availableMarkets The markets in which the album is available:
9493 * ISO 3166-1 alpha-2 country codes. Note that an album is considered
9594 * 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" ,
9997 * "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
106104 * 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,
108105 * 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
114111 * in the given market, and Spotify did not have any tracks to relink it with.
115112 * The track response will still contain metadata for the original track, and a
116113 * 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".
117119 */
118120@Serializable
119121public data class Album (
@@ -152,8 +154,7 @@ public data class Album(
152154 * Describes an album's copyright information
153155 *
154156 * @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.
157158 */
158159@Serializable
159160public data class SpotifyCopyright (
0 commit comments