Package-level declarations

Types

Link copied to clipboard
data class Author(val node: AuthorNode, val role: String? = null)

Represents an author of a manga.

Link copied to clipboard
data class AuthorNode(val id: Int, val firstName: String? = null, val lastName: String? = null)

Represents an author node.

Link copied to clipboard
data class Manga(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: MangaStatus? = null, val genres: List<Genre>? = null, val myListStatus: UserMangaListStatus? = null, val numVolumes: Int? = null, val numChapters: Int? = null, val authors: List<Author>? = 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 serialization: List<Serialization>? = null)

Represents a manga in the MyAnimeList database.

Link copied to clipboard

Represents the optional fields that can be requested when retrieving manga information.

Link copied to clipboard
data class MangaNode(val id: Int, val title: String, val mainPicture: Picture? = null)

A simplified manga node used in relationships and recommendations.

Link copied to clipboard

The type of manga ranking.

Link copied to clipboard

The publishing status of a manga.

Link copied to clipboard

The media type of a manga.

Link copied to clipboard
data class RankedManga(val manga: Manga, val rank: Int, val previousRank: Int? = null)

Represents a manga with its ranking information.

Link copied to clipboard
data class Recommendation(val node: MangaNode, val numRecommendations: Int)

Represents a recommendation for this manga.

Link copied to clipboard
data class RelatedAnime(val node: AnimeNode, val relationType: String, val relationTypeFormatted: String)

Represents a relationship between this manga and an anime.

Link copied to clipboard
data class RelatedManga(val node: MangaNode, val relationType: String, val relationTypeFormatted: String)

Represents a relationship between this manga and another manga.

Link copied to clipboard
data class Serialization(val node: SerializationNode, val role: String? = null)

Represents a serialization of the manga.

Link copied to clipboard
data class SerializationNode(val id: Int, val name: String)

Represents a serialization node (e.g., a magazine).

Link copied to clipboard
data class UserMangaListItem(val manga: Manga, val listStatus: UserMangaListStatus? = null)

Represents an item in a user's manga list.

Link copied to clipboard

Sorting options for a user's manga list.

Link copied to clipboard
data class UserMangaListStatus(val status: UserMangaListStatusType? = null, val score: Int, val numVolumesRead: Int, val numChaptersRead: Int, val isRereading: Boolean, val updatedAt: Instant, val startDate: LocalDate? = null, val finishDate: LocalDate? = null, val priority: Int? = null, val numTimesReread: Int? = null, val rereadValue: Int? = null, val tags: List<String> = emptyList(), val comments: String? = null)

Represents the status of a manga in a user's list.

Link copied to clipboard

The status of a manga in a user's list.