TMDBCollection

@Serializable
data class TMDBCollection(val id: Int, val overview: String? = null, val films: List<FilmSearchItem>, val backdropPath: String?, val collectionName: String, val posterPath: String?) : Serializable(source)

Represents a collection of films as retrieved from TMDB.

Constructors

Link copied to clipboard
constructor(id: Int, overview: String? = null, films: List<FilmSearchItem>, backdropPath: String?, collectionName: String, posterPath: String?)

Properties

Link copied to clipboard
@SerializedName(value = "backdrop_path")
val backdropPath: String?

Optional URL to the backdrop image of the collection.

Link copied to clipboard
@SerializedName(value = "name")
val collectionName: String

Name of the collection.

Link copied to clipboard
@SerializedName(value = "parts")
val films: List<FilmSearchItem>

List of films in the collection.

Link copied to clipboard
val id: Int

Unique identifier for the collection.

Link copied to clipboard
val overview: String? = null

Optional overview or description of the collection.

Link copied to clipboard
@SerializedName(value = "poster_path")
val posterPath: String?

Optional URL to the poster image of the collection.