Movie

@Serializable
data class Movie(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 rating: Double? = null, val producers: List<Company> = emptyList(), val recommendations: List<FilmSearchItem> = emptyList(), val providerId: String, val adult: Boolean = false, val runtime: Int? = null, 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 collection: TMDBCollection? = null) : FilmMetadata(source)

Represents a detailed information of a movie.

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, rating: Double? = null, producers: List<Company> = emptyList(), recommendations: List<FilmSearchItem> = emptyList(), providerId: String, adult: Boolean = false, runtime: Int? = null, overview: String? = null, tagLine: String? = null, year: Int? = null, genres: List<Genre> = emptyList(), cast: List<Person> = emptyList(), customProperties: Map<String, String?> = emptyMap(), collection: TMDBCollection? = 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 TV show.

Link copied to clipboard

The movies collection this movie belongs to.

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 TV show.

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
open override val overview: String? = null

The overview of the TV show.

Link copied to clipboard

The parsed release date of the film in a consistent format.

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>

The recommendations of the TV show.

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
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
open override val year: Int? = null

The year of the TV show.