MediaObject

data class MediaObject(val title: String?, val year: Int?, val ids: SimklApi.Companion.MediaObject.Ids?, val totalEpisodes: Int? = null, val status: String? = null, val poster: String? = null, val type: String? = null, val seasons: List<SimklApi.Companion.MediaObject.Season>? = null, val episodes: List<SimklApi.Companion.MediaObject.Season.Episode>? = null)(source)

https://simkl.docs.apiary.io/#introduction/about-simkl-api/standard-media-objects Useful for finding shows from metadata.

Constructors

Link copied to clipboard
constructor(title: String?, year: Int?, ids: SimklApi.Companion.MediaObject.Ids?, totalEpisodes: Int? = null, status: String? = null, poster: String? = null, type: String? = null, seasons: List<SimklApi.Companion.MediaObject.Season>? = null, episodes: List<SimklApi.Companion.MediaObject.Season.Episode>? = null)

Types

Link copied to clipboard
data class Ids(val simkl: Int?, val imdb: String? = null, val tmdb: String? = null, val mal: String? = null, val anilist: String? = null)
Link copied to clipboard

Properties

Link copied to clipboard
@SerialName(value = "episodes")
val episodes: List<SimklApi.Companion.MediaObject.Season.Episode>?
Link copied to clipboard
@SerialName(value = "ids")
val ids: SimklApi.Companion.MediaObject.Ids?
Link copied to clipboard
@SerialName(value = "poster")
val poster: String?
Link copied to clipboard
@SerialName(value = "seasons")
val seasons: List<SimklApi.Companion.MediaObject.Season>?
Link copied to clipboard
@SerialName(value = "status")
val status: String?
Link copied to clipboard
@SerialName(value = "title")
val title: String?
Link copied to clipboard
@SerialName(value = "total_episodes")
val totalEpisodes: Int?
Link copied to clipboard
@SerialName(value = "type")
val type: String?
Link copied to clipboard
@SerialName(value = "year")
val year: Int?

Functions

Link copied to clipboard