mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-01-07 10:00:31 +05:30
35 lines
1014 B
Kotlin
35 lines
1014 B
Kotlin
package com.github.libretube.obj
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
|
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
data class Streams(
|
|
val title: String?,
|
|
val description: String?,
|
|
val uploadDate: String?,
|
|
val uploader: String?,
|
|
val uploaderUrl: String?,
|
|
val uploaderAvatar: String?,
|
|
val thumbnailUrl: String?,
|
|
val hls: String?,
|
|
val dash: String?,
|
|
val lbryId: String?,
|
|
val uploaderVerified: Boolean?,
|
|
val duration: Long?,
|
|
val views: Long?,
|
|
val likes: Long?,
|
|
val dislikes: Long?,
|
|
val audioStreams: List<PipedStream>?,
|
|
val videoStreams: List<PipedStream>?,
|
|
val relatedStreams: List<StreamItem>?,
|
|
val subtitles: List<Subtitle>?,
|
|
val livestream: Boolean?,
|
|
val proxyUrl: String?,
|
|
val chapters: List<ChapterSegment>?
|
|
) {
|
|
constructor() : this(
|
|
"", "", "", "", "", "", "", "", "", "", null, -1, -1, -1, -1, emptyList(), emptyList(),
|
|
emptyList(), emptyList(), null, "", emptyList()
|
|
)
|
|
}
|