class PokeAPI::Types::Type

Included Modules

Defined in:

pokeapi/types/pokemon/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def damage_relations : TypeRelations | Nil #

[View source]
def damage_relations=(damage_relations : TypeRelations | Nil) #

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

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

[View source]
def generation : NamedAPIResource | Nil #

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

[View source]
def id : Int32 | Nil #

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

[View source]
def move_damage_class : NamedAPIResource | Nil #

[View source]
def move_damage_class=(move_damage_class : 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 : Array(TypePokemon) #

[View source]
def pokemon=(pokemon : Array(TypePokemon)) #

[View source]