2022-02-01 21:22:06 +05:30
|
|
|
package com.github.libretube.obj
|
2022-07-08 22:20:11 +05:30
|
|
|
|
2022-02-08 21:04:42 +05:30
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
2022-07-08 22:20:11 +05:30
|
|
|
|
2022-02-08 21:04:42 +05:30
|
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
2021-12-18 16:34:14 +05:30
|
|
|
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?,
|
2022-08-11 15:55:54 +05:30
|
|
|
val duration: Long?,
|
2022-01-28 18:31:41 +05:30
|
|
|
val views: Long?,
|
|
|
|
val likes: Long?,
|
2022-06-28 01:05:06 +05:30
|
|
|
val dislikes: Long?,
|
2021-12-18 16:34:14 +05:30
|
|
|
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>?
|
2022-07-08 01:53:44 +05:30
|
|
|
) {
|
|
|
|
constructor() : this(
|
|
|
|
"", "", "", "", "", "", "", "", "", "", null, -1, -1, -1, -1, emptyList(), emptyList(),
|
|
|
|
emptyList(), emptyList(), null, "", emptyList()
|
|
|
|
)
|
|
|
|
}
|