Film

@Serializable
abstract class Film : Serializable(source)

An abstract representation of a film.

See also

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val adult: Boolean

Indicates whether the film is for adults only.

Link copied to clipboard
abstract val backdropImage: String?

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

Link copied to clipboard

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
abstract val filmType: FilmType
Link copied to clipboard
open val genres: List<Genre>

A list of genres associated with the film.

Link copied to clipboard
abstract val homePage: String?

The URL to the home page of the film (optional).

Link copied to clipboard
abstract val id: String?

The ID of the film. Check out Film.identifier as it is more reliable than calling this one.

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 val imdbId: String?

The IMDB ID of the film (optional).

Link copied to clipboard

Indicates whether the film is from TMDB (optional).

Link copied to clipboard
abstract val language: String?

The language of the film.

Link copied to clipboard
open val logoImage: String?

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

Link copied to clipboard
abstract val overview: String?

An overview, sypnosis or description of the film.

Link copied to clipboard

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

Link copied to clipboard
abstract val posterImage: String?

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

Link copied to clipboard
open val providerId: String

The provider id of the provider this film came from.

Link copied to clipboard
abstract val rating: Double?

The average rating of the film.

Link copied to clipboard

A list of recommended films.

Link copied to clipboard
abstract val releaseDate: String?

The release date of the film.

Link copied to clipboard
Link copied to clipboard
open val runtime: Int?

The runtime of the film in minutes.

Link copied to clipboard
abstract val title: String

The title of the film.

Link copied to clipboard
open val tmdbId: Int?

The TMDB ID of the film (optional).

Link copied to clipboard
abstract val year: Int?

The year of the film's release (optional).