User

data class User(val id: Int, val name: String, val picture: String? = null, val gender: String? = null, val birthday: LocalDate? = null, val location: String? = null, val joinedAt: Instant? = null, val animeStatistics: UserAnimeStatistics? = null, val timeZone: String? = null, val isSupporter: Boolean? = null)

Represents a user profile on MyAnimeList.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, picture: String? = null, gender: String? = null, birthday: LocalDate? = null, location: String? = null, joinedAt: Instant? = null, animeStatistics: UserAnimeStatistics? = null, timeZone: String? = null, isSupporter: Boolean? = null)

Properties

Link copied to clipboard

The user's anime statistics.

Link copied to clipboard
val birthday: LocalDate?

The birthday of the user.

Link copied to clipboard

The gender of the user.

Link copied to clipboard
val id: Int

The unique identifier for the user.

Link copied to clipboard

Whether the user is a MyAnimeList supporter.

Link copied to clipboard

The time when the user joined MyAnimeList.

Link copied to clipboard

The location of the user.

Link copied to clipboard

The name of the user.

Link copied to clipboard

The URL of the user's profile picture.

Link copied to clipboard

The user's time zone.