TvShow

@Serializable
data class TvShow(val id: String?, val title: String, val posterImage: String?, val homePage: String?, val backdropImage: String? = null, val logoImage: String? = null, val tmdbId: Int? = null, val imdbId: String? = null, val language: String? = null, val releaseDate: String? = null, val parsedReleaseDate: String? = null, val rating: Double? = null, val producers: List<Company> = emptyList(), val recommendations: List<FilmSearchItem> = emptyList(), val providerId: String, val adult: Boolean = false, val overview: String? = null, val tagLine: String? = null, val year: Int? = null, val genres: List<Genre> = emptyList(), val cast: List<Person> = emptyList(), val customProperties: Map<String, String?> = emptyMap(), val networks: List<Company> = emptyList(), val seasons: List<Season> = emptyList(), val totalEpisodes: Int = 0, val totalSeasons: Int = 0, val runtime: Int? = null) : FilmMetadata(source)

Represents a detailed information of a TV show.

See also

Constructors

Link copied to clipboard
constructor(id: String?, title: String, posterImage: String?, homePage: String?, backdropImage: String? = null, logoImage: String? = null, tmdbId: Int? = null, imdbId: String? = null, language: String? = null, releaseDate: String? = null, parsedReleaseDate: String? = null, rating: Double? = null, producers: List<Company> = emptyList(), recommendations: List<FilmSearchItem> = emptyList(), providerId: String, adult: Boolean = false, overview: String? = null, tagLine: String? = null, year: Int? = null, genres: List<Genre> = emptyList(), cast: List<Person> = emptyList(), customProperties: Map<String, String?> = emptyMap(), networks: List<Company> = emptyList(), seasons: List<Season> = emptyList(), totalEpisodes: Int = 0, totalSeasons: Int = 0, runtime: Int? = null)

Properties

Link copied to clipboard
open override val adult: Boolean = false

Whether the TV show is marked as adult.

Link copied to clipboard
open override val backdropImage: String? = null

The backdrop image of the TV show.

Link copied to clipboard
open override val cast: List<Person>

The cast of the film.

Link copied to clipboard
open override val customProperties: Map<String, String?>

A map of custom properties associated with the film. Add any properties that your response/resource needs. Also, serialize the value of the property to string.

Link copied to clipboard
open override val filmType: FilmType

The type of the TV show.

Link copied to clipboard
open override val genres: List<Genre>

The genres of the TV show.

Link copied to clipboard
open override val homePage: String?

The home page of the TV show.

Link copied to clipboard
open override val id: String?

The unique identifier of the TV show.

Link copied to clipboard

A unique identifier for the film. It could either be id, tmdbId, imdbId, or title in the following sequential order.

Link copied to clipboard
open override val imdbId: String? = null

The IMDB ID of the film (optional).

Link copied to clipboard

Indicates whether the film is from TMDB (optional).

Link copied to clipboard

Checks if the film is a movie.

Link copied to clipboard

Checks if the film is a tv show.

Link copied to clipboard
open override val language: String? = null

The language of the TV show.

Link copied to clipboard
open override val logoImage: String? = null

The URL to the logo image of the film (optional).

Link copied to clipboard

The networks that aired the TV show.

Link copied to clipboard
open override val overview: String? = null

The overview of the TV show.

Link copied to clipboard
open override val parsedReleaseDate: String? = null

The parsed release date of the TV show.

Link copied to clipboard
open override val posterImage: String?

The poster image of the TV show.

Link copied to clipboard
open override val producers: List<Company>

The producers of the TV show.

Link copied to clipboard
open override val providerId: String

The provider id of the provider this film came from.

Link copied to clipboard
open override val rating: Double? = null

The rating of the TV show.

Link copied to clipboard
open override val recommendations: List<FilmSearchItem>

A list of recommended films.

Link copied to clipboard
open override val releaseDate: String? = null

The release date of the TV show.

Link copied to clipboard
Link copied to clipboard
open override val runtime: Int? = null

The runtime of the TV show.

Link copied to clipboard

The seasons of the TV show.

Link copied to clipboard
open override val tagLine: String? = null

The tag line of the TV show.

Link copied to clipboard
open override val title: String

The title of the TV show.

Link copied to clipboard
open override val tmdbId: Int? = null

The TMDB ID of the TV show.

Link copied to clipboard

The total number of episodes in the TV show.

Link copied to clipboard
val totalSeasons: Int = 0

The total number of seasons in the TV show.

Link copied to clipboard
open override val year: Int? = null

The year of the TV show.