LibreTube/app/src/main/java/com/github/libretube/obj/FreetubeSubscription.kt

12 lines
300 B
Kotlin

package com.github.libretube.obj
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class FreetubeSubscription(
val name: String,
@SerialName("id") val serviceId: String,
val url: String = "https://www.youtube.com/channel/$serviceId"
)