Anime
data class Anime(val id: Int, val title: String, val mainPicture: Picture? = null, val alternativeTitles: AlternativeTitles? = null, val startDate: LocalDate? = null, val endDate: LocalDate? = null, val synopsis: String? = null, val mean: Float? = null, val rank: Int? = null, val popularity: Int? = null, val numListUsers: Int? = null, val numScoringUsers: Int? = null, val nsfw: Nsfw? = null, val createdAt: Instant? = null, val updatedAt: Instant? = null, val mediaType: MediaType? = null, val status: AnimeStatus? = null, val genres: List<Genre>? = null, val myListStatus: UserAnimeListStatus? = null, val numEpisodes: Int? = null, val startSeason: StartSeason? = null, val broadcast: Broadcast? = null, val source: Source? = null, val averageEpisodeDuration: Int? = null, val rating: Rating? = null, val pictures: List<Picture>? = null, val background: String? = null, val relatedAnime: List<RelatedAnime>? = null, val relatedManga: List<RelatedManga>? = null, val recommendations: List<Recommendation>? = null, val studios: List<Studio>? = null, val statistics: Statistics? = null)
Represents an anime in the MyAnimeList database.
Constructors
Link copied to clipboard
constructor(id: Int, title: String, mainPicture: Picture? = null, alternativeTitles: AlternativeTitles? = null, startDate: LocalDate? = null, endDate: LocalDate? = null, synopsis: String? = null, mean: Float? = null, rank: Int? = null, popularity: Int? = null, numListUsers: Int? = null, numScoringUsers: Int? = null, nsfw: Nsfw? = null, createdAt: Instant? = null, updatedAt: Instant? = null, mediaType: MediaType? = null, status: AnimeStatus? = null, genres: List<Genre>? = null, myListStatus: UserAnimeListStatus? = null, numEpisodes: Int? = null, startSeason: StartSeason? = null, broadcast: Broadcast? = null, source: Source? = null, averageEpisodeDuration: Int? = null, rating: Rating? = null, pictures: List<Picture>? = null, background: String? = null, relatedAnime: List<RelatedAnime>? = null, relatedManga: List<RelatedManga>? = null, recommendations: List<Recommendation>? = null, studios: List<Studio>? = null, statistics: Statistics? = null)
Properties
Link copied to clipboard
Alternative titles (English, Japanese, synonyms).
Link copied to clipboard
The average duration of an episode in seconds.
Link copied to clipboard
Background information about the anime.
Link copied to clipboard
The main picture of the anime.
Link copied to clipboard
The status of the anime in the authenticated user's list.
Link copied to clipboard
The total number of episodes.
Link copied to clipboard
The number of users who have the anime in their list.
Link copied to clipboard
The number of users who have scored the anime.
Link copied to clipboard
The popularity rank of the anime.
Link copied to clipboard
A list of recommended anime based on this one.
Link copied to clipboard
A list of related anime.
Link copied to clipboard
A list of related manga.
Link copied to clipboard
The season and year when the anime started airing.
Link copied to clipboard
Statistical data about the anime.
Link copied to clipboard
The airing status of the anime.