class PokeAPI::Types::PokemonSpecies

Included Modules

Defined in:

pokeapi/types/pokemon/pokemon-species.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def base_happiness : Int32 | Nil #

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

[View source]
def capture_rate : Int32 | Nil #

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

[View source]
def color : NamedAPIResource | Nil #

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

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

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

[View source]
def evolution_chain : APIResource | Nil #

[View source]
def evolution_chain=(evolution_chain : APIResource | Nil) #

[View source]
def evolves_from_species : NamedAPIResource | Nil #

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

[View source]
def flavor_text_entries : Array(FlavorText) #

[View source]
def flavor_text_entries=(flavor_text_entries : Array(FlavorText)) #

[View source]
def form_descriptions : Array(Description) #

[View source]
def form_descriptions=(form_descriptions : Array(Description)) #

[View source]
def forms_switchable : Bool | Nil #

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

[View source]
def gender_rate : Int32 | Nil #

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

[View source]
def genera : Array(Genus) #

[View source]
def genera=(genera : Array(Genus)) #

[View source]
def generation : NamedAPIResource | Nil #

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

[View source]
def growth_rate : NamedAPIResource | Nil #

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

[View source]
def habitat : NamedAPIResource | Nil #

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

[View source]
def has_gender_differences : Bool | Nil #

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

[View source]
def hatch_counter : Int32 | Nil #

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

[View source]
def id : Int32 | Nil #

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

[View source]
def is_baby : Bool | Nil #

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

[View source]
def is_legendary : Bool | Nil #

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

[View source]
def is_mythical : Bool | Nil #

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

[View source]
def name : String | Nil #

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

[View source]
def names : Array(Name) #

[View source]
def names=(names : Array(Name)) #

[View source]
def order : Int32 | Nil #

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

[View source]
def pal_park_encounters : Array(PalParkEncounterArea) #

[View source]
def pal_park_encounters=(pal_park_encounters : Array(PalParkEncounterArea)) #

[View source]
def pokedex_numbers : Array(PokemonSpeciesDexEntry) #

[View source]
def pokedex_numbers=(pokedex_numbers : Array(PokemonSpeciesDexEntry)) #

[View source]
def shape : NamedAPIResource | Nil #

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

[View source]
def varieties : Array(PokemonSpeciesVariety) #

[View source]
def varieties=(varieties : Array(PokemonSpeciesVariety)) #

[View source]