class PokeAPI::Types::BerryFlavor

Included Modules

Defined in:

pokeapi/types/berries/berry-flavors.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def berries : Array(FlavorBerryMap) #

[View source]
def berries=(berries : Array(FlavorBerryMap)) #

[View source]
def contest_type : NamedAPIResource | Nil #

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

[View source]
def id : Int32 | Nil #

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