class PokeAPI::Types::Item

Included Modules

Defined in:

pokeapi/types/items/item.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def attributes : Array(NamedAPIResource) #

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

[View source]
def baby_trigger_for : APIResource | Nil #

[View source]
def baby_trigger_for=(baby_trigger_for : APIResource | Nil) #

[View source]
def category : NamedAPIResource | Nil #

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

[View source]
def cost : Int32 | Nil #

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

[View source]
def effect_entries : Array(VerboseEffect) #

[View source]
def effect_entries=(effect_entries : Array(VerboseEffect)) #

[View source]
def flavor_text_entries : Array(VersionGroupFlavorText) #

[View source]
def flavor_text_entries=(flavor_text_entries : Array(VersionGroupFlavorText)) #

[View source]
def fling_effect : NamedAPIResource | Nil #

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

[View source]
def fling_power : Int32 | Nil #

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

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

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

[View source]
def held_by_pokemon : Array(ItemHolderPokemon) #

[View source]
def held_by_pokemon=(held_by_pokemon : Array(ItemHolderPokemon)) #

[View source]
def id : Int32 | Nil #

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

[View source]
def machines : Array(MachineVersionDetail) #

[View source]
def machines=(machines : Array(MachineVersionDetail)) #

[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 sprites : ItemSprites | Nil #

[View source]
def sprites=(sprites : ItemSprites | Nil) #

[View source]