Type

@Serializable
data class Type(val id: Int, val name: String, val damageRelations: TypeRelations, val pastDamageRelations: List<TypePastDamageRelation>, val gameIndices: List<GenerationGameIndex>, val generation: NamedApiResource, val moveDamageClass: NamedApiResource?, val names: List<Name>, val pokemon: List<TypePokemon>, val moves: List<NamedApiResource>, val sprites: VersionTypeSprites)(source)

Constructors

Link copied to clipboard
constructor(id: Int, name: String, damageRelations: TypeRelations, pastDamageRelations: List<TypePastDamageRelation>, gameIndices: List<GenerationGameIndex>, generation: NamedApiResource, moveDamageClass: NamedApiResource?, names: List<Name>, pokemon: List<TypePokemon>, moves: List<NamedApiResource>, sprites: VersionTypeSprites)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard