mirror of
https://github.com/owenlejeune/TVTime.git
synced 2025-11-18 01:30:54 -05:00
add collection information to movie details
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
package com.owenlejeune.tvtime.api.tmdb.model
|
||||||
|
|
||||||
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
class Collection(
|
||||||
|
@SerializedName("id") val id: Int,
|
||||||
|
@SerializedName("name") val name: String,
|
||||||
|
@SerializedName("poster_path") val posterPath: String?,
|
||||||
|
@SerializedName("backdrop_path") val backdropPath: String?
|
||||||
|
)
|
||||||
@@ -25,6 +25,7 @@ class DetailedMovie(
|
|||||||
@SerializedName("revenue") val revenue: Int,
|
@SerializedName("revenue") val revenue: Int,
|
||||||
@SerializedName("runtime") val runtime: Int?,
|
@SerializedName("runtime") val runtime: Int?,
|
||||||
@SerializedName("imdb_id") val imdbId: String?,
|
@SerializedName("imdb_id") val imdbId: String?,
|
||||||
|
@SerializedName("belongs_to_collection") val collection: Collection?
|
||||||
): DetailedItem(
|
): DetailedItem(
|
||||||
id, title, posterPath, backdropPath, genres, overview,
|
id, title, posterPath, backdropPath, genres, overview,
|
||||||
productionCompanies, productionCountries, status, tagline, voteAverage,
|
productionCompanies, productionCountries, status, tagline, voteAverage,
|
||||||
|
|||||||
Reference in New Issue
Block a user