Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AiringScheduleConnection(val edges: List<AiringScheduleEdge>? = null, val nodes: List<AiringSchedule>, val pageInfo: PageInfo)
Link copied to clipboard
@Serializable
data class AiringScheduleEdge(val node: AiringSchedule, val id: Int)
Link copied to clipboard
@Serializable
data class Character(val id: Int, val name: Character.CharacterName? = null, val image: Character.CharacterImage? = null, val description: String? = null, val gender: String? = null, val dateOfBirth: FuzzyDateInt? = null, val age: String? = null, val bloodType: String? = null, val isFavourite: Boolean? = null, val isFavouriteBlocked: Boolean? = null, val siteUrl: String? = null, val media: MediaConnection? = null, val favourites: Int? = null, val modNotes: String? = null)
Link copied to clipboard
@Serializable
data class CharacterConnection(val edges: List<CharacterEdge>? = null, val nodes: List<Character>, val pageInfo: PageInfo)
Link copied to clipboard
@Serializable
data class CharacterEdge(val node: Character, val id: Int, val role: CharacterRole, val name: String?, val voiceActors: List<Staff>, val voiceActorRoles: List<StaffRoleType>? = null, val media: List<Media>? = null, val favouriteOrder: Int? = null)
Link copied to clipboard
@Serializable
enum CharacterRole : Enum<CharacterRole>
Link copied to clipboard
@Serializable
enum ExternalLinkType : Enum<ExternalLinkType>
Link copied to clipboard
@Serializable
enum FavoriteType : Enum<FavoriteType>
Link copied to clipboard
@Serializable
data class Favourites(val anime: MediaConnection? = null, val manga: MediaConnection? = null, val characters: CharacterConnection? = null, val staff: StaffConnection? = null, val studios: StudioConnection? = null)
Link copied to clipboard
@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)
Link copied to clipboard
@Serializable
data class MediaConnection(val edges: List<MediaEdge>? = null, val nodes: List<Media>, val pageInfo: PageInfo)
Link copied to clipboard
@Serializable
data class MediaEdge(val node: Media, val id: Int, val relationType: MediaRelation, val isMainStudio: Boolean? = null, val characters: List<Character>? = null, val characterRole: CharacterRole? = null, val characterName: String? = null, val roleNotes: String? = null, val dubGroup: String? = null, val staffRole: String? = null, val voiceActors: Staff? = null, val voiceActorRoles: StaffRoleType? = null, val favouriteOrder: Int? = null)
Link copied to clipboard
@Serializable
enum MediaFormat : Enum<MediaFormat>
Link copied to clipboard
@Serializable
data class MediaList(val id: Int? = null, val userId: Int? = null, val mediaId: Int? = null, val status: MediaListStatus? = null, val score: Float? = null, val progress: Int? = null, val progressVolumes: Int? = null, val repeat: Int? = null, val priority: Int? = null, val private: Boolean? = null, val notes: String? = null, val hiddenFromStatusLists: Boolean? = null, val customLists: JsonObject? = null, val advancedScores: JsonObject? = null, val startedAt: FuzzyDateInt? = null, val completedAt: FuzzyDateInt? = null, val updatedAt: Int? = null, val createdAt: Int? = null, val media: Media? = null, val user: AnilistUser? = null)
Link copied to clipboard
@Serializable
enum MediaListSort : Enum<MediaListSort>
Link copied to clipboard
@Serializable
enum MediaListStatus : Enum<MediaListStatus>
Link copied to clipboard
@Serializable
enum MediaRelation : Enum<MediaRelation>
Link copied to clipboard
@Serializable
enum MediaSeason : Enum<MediaSeason>
Link copied to clipboard
@Serializable
enum MediaSort : Enum<MediaSort>
Link copied to clipboard
@Serializable
enum MediaSource : Enum<MediaSource>
Link copied to clipboard
@Serializable
enum MediaStatus : Enum<MediaStatus>
Link copied to clipboard
@Serializable
data class MediaTag(val id: Int, val name: String, val description: String, val category: String, val rank: Int, val isGeneralSpoiler: Boolean, val isMediaSpoiler: Boolean, val isAdult: Boolean, val userId: Int? = null)
Link copied to clipboard
@Serializable
data class MediaTrend(val mediaId: Int? = null, val date: Int? = null, val trending: Int? = null, val averageScore: Int?, val popularity: Int?, val inProgress: Int?, val releasing: Boolean? = null, val episode: Int?, val media: Media? = null)
Link copied to clipboard
@Serializable
data class MediaTrendConnection(val edges: List<MediaTrendEdge>? = null, val nodes: List<MediaTrend>, val pageInfo: PageInfo)
Link copied to clipboard
@Serializable
data class MediaTrendEdge(val node: MediaTrend)
Link copied to clipboard
@Serializable
enum MediaType : Enum<MediaType>
Link copied to clipboard
@Serializable
data class PageInfo(val total: Int?, val perPage: Int?, val currentPage: Int?, val lastPage: Int?, val hasNextPage: Boolean)
Link copied to clipboard
@Serializable
data class Recommendation(val id: Int, val rating: Int, val userRating: Recommendation.RecommendationRating, val media: Media? = null, val mediaRecommendation: Media?, val user: AnilistUser? = null)
Link copied to clipboard
@Serializable
data class RecommendationConnection(val edges: List<RecommendationEdge>? = null, val nodes: List<Recommendation>, val pageInfo: PageInfo)
Link copied to clipboard
@Serializable
data class RecommendationEdge(val node: Recommendation)
Link copied to clipboard
@Serializable
data class Review(val id: Int, val userId: Int? = null, val mediaId: Int? = null, val mediaType: MediaType? = null, val summary: String? = null, val body: String? = null, val rating: Int? = null, val ratingAmount: Int? = null, val userRating: Review.ReviewRating? = null, val score: Int? = null, val private: Boolean? = null, val siteUrl: String? = null, val createdAt: Int? = null, val updatedAt: Int? = null, val user: AnilistUser? = null, val media: Media? = null)
Link copied to clipboard
@Serializable
data class ReviewConnection(val edges: List<ReviewEdge>? = null, val nodes: List<Review>, val pageInfo: PageInfo)
Link copied to clipboard
@Serializable
data class ReviewEdge(val node: Review)
Link copied to clipboard
@Serializable
data class ScoreDistribution(val score: Int, val amount: Int)
Link copied to clipboard
@Serializable
enum ScoreFormat : Enum<ScoreFormat>
Link copied to clipboard
@Serializable
data class Staff(val id: Int, val name: Staff.StaffName, val languageV2: String? = null, val image: Staff.StaffImage? = null, val description: String? = null, val primaryOccupations: List<String>? = null, val gender: String? = null, val dateOfBirth: FuzzyDateInt? = null, val dateOfDeath: FuzzyDateInt? = null, val age: Int? = null, val yearsActive: List<Int>? = null, val homeTown: String? = null, val bloodType: String? = null, val isFavourite: Boolean? = null, val isFavouriteBlocked: Boolean? = null, val siteUrl: String? = null, val staffMedia: MediaConnection? = null, val characters: CharacterConnection? = null, val characterMedia: MediaConnection? = null, val submitter: AnilistUser? = null, val submissionStatus: Int? = null, val submissionNotes: String? = null, val favourites: Int? = null, val modNotes: String? = null)
Link copied to clipboard
@Serializable
data class StaffConnection(val edges: List<StaffEdge>? = null, val nodes: List<Staff>, val pageInfo: PageInfo)
Link copied to clipboard
@Serializable
data class StaffEdge(val node: Staff, val id: Int, val role: String, val favouriteOrder: Int? = null)
Link copied to clipboard
@Serializable
data class StaffRoleType(val voiceActor: Staff, val roleNotes: String, val dubGroup: String)
Link copied to clipboard
@Serializable
data class StatusDistribution(val status: MediaListStatus, val amount: Int)
Link copied to clipboard
@Serializable
class Studio(val id: Int, val name: String? = null, val isAnimationStudio: Boolean? = null, val media: MediaConnection? = null, val siteUrl: String? = null, val isFavourite: Boolean? = null, val favourites: Int? = null)
Link copied to clipboard
@Serializable
data class StudioConnection(val edges: List<StudioEdge>? = null, val nodes: List<Studio>, val pageInfo: PageInfo)
Link copied to clipboard
@Serializable
data class StudioEdge(val node: Studio, val id: Int, val isMain: Boolean, val favouriteOrder: Int)