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 broadcast schedule of the anime.

Link copied to clipboard

The time when the anime record was created.

Link copied to clipboard
val endDate: LocalDate?

The date when the anime finished airing.

Link copied to clipboard

The genres associated with the anime.

Link copied to clipboard
val id: Int

The unique identifier for the anime.

Link copied to clipboard

The main picture of the anime.

Link copied to clipboard
val mean: Float?

The mean score of the anime.

Link copied to clipboard

The media type of the anime (e.g., TV, OVA).

Link copied to clipboard

The status of the anime in the authenticated user's list.

Link copied to clipboard
val nsfw: Nsfw?

The NSFW rating of the anime.

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

Additional pictures of the anime.

Link copied to clipboard

The popularity rank of the anime.

Link copied to clipboard
val rank: Int?

The current rank of the anime.

Link copied to clipboard

The age rating 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 source material of the anime.

Link copied to clipboard
val startDate: LocalDate?

The date when the anime started airing.

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.

Link copied to clipboard

The studios that produced the anime.

Link copied to clipboard

A brief description of the anime.

Link copied to clipboard

The main title of the anime.

Link copied to clipboard

The time when the anime record was last updated.