Media

data class Media(val id: MediaId, val name: String, val description: String?, val creationDate: Date, val color: Int?, val logoUrl: String?, val certifications: List<String>, val publications: List<PublicationReference>) : Serializable

Represents a media with full detail.

Parameters

id

unique identifier of the media

name

display name of the media

description

description of the media (if available)

creationDate

date at which the media was created

color

brand color associated with the media (if available)

logoUrl

URL to the media's logo asset (if available)

certifications

list of certification labels associated to this media

publications

list of publications (reference) owned by this media

Constructors

Link copied to clipboard
constructor(id: MediaId, name: String, description: String?, creationDate: Date, color: Int?, logoUrl: String?, certifications: List<String>, publications: List<PublicationReference>)

Properties

Link copied to clipboard
Link copied to clipboard
val color: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: MediaId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard