Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data class Video(
- val id: String,
- @Json(name = "video_url") val videoUrl: String,
- @Json(name = "preview_image") val previewImage: Image,
- @Json(name = "video_title") val videoTitle: String = EMPTY_STRING,
- val duration: Int = 0,
- @Json(name = "view_count") val viewCount: Int = 0,
- val type: VideoType = VideoType.unknown
- )
- enum class VideoType {
- unknown, recipe, article
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement