All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.bluebillywig.bbnativeshared.model.MediaClip.kt Maven / Gradle / Ivy

There is a newer version: 8.15.0
Show newest version
package com.bluebillywig.bbnativeshared.model

import com.bluebillywig.bbnativeshared.Enums.FitMode
import com.bluebillywig.bbnativeshared.interfaces.ContentItemInterface
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
@SerialName("MediaClip")
data class MediaClip (
    override val id: String? = null,
    override val title: String? = null,
    val mediatype: String? = null,
    val mediatype_override: String? = null,
    val fitmode: String? = null,
    val usetype: String? = null,
    val location: String? = null,
    val sourcetype: String? = null,
    val originalfilename: String? = null,
    var length: String? = null,
    val sourceid: String? = null,
    val description: String? = null,
    val deeplink: String? = null,
    val gendeeplink: String? = null,
    val copyright: String? = null,
    val author: String? = null,
    val status: String? = null,
    // val publicationid: String? = null, //sometimes string sometimes array with 1 string
    val createddate: String? = null,
    val updateddate: String? = null,
    val publisheddate: String? = null,
    val views: Long? = null,
    val width: Long? = null,
    val height: Long? = null,
    val dar: String? = null,
    val originalWidth: Long? = null,
    val originalHeight: Long? = null,
    val date: Dates? = null,
    val src: String? = null,
    val cat: List? = null,
    val thumbnails: List? = null,
    val movingThumbnails: List? = null,
    val assets: List? = null,
    val hasJobs: String? = null,
    val hasFailedJobs: Boolean? = null,
    val hasRunningJobs: Boolean? = null,
    val hasNewJobs: Boolean? = null,
    val transcodingFinished: Boolean? = null,
    val isYoutubeImport: Boolean? = null,
    val subtitles: List? = null,
    val transcript: String? = null,
//    val nametags: Any? = null,
//    val exports: Any? = null,
    val timelines: List? = null,
//    val adunits: Any? = null,
    val audiotracks: List? = null,

    @SerialName("youtubeImportId")
    val youtubeImportID: String? = null,

    val importSource: String? = null,

    @SerialName("importUrl")
    val importURL: String? = null,

    val disablecommercials: String? = null,
    val isDynamic: String? = null,
    val checkbox: String? = null,
    val comment: String? = null,
//    val playoutoverride: Any? = null,
    val isOutro: String? = null,
    var projectId: String? = null
): ContentItem(), ContentItemInterface {
    constructor(id: String, title: String) : this(id, title, null)
}

@Serializable
data class Dates (
    val created: String? = null,
    val updated: String? = null,
    val published: String? = null
)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy