class PokeAPI::Types::Generation

Included Modules

Defined in:

pokeapi/types/games/generations.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def abilities : Array(NamedAPIResource) #

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

[View source]
def id : Int32 | Nil #

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

[View source]
def main_region : NamedAPIResource | Nil #

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

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

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

[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 pokemon_species : Array(NamedAPIResource) #

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

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

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

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

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

[View source]