Media

@Serializable
data class Media(val id: Int?, val idMal: Int? = null, val title: Media.MediaTitle?, val synonyms: List<String>? = null, val averageScore: Int? = null, val meanScore: Int? = null, val popularity: Int? = null, val isLocked: Boolean? = null, val trending: Int? = null, val favourites: Int? = null, val tags: List<MediaTag>? = null, val characters: CharacterConnection? = null, val relations: MediaConnection? = null, val staff: StaffConnection? = null, val studios: StudioConnection? = null, val isFavouriteBlocked: Boolean? = null, val type: MediaType? = null, val format: MediaFormat? = null, val status: MediaStatus? = null, val description: String? = null, val startDate: FuzzyDateInt? = null, val endDate: FuzzyDateInt? = null, val season: MediaSeason? = null, val seasonYear: Int? = null, val seasonInt: Int? = null, val episodes: Int? = null, val duration: Int? = null, val chapters: Int? = null, val volumes: Int? = null, val countryOfOrigin: String? = null, val isLicensed: Boolean? = null, val source: MediaSource? = null, val hashtag: String? = null, val trailer: Media.MediaTrailer? = null, val updatedAt: Int? = null, val coverImage: Media.MediaCoverImage? = null, val bannerImage: String? = null, val genres: List<String>? = null, val isFavourite: Boolean? = null, val isAdult: Boolean? = null, val nextAiringEpisode: AiringSchedule? = null, val airingSchedule: AiringScheduleConnection? = null, val trends: MediaTrendConnection? = null, val externalLinks: List<Media.MediaExternalLink>? = null, val streamingEpisodes: List<Media.MediaStreamingEpisode>? = null, val rankings: List<Media.MediaRank>? = null, val mediaListEntry: MediaList? = null, val reviews: ReviewConnection? = null, val recommendations: RecommendationConnection? = null, val stats: Media.MediaStats? = null, val siteUrl: String? = null, val autoCreateForumThread: Boolean? = null, val isRecommendationBlocked: Boolean? = null, val isReviewBlocked: Boolean? = null, val modNotes: String? = null)

Constructors

Link copied to clipboard
constructor(id: Int?, idMal: Int? = null, title: Media.MediaTitle?, synonyms: List<String>? = null, averageScore: Int? = null, meanScore: Int? = null, popularity: Int? = null, isLocked: Boolean? = null, trending: Int? = null, favourites: Int? = null, tags: List<MediaTag>? = null, characters: CharacterConnection? = null, relations: MediaConnection? = null, staff: StaffConnection? = null, studios: StudioConnection? = null, isFavouriteBlocked: Boolean? = null, type: MediaType? = null, format: MediaFormat? = null, status: MediaStatus? = null, description: String? = null, startDate: FuzzyDateInt? = null, endDate: FuzzyDateInt? = null, season: MediaSeason? = null, seasonYear: Int? = null, seasonInt: Int? = null, episodes: Int? = null, duration: Int? = null, chapters: Int? = null, volumes: Int? = null, countryOfOrigin: String? = null, isLicensed: Boolean? = null, source: MediaSource? = null, hashtag: String? = null, trailer: Media.MediaTrailer? = null, updatedAt: Int? = null, coverImage: Media.MediaCoverImage? = null, bannerImage: String? = null, genres: List<String>? = null, isFavourite: Boolean? = null, isAdult: Boolean? = null, nextAiringEpisode: AiringSchedule? = null, airingSchedule: AiringScheduleConnection? = null, trends: MediaTrendConnection? = null, externalLinks: List<Media.MediaExternalLink>? = null, streamingEpisodes: List<Media.MediaStreamingEpisode>? = null, rankings: List<Media.MediaRank>? = null, mediaListEntry: MediaList? = null, reviews: ReviewConnection? = null, recommendations: RecommendationConnection? = null, stats: Media.MediaStats? = null, siteUrl: String? = null, autoCreateForumThread: Boolean? = null, isRecommendationBlocked: Boolean? = null, isReviewBlocked: Boolean? = null, modNotes: String? = null)

Types

Link copied to clipboard
@Serializable
data class MediaCoverImage(val extraLarge: String? = null, val large: String? = null, val medium: String? = null, val color: String? = null)
Link copied to clipboard
@Serializable
data class MediaExternalLink(val id: Int? = null, val url: String, val site: String, val siteId: Int? = null, val type: ExternalLinkType, val language: String? = null, val color: String? = null, val icon: String? = null, val notes: String? = null, val isDisabled: Boolean? = null)
Link copied to clipboard
@Serializable
data class MediaRank(val id: Int, val rank: Int, val type: Media.MediaRank.MediaRankType, val format: MediaFormat, val year: Int?, val season: MediaSeason?, val allTime: Boolean, val context: String? = null)
Link copied to clipboard
@Serializable
data class MediaStats(val scoreDistribution: List<ScoreDistribution>, val statusDistribution: List<StatusDistribution>)
Link copied to clipboard
@Serializable
data class MediaStreamingEpisode(val title: String?, val thumbnail: String?, val url: String?, val site: String?)
Link copied to clipboard
@Serializable
data class MediaTitle(val romaji: String?, val english: String?, val native: String?, val userPreferred: String?)
Link copied to clipboard
@Serializable
data class MediaTrailer(val id: String, val site: String, val thumbnail: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val averageScore: Int? = null
Link copied to clipboard
val bannerImage: String? = null
Link copied to clipboard
val chapters: Int? = null
Link copied to clipboard
Link copied to clipboard
val countryOfOrigin: String? = null
Link copied to clipboard
Link copied to clipboard
val description: String? = null
Link copied to clipboard
val duration: Int? = null
Link copied to clipboard
val endDate: FuzzyDateInt? = null
Link copied to clipboard
val episodes: Int? = null
Link copied to clipboard
Link copied to clipboard
val favourites: Int? = null
Link copied to clipboard
val format: MediaFormat? = null
Link copied to clipboard
val genres: List<String>? = null
Link copied to clipboard
val hashtag: String? = null
Link copied to clipboard
val id: Int?
Link copied to clipboard
val idMal: Int? = null
Link copied to clipboard
val isAdult: Boolean? = null
Link copied to clipboard
val isFavourite: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val isLicensed: Boolean? = null
Link copied to clipboard
val isLocked: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val meanScore: Int? = null
Link copied to clipboard
Link copied to clipboard
val modNotes: String? = null
Link copied to clipboard
Link copied to clipboard
val popularity: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val season: MediaSeason? = null
Link copied to clipboard
val seasonInt: Int? = null
Link copied to clipboard
val seasonYear: Int? = null
Link copied to clipboard
val siteUrl: String? = null
Link copied to clipboard
val source: MediaSource? = null
Link copied to clipboard
val staff: StaffConnection? = null
Link copied to clipboard
val startDate: FuzzyDateInt? = null
Link copied to clipboard
val stats: Media.MediaStats? = null
Link copied to clipboard
val status: MediaStatus? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val synonyms: List<String>? = null
Link copied to clipboard
val tags: List<MediaTag>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val trending: Int? = null
Link copied to clipboard
Link copied to clipboard
val type: MediaType? = null
Link copied to clipboard
val updatedAt: Int? = null
Link copied to clipboard
val volumes: Int? = null