class PokeAPI::Types::Pokemon

Included Modules

Defined in:

pokeapi/types/pokemon/pokemon.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def abilities : Array(PokemonAbility) #

[View source]
def abilities=(abilities : Array(PokemonAbility)) #

[View source]
def base_experience : Int32 | Nil #

[View source]
def base_experience=(base_experience : Int32 | Nil) #

[View source]
def forms : Array(NamedAPIResource) #

[View source]
def forms=(forms : Array(NamedAPIResource)) #

[View source]
def game_indices : Array(VersionGameIndex) #

[View source]
def game_indices=(game_indices : Array(VersionGameIndex)) #

[View source]
def height : Int32 | Nil #

[View source]
def height=(height : Int32 | Nil) #

[View source]
def held_items : Array(PokemonHeldItem) #

[View source]
def held_items=(held_items : Array(PokemonHeldItem)) #

[View source]
def id : Int32 | Nil #

[View source]
def id=(id : Int32 | Nil) #

[View source]
def is_default : Bool | Nil #

[View source]
def is_default=(is_default : Bool | Nil) #

[View source]
def location_area_encounters : String | Nil #

[View source]
def location_area_encounters=(location_area_encounters : String | Nil) #

[View source]
def moves : Array(PokemonMove) #

[View source]
def moves=(moves : Array(PokemonMove)) #

[View source]
def name : String | Nil #

[View source]
def name=(name : String | Nil) #

[View source]
def order : Int32 | Nil #

[View source]
def order=(order : Int32 | Nil) #

[View source]
def species : NamedAPIResource | Nil #

[View source]
def species=(species : NamedAPIResource | Nil) #

[View source]
def sprites : PokemonSprites | Nil #

[View source]
def sprites=(sprites : PokemonSprites | Nil) #

[View source]
def stats : Array(PokemonStat) #

[View source]
def stats=(stats : Array(PokemonStat)) #

[View source]
def types : Array(PokemonType) #

[View source]
def types=(types : Array(PokemonType)) #

[View source]
def weight : Int32 | Nil #

[View source]
def weight=(weight : Int32 | Nil) #

[View source]