Media Object
open 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
Inheritors
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 Season(val number: Int, val episodes: List<SimklApi.Companion.MediaObject.Season.Episode>)