Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
pokeapi
v0.3.1
PokeAPI
Berries
Cache
Client
Contests
Encounters
Error
Evolution
Games
Items
Locations
Machines
Moves
NoResourceError
Pokemon
Types
Ability
AbilityEffectChange
AbilityFlavorText
AbilityPokemon
APIResource
AwesomeName
Berry
BerryFirmness
BerryFlavor
BerryFlavorMap
ChainLink
Characteristic
ContestComboDetail
ContestComboSets
ContestEffect
ContestName
ContestType
Description
Effect
EggGroup
Encounter
EncounterCondition
EncounterConditionValue
EncounterMethod
EncounterMethodRate
EncounterVersionDetails
EvolutionChain
EvolutionDetail
EvolutionTrigger
FlavorBerryMap
FlavorText
Gender
Generation
GenerationGameIndex
Genus
GrowthRate
GrowthRateExperienceLevel
Item
ItemAttribute
ItemCategory
ItemFlingEffect
ItemHolderPokemon
ItemHolderPokemonVersionDetail
ItemPocket
ItemSprites
Language
Location
LocationArea
LocationAreaEncounter
Machine
MachineVersionDetail
Move
MoveAilment
MoveBattleStyle
MoveBattleStylePreference
MoveCategory
MoveDamageClass
MoveFlavorText
MoveLearnMethod
MoveMetaData
MoveStatAffect
MoveStatAffectSets
MoveStatChange
MoveTarget
Name
NamedAPIResource
Nature
NaturePokeathlonStatAffect
NaturePokeathlonStatAffectSets
NatureStatAffectSets
NatureStatChange
PalParkArea
PalParkEncounterArea
PalParkEncounterSpecies
PastMoveStatValues
PokeathlonStat
Pokedex
Pokemon
PokemonAbility
PokemonColor
PokemonEncounter
PokemonEntry
PokemonForm
PokemonFormSprites
PokemonHabitat
PokemonHeldItem
PokemonHeldItemVersion
PokemonMove
PokemonMoveVersion
PokemonShape
PokemonSpecies
PokemonSpeciesDexEntry
PokemonSpeciesGender
PokemonSpeciesVariety
PokemonSprites
PokemonStat
PokemonType
Region
ResourceList
Stat
SuperContestEffect
Type
TypePokemon
TypeRelations
VerboseEffect
Version
VersionEncounterDetail
VersionGameIndex
VersionGroup
VersionGroupFlavorText
Utility
Validator
Built with Crystal 1.9.2
2023-10-08 13:29:47 UTC
class
PokeAPI::Types::NamedAPIResource
PokeAPI::Types::NamedAPIResource
Reference
Object
Included Modules
JSON::Serializable
Defined in:
pokeapi/types/utility.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#name
: String | Nil
#name=
(name : String | Nil)
#url
: String | Nil
#url=
(url : String | Nil)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
name
: String | Nil
#
[
View source
]
def
name=
(name : String | Nil)
#
[
View source
]
def
url
: String | Nil
#
[
View source
]
def
url=
(url : String | Nil)
#
[
View source
]