class PokeAPI::Types::Berry

Included Modules

Defined in:

pokeapi/types/berries/berries.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def firmness : NamedAPIResource | Nil #

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

[View source]
def flavors : Array(BerryFlavorMap) #

[View source]
def flavors=(flavors : Array(BerryFlavorMap)) #

[View source]
def growth_time : Int32 | Nil #

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

[View source]
def id : Int32 | Nil #

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

[View source]
def item : NamedAPIResource | Nil #

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

[View source]
def max_harvest : Int32 | Nil #

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

[View source]
def name : String | Nil #

[View source]
def name=(name : String | Nil) #

[View source]
def natural_gift_power : Int32 | Nil #

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

[View source]
def natural_gift_type : NamedAPIResource | Nil #

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

[View source]
def size : Int32 | Nil #

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

[View source]
def smoothness : Int32 | Nil #

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

[View source]
def soil_dryness : Int32 | Nil #

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

[View source]