AnilistUser

@Serializable
data class AnilistUser(val id: Int, val name: String, val about: String? = null, val avatar: AnilistUser.UserAvatar? = null, val bannerImage: String? = null, val isFollowing: Boolean? = null, val isFollower: Boolean? = null, val isBlocked: Boolean? = null, val bans: JsonObject? = null, val options: AnilistUser.UserOptions? = null, val favourites: Favourites? = null, val statistics: AnilistUser.UserStatisticTypes? = null, val unreadNotificationCount: Int? = null, val siteUrl: String? = null, val donatorTier: Int? = null, val donatorBadge: String? = null, val moderatorRoles: AnilistUser.ModRole? = null, val createdAt: Int? = null, val updatesAt: Int? = null, val previousNames: List<AnilistUser.UserPreviousName>? = null, val mediaListOptions: AnilistUser.MediaListOptions)

Constructors

Link copied to clipboard
constructor(id: Int, name: String, about: String? = null, avatar: AnilistUser.UserAvatar? = null, bannerImage: String? = null, isFollowing: Boolean? = null, isFollower: Boolean? = null, isBlocked: Boolean? = null, bans: JsonObject? = null, options: AnilistUser.UserOptions? = null, favourites: Favourites? = null, statistics: AnilistUser.UserStatisticTypes? = null, unreadNotificationCount: Int? = null, siteUrl: String? = null, donatorTier: Int? = null, donatorBadge: String? = null, moderatorRoles: AnilistUser.ModRole? = null, createdAt: Int? = null, updatesAt: Int? = null, previousNames: List<AnilistUser.UserPreviousName>? = null, mediaListOptions: AnilistUser.MediaListOptions)

Types

Link copied to clipboard
@Serializable
data class ListActivityOption(val disabled: Boolean, val type: MediaListStatus)
Link copied to clipboard
@Serializable
data class MediaListOptions(val animeList: AnilistUser.MediaListTypeOption, val mangaList: AnilistUser.MediaListTypeOption, val scoreFormat: ScoreFormat, val rowOrder: String? = null)
Link copied to clipboard
@Serializable
data class MediaListTypeOption(val customLists: List<String>)
Link copied to clipboard
@Serializable
enum ModRole : Enum<AnilistUser.ModRole>
Link copied to clipboard
@Serializable
data class NotificationOption(val type: AnilistUser.NotificationType, val enabled: Boolean)
Link copied to clipboard
Link copied to clipboard
@Serializable
data class UserAvatar(val medium: String? = null, val large: String? = null)
Link copied to clipboard
@Serializable
data class UserCountryStatistic(val country: String, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
@Serializable
data class UserFormatStatistic(val format: MediaFormat, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
@Serializable
data class UserGenreStatistic(val genre: String, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
@Serializable
data class UserLengthStatistic(val length: String, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
@Serializable
data class UserOptions(val titleLanguage: AnilistUser.UserTitleLanguage, val displayAdultContent: Boolean, val airingNotifications: Boolean, val profileColor: String, val notificationOprions: List<AnilistUser.NotificationOption>, val timezone: String, val activityMergeTime: Int, val staffNameLanguage: AnilistUser.UserStaffNameLanguage, val restrictMessagesToFollowing: Boolean, val disabledListActivity: List<AnilistUser.ListActivityOption>)
Link copied to clipboard
@Serializable
data class UserPreviousName(val name: String, val createdAt: Int, val updatedAt: Int)
Link copied to clipboard
@Serializable
data class UserReleaseYearStatistic(val releaseYear: Int, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
@Serializable
data class UserScoreStatistic(val score: Int, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
@Serializable
data class UserStaffStatistic(val staff: Staff, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
@Serializable
data class UserStartYearStatistic(val startYear: Int, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
@Serializable
sealed class UserStatistic
Link copied to clipboard
@Serializable
data class UserStatistics(val count: Int, val meanScore: Float, val standardDeviation: Float, val minutesWatched: Int, val episodesWatched: Int, val chaptersRead: Int, val volumesRead: Int, val formats: AnilistUser.UserFormatStatistic, val statuses: AnilistUser.UserStatusStatistic, val scores: AnilistUser.UserScoreStatistic, val lengths: AnilistUser.UserLengthStatistic, val releaseYears: AnilistUser.UserReleaseYearStatistic, val startYears: AnilistUser.UserStartYearStatistic, val genres: AnilistUser.UserGenreStatistic, val tags: AnilistUser.UserTagStatistic, val countries: AnilistUser.UserCountryStatistic, val voiceActors: AnilistUser.UserVoiceActorStatistic, val staff: AnilistUser.UserStaffStatistic, val studios: AnilistUser.UserStudioStatistic)
Link copied to clipboard
@Serializable
data class UserStatisticTypes(val anime: AnilistUser.UserStatistics, val manga: AnilistUser.UserStatistics)
Link copied to clipboard
@Serializable
data class UserStatusStatistic(val status: MediaListStatus, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
@Serializable
data class UserStudioStatistic(val studio: Studio, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
@Serializable
data class UserTagStatistic(val tag: MediaTag, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic
Link copied to clipboard
Link copied to clipboard
@Serializable
data class UserVoiceActorStatistic(val voiceActor: Staff, val characterIds: List<Int>, val count: Int, val meanScore: Float, val minutesWatched: Int, val chaptersRead: Int, val mediaIds: List<Int>) : AnilistUser.UserStatistic

Properties

Link copied to clipboard
val about: String? = null
Link copied to clipboard
Link copied to clipboard
val bannerImage: String? = null
Link copied to clipboard
val bans: JsonObject? = null
Link copied to clipboard
val createdAt: Int? = null
Link copied to clipboard
val donatorBadge: String? = null
Link copied to clipboard
val donatorTier: Int? = null
Link copied to clipboard
val favourites: Favourites? = null
Link copied to clipboard
val id: Int
Link copied to clipboard
val isBlocked: Boolean? = null
Link copied to clipboard
val isFollower: Boolean? = null
Link copied to clipboard
val isFollowing: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val siteUrl: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val updatesAt: Int? = null