MediaObject

open class MediaObject(val title: String?, val year: Int?, val ids: SimklApi.Companion.MediaObject.Ids?, val total_episodes: 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)

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?, total_episodes: 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
data class Season(val number: Int, val episodes: List<SimklApi.Companion.MediaObject.Season.Episode>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val poster: String? = null
Link copied to clipboard
Link copied to clipboard
val status: String? = null
Link copied to clipboard
Link copied to clipboard
val total_episodes: Int? = null
Link copied to clipboard
val type: String? = null
Link copied to clipboard
val year: Int?

Functions

Link copied to clipboard