2017-08-20 19:43:56 +02:00
|
|
|
package org.moire.ultrasonic.api.subsonic.models
|
|
|
|
|
2017-08-20 22:04:41 +02:00
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty
|
2017-08-20 19:43:56 +02:00
|
|
|
import java.util.Calendar
|
|
|
|
|
|
|
|
data class Album(
|
2018-03-24 19:47:55 +01:00
|
|
|
val id: String = "",
|
2021-10-06 17:25:30 +02:00
|
|
|
val parent: String = "",
|
|
|
|
val album: String = "",
|
2021-11-30 20:53:10 +01:00
|
|
|
val title: String? = null,
|
|
|
|
val name: String? = null,
|
2021-10-06 17:25:30 +02:00
|
|
|
val discNumber: Int = 0,
|
2018-03-24 19:47:55 +01:00
|
|
|
val coverArt: String = "",
|
2021-10-06 17:25:30 +02:00
|
|
|
val songCount: Int = 0,
|
|
|
|
val created: Calendar? = null,
|
2018-03-24 19:47:55 +01:00
|
|
|
val artist: String = "",
|
|
|
|
val artistId: String = "",
|
|
|
|
val duration: Int = 0,
|
|
|
|
val year: Int = 0,
|
|
|
|
val genre: String = "",
|
2021-11-30 21:50:53 +01:00
|
|
|
val playCount: Int = 0,
|
2021-10-06 17:25:30 +02:00
|
|
|
@JsonProperty("song") val songList: List<MusicDirectoryChild> = emptyList(),
|
|
|
|
@JsonProperty("starred") val starredDate: String = ""
|
2018-03-24 19:47:55 +01:00
|
|
|
)
|