Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Block(val id: String, val type: BlockType, val typeForFrom: BlockType, val title: String, val entities: List<BlockEntity>)
Link copied to clipboard
@Serializable(with = BlockSerializer::class)
data class BlockEntity(val id: String, val type: BlockType, val data: Any)
Link copied to clipboard
object BlockSerializer : KSerializer<BlockEntity>
Link copied to clipboard
@Serializable
enum BlockType : Enum<BlockType>
Link copied to clipboard
@Serializable
data class Chart(val position: Int, val progress: String, val listeners: Int, val shift: Int)
Link copied to clipboard
@Serializable
data class ChartInfo(val id: String, val type: String, val typeForFrom: String, val title: String, val menu: ChartInfoMenu, val chart: Playlist? = null, val chartDescription: String? = null)
Link copied to clipboard
@Serializable
data class ChartInfoMenu(val items: List<ChartInfoMenuItem>)
Link copied to clipboard
@Serializable
data class ChartInfoMenuItem(val title: String, val url: String, val selected: Boolean? = null)
Link copied to clipboard
@Serializable
data class ChartItem(val track: TrackData, val chart: Chart)
Link copied to clipboard
Link copied to clipboard
@Serializable
enum Context : Enum<Context>
Link copied to clipboard
@Serializable
data class Day(val day: LocalDate, val events: List<Event>)
Link copied to clipboard
@Serializable
data class Event(val id: String, val type: EventType, val typeForFrom: String? = null, val title: String? = null, val tracks: List<TrackData>? = null)
Link copied to clipboard
@Serializable
enum EventType : Enum<EventType>
Link copied to clipboard
@Serializable
data class Feed(val pumpkin: Boolean, val canGetMoreEvents: Boolean, val isWizardPassed: Boolean, val generatedPlaylists: List<GeneratedPlaylist>, val today: LocalDate, val days: List<Day>)
Link copied to clipboard
@Serializable
data class GeneratedPlaylist(val type: GeneratedPlaylistType, val ready: Boolean, val notify: Boolean, val data: Playlist)
Link copied to clipboard
Link copied to clipboard
@Serializable
data class Landing(val pumpkin: Boolean, val contentId: String, val blocks: List<Block>)
Link copied to clipboard
@Serializable
data class LandingList(val type: BlockType, val typeForFrom: String, val title: String, val id: String? = null, val newReleases: List<Int> = listOf(), val newPlaylists: List<PlaylistId> = listOf(), val podcasts: List<Int> = listOf())
Link copied to clipboard
@Serializable
data class MixLink(val title: String, val url: String, val urlScheme: String, val textColor: String, val backgroundColor: String, val backgroundImageUri: String, val coverWhite: String? = null, val coverUri: String? = null)
Link copied to clipboard
@Serializable(with = PlayContextsDataSerializer::class)
data class PlayContextsData(val client: String, val context: Context, val contextItem: String, val payload: Any)
Link copied to clipboard
@Serializable
data class Podcast(val podcast: Album)
Link copied to clipboard
@Serializable
data class Promotion(val title: String)