Package-level declarations
Contains all types that form the data model used by the TMDb API client.
Types
Link copied to clipboard
interface AppendRequest
Link copied to clipboard
data class CastMember(val id: Int?, val originalLanguage: LanguageCode?, val episodeCount: Int?, val overview: String?, val originCountry: List<CountryCode> = emptyList(), val originalName: String?, val genreIds: List<Int> = emptyList(), val name: String?, val mediaType: MediaType?, val posterPath: String?, val firstAirDate: LocalDate?, val voteAverage: Double?, val voteCount: Int?, val character: String?, val backdropPath: String?, val popularity: Double?, val creditId: String?, val originalTitle: String?, val video: Boolean?, val releaseDate: LocalDate?, val title: String?, val adult: Boolean?, val order: Int?) : TmdbType, TmdbIntId
Link copied to clipboard
data class Certification(val certifications: Map<String, List<Certification.Certification>> = emptyMap()) : TmdbType
Link copied to clipboard
data class CollectionDetails(val id: Int?, val name: String?, val overview: String?, val posterPath: String?, val backdropPath: String?, val parts: List<CollectionDetails.Part> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class CollectionImages(val id: Int?, val backdrops: List<ImageListResult> = emptyList(), val posters: List<ImageListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class CollectionTranslation(val country: CountryCode?, val language: LanguageCode?, val name: String?, val englishName: String?, val data: CollectionTranslationData? = null) : TmdbType
Link copied to clipboard
data class CollectionTranslationData(val title: String?, val overview: String?, val homepage: String?) : TmdbType
Link copied to clipboard
data class CollectionTranslations(val id: Int?, val translations: List<CollectionTranslation> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class CompanyAlternativeNames(val id: Int?, val results: List<CompanyAlternativeNameResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class CompanyImages(val id: Int?, val logos: List<ImageListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class Configuration(val images: Configuration.Images = Images(null, null), val changeKeys: List<String> = emptyList()) : TmdbType
Link copied to clipboard
data class CreditListResult(val adult: Boolean?, val castId: Int?, val character: String?, val knownForDepartment: String?, val popularity: Double?, val creditId: String?, val department: String?, val gender: Gender?, val id: Int?, val job: String?, val name: String?, val originalName: String?, val order: Int?, val profilePath: String?) : TmdbType, ICastMember, ICrewMember
Link copied to clipboard
Link copied to clipboard
data class CreditMediaMovie(val adult: Boolean?, val backdropPath: String?, val character: String?, val genreIds: List<Int> = emptyList(), val id: Int?, val mediaType: MediaType?, val originalLanguage: LanguageCode?, val originalTitle: String?, val overview: String?, val popularity: Double?, val posterPath: String?, val releaseDate: LocalDate?, val title: String?, val video: Boolean?, val voteAverage: Double?, val voteCount: Long?) : TmdbType, CreditMedia
Link copied to clipboard
data class CreditMediaTv(val adult: Boolean?, val backdropPath: String?, val character: String?, val episodes: List<CreditMediaTvEpisode> = emptyList(), val firstAirDate: LocalDate?, val genreIds: List<Int> = emptyList(), val id: Int?, val mediaType: MediaType?, val name: String?, val originCountry: List<CountryCode> = emptyList(), val originalLanguage: LanguageCode?, val originalName: String?, val overview: String?, val popularity: Double?, val posterPath: String?, val seasons: List<CreditMediaTvSeason> = emptyList(), val voteAverage: Double?, val voteCount: Long?) : TmdbType, CreditMedia
Link copied to clipboard
data class CreditMediaTvEpisode(val airDate: LocalDate?, val episodeNumber: Int?, val id: Int?, val name: String?, val overview: String?, val productionCode: String?, val runtime: Int?, val seasonNumber: Int?, val showId: Int?, val stillPath: String?, val voteAverage: Double?, val voteCount: Long?, val mediaType: MediaType?, val episodeType: TvEpisodeType?) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class CreditPerson(val adult: Boolean?, val gender: Gender?, val name: String?, val id: Int?, val knownFor: List<CreditPersonKnownFor> = emptyList(), val knownForDepartment: String?, val mediaType: MediaType?, val originalName: String?, val profilePath: String?, val popularity: Double?) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class CreditPersonKnownForMovie(val adult: Boolean?, val backdropPath: String?, val genreIds: List<Int> = emptyList(), val id: Int?, val mediaType: MediaType?, val originalLanguage: LanguageCode?, val originalTitle: String?, val overview: String?, val popularity: Double?, val posterPath: String?, val releaseDate: LocalDate?, val title: String?, val video: Boolean?, val voteAverage: Double?, val voteCount: Long?) : TmdbType, CreditPersonKnownFor
Link copied to clipboard
data class CreditPersonKnownForTv(val adult: Boolean?, val backdropPath: String?, val firstAirDate: LocalDate?, val genreIds: List<Int> = emptyList(), val id: Int?, val mediaType: MediaType?, val name: String?, val originCountry: List<CountryCode> = emptyList(), val originalLanguage: LanguageCode?, val originalName: String?, val overview: String?, val popularity: Double?, val posterPath: String?, val voteAverage: Double?, val voteCount: Long?) : TmdbType, CreditPersonKnownFor
Link copied to clipboard
data class Credits(val creditType: CreditType?, val department: String?, val job: String?, val media: CreditMedia?, val mediaType: MediaType, val id: String?, val person: CreditPerson?) : TmdbType, TmdbStringId
Link copied to clipboard
Link copied to clipboard
data class CrewMember(val id: Int?, val department: String?, val originalLanguage: LanguageCode?, val episodeCount: Int?, val job: String?, val overview: String?, val originCountry: List<CountryCode> = emptyList(), val originalName: String?, val voteCount: Int?, val name: String?, val mediaType: MediaType?, val popularity: Double?, val creditId: String?, val backdropPath: String?, val firstAirDate: LocalDate?, val voteAverage: Double?, val genreIds: List<Int> = emptyList(), val posterPath: String?, val originalTitle: String?, val video: Boolean?, val title: String?, val adult: Boolean?, val releaseDate: LocalDate?) : TmdbType, TmdbIntId
Link copied to clipboard
data class Find(val movieResults: List<MovieListResult> = emptyList(), val personResults: List<PersonListResult> = emptyList(), val tvResults: List<TvListResult> = emptyList(), val tvEpisodeResults: List<TvEpisodeDetails> = emptyList(), val tvSeasonResults: List<TvSeasonDetails> = emptyList()) : TmdbType
Link copied to clipboard
data class GuestSession(val success: Boolean?, val id: String, val expiresAt: String?) : TmdbType, TmdbStringId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class KeywordMovies(val id: Int?, val page: Int?, val results: List<MovieListResult>, val totalPages: Int?, val totalResults: Int?) : TmdbType, TmdbIntId, Paginated<MovieListResult>
Link copied to clipboard
data class ListDetails(val createdBy: String?, val description: String?, val favoriteCount: Int?, val id: String?, val items: List<MovieListResult> = emptyList(), val itemCount: Int?, val language: LanguageCode?, val country: CountryCode?, val listType: String?, val name: String?, val posterPath: String?, val totalResults: Int?, val totalPages: Int?, val page: Int?) : TmdbType, TmdbStringId
Link copied to clipboard
Link copied to clipboard
data class MovieChanges(val page: Int?, val results: List<MovieChanges.Change> = emptyList(), val totalPages: Int?, val totalResults: Int?) : TmdbType, Paginated<MovieChanges.Change>
Link copied to clipboard
data class MovieCredits(val id: Int?, val cast: List<CreditListResult> = emptyList(), val crew: List<CreditListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class MovieDetails(val adult: Boolean?, val backdropPath: String?, val belongsToCollection: CollectionInfo?, val budget: Int?, val genres: List<Genre> = emptyList(), val homepage: String?, val id: Int?, val imdbId: String?, val originCountry: List<CountryCode>?, val originalLanguage: LanguageCode?, val originalTitle: String?, val overview: String?, val popularity: Double?, val posterPath: String?, val productionCompanies: List<CompanyInfo> = emptyList(), val productionCountries: List<Country> = emptyList(), val releaseDate: LocalDate?, val revenue: Long?, val runtime: Int?, val spokenLanguages: List<Language> = emptyList(), val status: MovieStatus?, val tagline: String?, val title: String?, val video: Boolean?, val voteAverage: Double?, val voteCount: Int?, val alternativeTitles: MovieAlternativeTitles?, val changes: MovieChanges?, val credits: MovieCredits?, val externalIds: MovieExternalIds?, val images: MovieImages?, val keywords: MovieKeywords?, val releaseDates: MovieReleaseDates?, val videos: MovieVideos?, val translations: MovieTranslations?, val recommendations: PaginatedListResults<MovieListResult>?, val similar: PaginatedListResults<MovieListResult>?, val reviews: MovieReviews?, val lists: MovieLists?) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class MovieImages(val id: Int?, val backdrops: List<ImageListResult> = emptyList(), val posters: List<ImageListResult> = emptyList(), val logos: List<ImageListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class MovieListResult(val posterPath: String?, val adult: Boolean?, val overview: String?, val releaseDate: LocalDate?, val genreIds: List<Int> = emptyList(), val id: Int?, val originalTitle: String?, val originalLanguage: LanguageCode?, val title: String?, val backdropPath: String?, val popularity: Double?, val voteCount: Int?, val video: Boolean?, val voteAverage: Double?, val rating: Double?, val mediaType: MediaType?) : TmdbType, TmdbIntId, MovieTvPersonListResult
Link copied to clipboard
data class MovieLists(val id: Int?, val page: Int?, val results: List<ListDetails> = emptyList(), val totalPages: Int?, val totalResults: Int?) : TmdbType, TmdbIntId, Paginated<ListDetails>
Link copied to clipboard
data class MovieReleaseDates(val id: Int?, val results: List<MovieReleaseDates.ReleaseDates> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class MovieReviews(val id: Int?, val page: Int?, val results: List<ReviewDetails> = emptyList(), val totalPages: Int?, val totalResults: Int?) : TmdbType, TmdbIntId, Paginated<ReviewDetails>
Link copied to clipboard
Link copied to clipboard
data class MovieTranslations(val id: Int?, val translations: List<TranslationListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class MovieVideos(val id: Int?, val results: List<VideoListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class NetworkAlternativeNames(val id: Int?, val results: List<NetworkAlternativeNameResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class NetworkImages(val id: Int?, val logos: List<ImageListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class PaginatedMovieListResultsWithDates(val id: Int?, val page: Int?, val results: List<MovieListResult> = emptyList(), val dates: PaginatedMovieListResultsWithDates.Dates?, val totalPages: Int?, val totalResults: Int?) : TmdbType, TmdbIntId, Paginated<MovieListResult>
Link copied to clipboard
data class PeoplePopular(val page: Int?, val results: List<PeoplePopular.PopularPerson>, val totalPages: Int?, val totalResults: Int?) : TmdbType, Paginated<PeoplePopular.PopularPerson>
Link copied to clipboard
Link copied to clipboard
data class PersonCredits(val id: Int?, val cast: List<CastMember> = emptyList(), val crew: List<CrewMember> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class PersonDetails(val adult: Boolean?, val alsoKnownAs: List<String> = emptyList(), val biography: String?, val birthday: String?, val deathday: String?, val gender: Gender?, val homepage: String?, val id: Int?, val imdbId: String?, val name: String?, val placeOfBirth: String?, val popularity: Double?, val profilePath: String?, val knownForDepartment: String?, val movieCredits: PersonCredits?, val tvCredits: PersonCredits?, val combinedCredits: PersonCredits?, val externalIds: PersonExternalIds?, val images: PersonImages?, val taggedImages: PersonTaggedImages?, val translations: PersonTranslations?, val changes: PersonChanges?) : TmdbType, TmdbIntId
Link copied to clipboard
data class PersonExternalIds(val imdbId: String?, val facebookId: String?, val freebaseMid: String?, val freebaseId: String?, val tvrageId: Int?, val twitterId: String?, val id: Int?, val instagramId: String?, val youtubeId: String?, val tiktokId: String?, val wikidataId: String?) : TmdbType, TmdbIntId
Link copied to clipboard
data class PersonImages(val id: Int?, val profiles: List<ImageListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class PersonListResult(val profilePath: String?, val adult: Boolean?, val gender: Gender?, val id: Int?, val mediaType: MediaType?, val knownFor: List<MovieTvPersonListResult> = emptyList(), val knownForDepartment: String?, val creditId: String?, val name: String?, val popularity: Double?, val originalName: String?) : TmdbType, IPerson, MovieTvPersonListResult
Link copied to clipboard
data class PersonTaggedImages(val id: Int?, val page: Int?, val results: List<PersonTaggedImages.TaggedImage> = emptyList(), val totalPages: Int?, val totalResults: Int?) : TmdbType, TmdbIntId, Paginated<PersonTaggedImages.TaggedImage>
Link copied to clipboard
data class PersonTranslations(val id: Int?, val translations: List<PersonTranslations.PersonTranslation> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class ReviewDetails(val id: String?, val author: String?, val authorDetails: ReviewAuthorDetails?, val content: String?, val language: LanguageCode?, val mediaId: Int?, val mediaTitle: String?, val mediaType: MediaType?, val url: String?, val createdAt: Instant?, val updatedAt: Instant?) : TmdbType, TmdbStringId
Link copied to clipboard
interface TmdbStringId
Link copied to clipboard
data class TranslationListResult(val language: LanguageCode?, val country: CountryCode?, val name: String?, val englishName: String?, val data: TranslationListResult.TranslationData?) : TmdbType
Link copied to clipboard
Link copied to clipboard
data class TvEpisodeCredits(val id: Int?, val cast: List<CreditListResult> = emptyList(), val crew: List<CreditListResult> = emptyList(), val guestStars: List<CreditListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class TvEpisodeDetails(val airDate: LocalDate?, val crew: List<CreditListResult> = emptyList(), val episodeNumber: Int?, val guestStars: List<CreditListResult> = emptyList(), val name: String?, val overview: String?, val id: Int?, val mediaType: MediaType?, val episodeType: TvEpisodeType?, val productionCode: String?, val runtime: Int?, val seasonNumber: String?, val showId: Int?, val stillPath: String?, val voteAverage: Double?, val voteCount: Int?, val order: Int?, val changes: TvEpisodeChanges?, val credits: TvEpisodeCredits?, val externalIds: TvEpisodeExternalIds?, val images: TvEpisodeImages?, val translations: TvEpisodeTranslations?, val videos: TvEpisodeVideos?) : TmdbType, TmdbIntId
Link copied to clipboard
data class TvEpisodeGroupDetails(val id: String?, val name: String?, val type: TvEpisodeGroupType?, val description: String?, val episodeCount: Int?, val groupCount: Int?, val groups: List<TvEpisodeGroupDetails.TvEpisodeGroup> = emptyList(), val network: Network?) : TmdbType, TmdbStringId
Link copied to clipboard
Link copied to clipboard
data class TvEpisodeImages(val id: Int?, val stills: List<ImageListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class TvEpisodeListResult(val airDate: LocalDate?, val episodeNumber: Int?, val name: String?, val overview: String?, val id: Int?, val productionCode: String?, val runtime: Int?, val seasonNumber: String?, val showId: Int?, val stillPath: String?, val voteAverage: Double?, val voteCount: Int?, val rating: Double?) : TmdbType, TmdbIntId
Link copied to clipboard
data class TvEpisodeTranslations(val id: Int?, val translations: List<TranslationListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class TvEpisodeVideos(val id: Int?, val results: List<VideoListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class TvListResult(val posterPath: String?, val popularity: Double?, val id: Int?, val backdropPath: String?, val voteAverage: Double?, val overview: String?, val firstAirDate: LocalDate?, val networks: List<TvListResult.TvListNetwork> = emptyList(), val originCountry: List<String> = emptyList(), val genreIds: List<Int> = emptyList(), val originalLanguage: LanguageCode?, val voteCount: Int?, val rating: Double?, val name: String?, val originalName: String?, val mediaType: MediaType?, val adult: Boolean?) : TmdbType, MovieTvPersonListResult
Link copied to clipboard
Link copied to clipboard
data class TvSeasonCredits(val id: Int?, val cast: List<CreditListResult> = emptyList(), val crew: List<CreditListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class TvSeasonDetails(val airDate: LocalDate?, val episodes: List<TvEpisodeDetails> = emptyList(), val name: String?, val overview: String?, val id: Int?, val mediaType: MediaType?, val posterPath: String?, val seasonNumber: Int?, val showId: Int?, val episodeCount: Int?, val voteAverage: Double?, val changes: TvSeasonChanges?, val credits: TvSeasonCredits?, val externalIds: TvSeasonExternalIds?, val images: TvSeasonImages?, val videos: TvSeasonVideos?) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class TvSeasonImages(val id: Int?, val posters: List<ImageListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class TvSeasonVideos(val id: Int?, val results: List<VideoListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class TvShowContentRatings(val id: Int?, val results: List<TvShowContentRatings.Rating> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class TvShowCredits(val id: Int?, val cast: List<CreditListResult> = emptyList(), val crew: List<CreditListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
data class TvShowDetails(val adult: Boolean?, val backdropPath: String?, val createdBy: List<PersonListResult> = emptyList(), val episodeRunTime: List<Int> = emptyList(), val firstAirDate: LocalDate?, val genres: List<Genre> = emptyList(), val homepage: String?, val id: Int?, val inProduction: Boolean?, val languages: List<LanguageCode> = emptyList(), val lastAirDate: LocalDate?, val lastEpisodeToAir: TvEpisodeDetails?, val nextEpisodeToAir: TvEpisodeDetails?, val name: String?, val networks: List<Network> = emptyList(), val numberOfEpisodes: Int?, val numberOfSeasons: Int?, val originCountry: List<CountryCode> = emptyList(), val originalLanguage: LanguageCode?, val originalName: String?, val overview: String?, val popularity: Double?, val posterPath: String?, val productionCompanies: List<CompanyInfo> = emptyList(), val productionCountries: List<Country> = emptyList(), val seasons: List<TvSeasonDetails> = emptyList(), val spokenLanguages: List<Language> = emptyList(), val status: TvShowStatus?, val tagline: String?, val type: TvShowType?, val voteAverage: Double?, val voteCount: Int?, val alternativeTitles: TvShowAlternativeTitles?, val changes: TvShowChanges?, val contentRatings: TvShowContentRatings?, val credits: TvShowCredits?, val externalIds: TvShowExternalIds?, val images: TvShowImages?, val keywords: TvShowKeywords?, val recommendations: PaginatedListResults<TvListResult>?, val screenedTheatrically: TvShowScreenedTheatrically?, val similar: PaginatedListResults<TvListResult>?, val translations: TvShowTranslations?, val videos: TvShowVideos?) : TmdbType, TmdbIntId
Link copied to clipboard
data class TvShowEpisodeGroups(val id: Int?, val results: List<TvShowEpisodeGroups.TvShowEpisodeGroup> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class TvShowImages(val id: Int?, val backdrops: List<ImageListResult> = emptyList(), val posters: List<ImageListResult> = emptyList(), val logos: List<ImageListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class TvShowReview(val id: String?, val url: String?, val author: String?, val authorDetails: ReviewAuthorDetails?, val content: String?, val createdAt: Instant?, val updatedAt: Instant?) : TmdbType, TmdbStringId
Link copied to clipboard
data class TvShowScreenedTheatrically(val id: Int?, val results: List<TvShowScreenedTheatrically.ScreenedResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class TvShowTranslations(val id: Int?, val translations: List<TranslationListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
data class TvShowVideos(val id: Int?, val results: List<VideoListResult> = emptyList()) : TmdbType, TmdbIntId
Link copied to clipboard
Link copied to clipboard
object VideoSizes