class PokeAPI::Types::Stat

Included Modules

Defined in:

pokeapi/types/pokemon/stats.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def affecting_moves : MoveStatAffectSets | Nil #

[View source]
def affecting_moves=(affecting_moves : MoveStatAffectSets | Nil) #

[View source]
def affecting_natures : NatureStatAffectSets | Nil #

[View source]
def affecting_natures=(affecting_natures : NatureStatAffectSets | Nil) #

[View source]
def characteristics : Array(APIResource) #

[View source]
def characteristics=(characteristics : Array(APIResource)) #

[View source]
def game_index : Int32 | Nil #

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

[View source]
def id : Int32 | Nil #

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

[View source]
def is_battle_only : Bool | Nil #

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

[View source]
def move_damage_class : NamedAPIResource | Nil #

[View source]
def move_damage_class=(move_damage_class : NamedAPIResource | 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]