Item

@Serializable
data class Item(val id: Int, val name: String, val cost: Int, val flingPower: Int?, val flingEffect: NamedApiResource?, val attributes: List<NamedApiResource>, val category: NamedApiResource, val effectEntries: List<VerboseEffect>, val flavorTextEntries: List<VersionGroupFlavorText>, val gameIndices: List<GenerationGameIndex>, val names: List<Name>, val heldByPokemon: List<ItemHolderPokemon>, val babyTriggerFor: ApiResource?, val sprites: ItemSprites, val machines: List<MachineVersionDetail>)(source)

Constructors

Link copied to clipboard
constructor(id: Int, name: String, cost: Int, flingPower: Int?, flingEffect: NamedApiResource?, attributes: List<NamedApiResource>, category: NamedApiResource, effectEntries: List<VerboseEffect>, flavorTextEntries: List<VersionGroupFlavorText>, gameIndices: List<GenerationGameIndex>, names: List<Name>, heldByPokemon: List<ItemHolderPokemon>, babyTriggerFor: ApiResource?, sprites: ItemSprites, machines: List<MachineVersionDetail>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val cost: 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
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard