Video

data class Video(val id: VideoId, val createdAt: Date, val createdBy: String, val modifiedAt: Date?, val modifiedBy: String?, val publicationId: PublicationId, val releaseDate: Date, val title: String, val externalId: ExternalId, val summary: String?, val format: Video.VideoFormat, val creators: List<String>, val language: String, val tags: List<String>, val width: Int, val height: Int, val duration: Int, val isOnline: Boolean, val coverUrl: String, val sponsored: Boolean, val ingestionPipelineVersion: Int) : Serializable

Represents a video with full detail.

Parameters

id

unique identifier of the video

createdAt

video creation date

createdBy

video publisher name

modifiedAt

last modification date (if available)

modifiedBy

last modified by (if available)

publicationId

identifier of the publication owning or distributing this video

releaseDate

date at which the video was published or made available

title

display title

externalId

video external id

summary

summary (if available)

format

the shape the video was produced in — see VideoFormat

creators

creators of video

language

video language

tags

video tags

width

video width

height

video height

duration

video duration

isOnline

video is available

coverUrl

URL to the video's thumbnail image

sponsored

is video sponsored

ingestionPipelineVersion

pipeline ingestion version

Constructors

Link copied to clipboard
constructor(id: VideoId, createdAt: Date, createdBy: String, modifiedAt: Date?, modifiedBy: String?, publicationId: PublicationId, releaseDate: Date, title: String, externalId: ExternalId, summary: String?, format: Video.VideoFormat, creators: List<String>, language: String, tags: List<String>, width: Int, height: Int, duration: Int, isOnline: Boolean, coverUrl: String, sponsored: Boolean, ingestionPipelineVersion: Int)

Types

Link copied to clipboard

The shape a video was produced in, which is what decides how it should be presented.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
val id: VideoId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val width: Int