class PokeAPI::Types::Location

Included Modules

Defined in:

pokeapi/types/locations/locations.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def areas : Array(NamedAPIResource) #

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

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

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

[View source]
def id : Int32 | Nil #

[View source]
def id=(id : Int32 | 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 region : NamedAPIResource | Nil #

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

[View source]