class PokeAPI::Types::Nature

Included Modules

Defined in:

pokeapi/types/pokemon/natures.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def decreased_stat : NamedAPIResource | Nil #

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

[View source]
def hates_flavor : NamedAPIResource | Nil #

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

[View source]
def id : Int32 | Nil #

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

[View source]
def increased_stat : NamedAPIResource | Nil #

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

[View source]
def likes_flavor : NamedAPIResource | Nil #

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

[View source]
def move_battle_style_preferences : Array(MoveBattleStylePreference) #

[View source]
def move_battle_style_preferences=(move_battle_style_preferences : Array(MoveBattleStylePreference)) #

[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 pokeathlon_stat_changes : Array(NatureStatChange) #

[View source]
def pokeathlon_stat_changes=(pokeathlon_stat_changes : Array(NatureStatChange)) #

[View source]