pokeapi_client 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +56 -52
- data/README.md +94 -96
- data/bin/byebug +1 -1
- data/bin/coderay +1 -1
- data/bin/htmldiff +1 -1
- data/bin/ldiff +1 -1
- data/bin/pry +1 -1
- data/bin/racc +1 -1
- data/bin/rake +1 -1
- data/bin/rspec +1 -1
- data/bin/rubocop +1 -1
- data/bin/ruby-parse +1 -1
- data/bin/ruby-rewrite +1 -1
- data/docs/AbilityChange.md +2 -2
- data/docs/AbilityChangeEffectText.md +2 -2
- data/docs/AbilityDetail.md +9 -9
- data/docs/AbilityEffectText.md +3 -3
- data/docs/AbilityFlavorText.md +3 -3
- data/docs/AbilityName.md +2 -2
- data/docs/AbilityPokemonDetail.md +22 -0
- data/docs/AbilitySummary.md +2 -2
- data/docs/BerriesApi.md +9 -75
- data/docs/BerryDetail.md +12 -12
- data/docs/BerryFirmnessDetail.md +4 -4
- data/docs/BerryFirmnessName.md +2 -2
- data/docs/BerryFirmnessSummary.md +2 -2
- data/docs/BerryFlavorBerryMap.md +20 -0
- data/docs/BerryFlavorDetail.md +5 -5
- data/docs/BerryFlavorMap.md +20 -0
- data/docs/BerryFlavorName.md +2 -2
- data/docs/BerryFlavorSummary.md +2 -2
- data/docs/BerrySummary.md +2 -2
- data/docs/CharacteristicDescription.md +2 -2
- data/docs/CharacteristicDetail.md +5 -5
- data/docs/CharacteristicSummary.md +1 -1
- data/docs/ContestEffectDetail.md +5 -5
- data/docs/ContestEffectEffectText.md +2 -2
- data/docs/ContestEffectFlavorText.md +2 -2
- data/docs/ContestEffectSummary.md +1 -1
- data/docs/ContestTypeDetail.md +4 -4
- data/docs/ContestTypeName.md +3 -3
- data/docs/ContestTypeSummary.md +2 -2
- data/docs/ContestsApi.md +11 -81
- data/docs/CurrencyDetail.md +22 -0
- data/docs/CurrencyName.md +20 -0
- data/docs/CurrencySummary.md +20 -0
- data/docs/EggGroupDetail.md +4 -4
- data/docs/EggGroupName.md +2 -2
- data/docs/EggGroupSummary.md +2 -2
- data/docs/EncounterConditionDetail.md +4 -4
- data/docs/EncounterConditionName.md +2 -2
- data/docs/EncounterConditionSummary.md +2 -2
- data/docs/EncounterConditionValueDetail.md +4 -4
- data/docs/EncounterConditionValueName.md +2 -2
- data/docs/EncounterConditionValueSummary.md +2 -2
- data/docs/EncounterMethodDetail.md +4 -4
- data/docs/EncounterMethodName.md +2 -2
- data/docs/EncounterMethodSummary.md +2 -2
- data/docs/EncounterPokemonDetail.md +24 -0
- data/docs/EncountersApi.md +9 -75
- data/docs/EvolutionApi.md +143 -53
- data/docs/EvolutionChainDetail.md +3 -3
- data/docs/EvolutionChainLink.md +24 -0
- data/docs/EvolutionChainSummary.md +1 -1
- data/docs/EvolutionConditionExpression.md +22 -0
- data/docs/EvolutionTriggerDetail.md +4 -4
- data/docs/EvolutionTriggerName.md +2 -2
- data/docs/EvolutionTriggerSummary.md +2 -2
- data/docs/EvolutionVariableDescription.md +20 -0
- data/docs/EvolutionVariableDetail.md +32 -0
- data/docs/EvolutionVariableName.md +20 -0
- data/docs/EvolutionVariableSummary.md +20 -0
- data/docs/Experience.md +2 -2
- data/docs/GamesApi.md +12 -100
- data/docs/GenderDetail.md +4 -4
- data/docs/GenderPokemonSpecies.md +20 -0
- data/docs/GenderSummary.md +2 -2
- data/docs/GenerationDetail.md +9 -9
- data/docs/GenerationName.md +2 -2
- data/docs/GenerationSummary.md +2 -2
- data/docs/GrowthRateDescription.md +2 -2
- data/docs/GrowthRateDetail.md +6 -6
- data/docs/GrowthRateSummary.md +2 -2
- data/docs/ItemAttributeDescription.md +2 -2
- data/docs/ItemAttributeDetail.md +5 -5
- data/docs/ItemAttributeName.md +2 -2
- data/docs/ItemAttributeSummary.md +2 -2
- data/docs/ItemCategoryDetail.md +5 -5
- data/docs/ItemCategoryName.md +2 -2
- data/docs/ItemCategorySummary.md +2 -2
- data/docs/ItemDetail.md +16 -16
- data/docs/ItemEffectText.md +3 -3
- data/docs/ItemFlavorText.md +3 -3
- data/docs/ItemFlingEffectDetail.md +4 -4
- data/docs/ItemFlingEffectEffectText.md +2 -2
- data/docs/ItemFlingEffectSummary.md +2 -2
- data/docs/ItemGameIndex.md +2 -2
- data/docs/ItemMachine.md +20 -0
- data/docs/ItemName.md +2 -2
- data/docs/ItemPocketDetail.md +4 -4
- data/docs/ItemPocketName.md +2 -2
- data/docs/ItemPocketSummary.md +2 -2
- data/docs/ItemPrice.md +24 -0
- data/docs/{ItemDetailSprites.md → ItemSprites.md} +3 -3
- data/docs/ItemSummary.md +2 -2
- data/docs/ItemsApi.md +151 -125
- data/docs/LanguageDetail.md +6 -6
- data/docs/LanguageName.md +2 -2
- data/docs/LanguageSummary.md +2 -2
- data/docs/LocationApi.md +12 -100
- data/docs/LocationAreaDetail.md +7 -7
- data/docs/LocationAreaEncounterDetail.md +28 -0
- data/docs/LocationAreaEncounterRate.md +20 -0
- data/docs/LocationAreaEncounterVersionDetail.md +20 -0
- data/docs/LocationAreaName.md +2 -2
- data/docs/LocationAreaPokemonEncounter.md +20 -0
- data/docs/LocationAreaPokemonEncounterVersion.md +22 -0
- data/docs/LocationAreaSummary.md +2 -2
- data/docs/LocationDetail.md +6 -6
- data/docs/LocationGameIndex.md +2 -2
- data/docs/LocationName.md +2 -2
- data/docs/LocationSummary.md +2 -2
- data/docs/MachineDetail.md +4 -4
- data/docs/MachineSummary.md +1 -1
- data/docs/MachinesApi.md +4 -28
- data/docs/MoveBattleStyleDetail.md +3 -3
- data/docs/MoveBattleStyleName.md +2 -2
- data/docs/MoveBattleStyleSummary.md +2 -2
- data/docs/MoveChange.md +7 -7
- data/docs/MoveComboUsage.md +20 -0
- data/docs/MoveCombos.md +20 -0
- data/docs/MoveDamageClassDescription.md +2 -2
- data/docs/MoveDamageClassDetail.md +5 -5
- data/docs/MoveDamageClassName.md +2 -2
- data/docs/MoveDamageClassSummary.md +2 -2
- data/docs/MoveDetail.md +24 -24
- data/docs/MoveEffectChange.md +20 -0
- data/docs/MoveEffectChangeEffectText.md +20 -0
- data/docs/MoveEffectEffectText.md +22 -0
- data/docs/MoveFlavorText.md +3 -3
- data/docs/MoveLearnMethodDescription.md +2 -2
- data/docs/MoveLearnMethodDetail.md +5 -5
- data/docs/MoveLearnMethodName.md +2 -2
- data/docs/MoveLearnMethodSummary.md +2 -2
- data/docs/MoveMeta.md +12 -12
- data/docs/MoveMetaAilmentDetail.md +4 -4
- data/docs/MoveMetaAilmentName.md +2 -2
- data/docs/MoveMetaAilmentSummary.md +2 -2
- data/docs/MoveMetaCategoryDescription.md +2 -2
- data/docs/MoveMetaCategoryDetail.md +4 -4
- data/docs/MoveMetaCategorySummary.md +2 -2
- data/docs/MoveMetaStatChange.md +20 -0
- data/docs/MoveName.md +2 -2
- data/docs/MoveStatChange.md +20 -0
- data/docs/MoveSummary.md +2 -2
- data/docs/MoveTargetDescription.md +2 -2
- data/docs/MoveTargetDetail.md +5 -5
- data/docs/MoveTargetName.md +2 -2
- data/docs/MoveTargetSummary.md +2 -2
- data/docs/MovesApi.md +18 -150
- data/docs/NatureBattleStylePreference.md +3 -3
- data/docs/NatureDetail.md +9 -11
- data/docs/NatureName.md +2 -2
- data/docs/NaturePokeathlonStat.md +20 -0
- data/docs/NatureSummary.md +2 -2
- data/docs/PaginatedAbilitySummaryList.md +7 -7
- data/docs/PaginatedBerryFirmnessSummaryList.md +7 -7
- data/docs/PaginatedBerryFlavorSummaryList.md +7 -7
- data/docs/PaginatedBerrySummaryList.md +7 -7
- data/docs/PaginatedCharacteristicSummaryList.md +7 -7
- data/docs/PaginatedContestEffectSummaryList.md +7 -7
- data/docs/PaginatedContestTypeSummaryList.md +7 -7
- data/docs/PaginatedCurrencySummaryList.md +24 -0
- data/docs/PaginatedEggGroupSummaryList.md +7 -7
- data/docs/PaginatedEncounterConditionSummaryList.md +7 -7
- data/docs/PaginatedEncounterConditionValueSummaryList.md +7 -7
- data/docs/PaginatedEncounterMethodSummaryList.md +7 -7
- data/docs/PaginatedEvolutionChainSummaryList.md +7 -7
- data/docs/PaginatedEvolutionTriggerSummaryList.md +7 -7
- data/docs/PaginatedEvolutionVariableSummaryList.md +24 -0
- data/docs/PaginatedGenderSummaryList.md +7 -7
- data/docs/PaginatedGenerationSummaryList.md +7 -7
- data/docs/PaginatedGrowthRateSummaryList.md +7 -7
- data/docs/PaginatedItemAttributeSummaryList.md +7 -7
- data/docs/PaginatedItemCategorySummaryList.md +7 -7
- data/docs/PaginatedItemFlingEffectSummaryList.md +7 -7
- data/docs/PaginatedItemPocketSummaryList.md +7 -7
- data/docs/PaginatedItemSummaryList.md +7 -7
- data/docs/PaginatedLanguageSummaryList.md +7 -7
- data/docs/PaginatedLocationAreaSummaryList.md +7 -7
- data/docs/PaginatedLocationSummaryList.md +7 -7
- data/docs/PaginatedMachineSummaryList.md +7 -7
- data/docs/PaginatedMoveBattleStyleSummaryList.md +7 -7
- data/docs/PaginatedMoveDamageClassSummaryList.md +7 -7
- data/docs/PaginatedMoveLearnMethodSummaryList.md +7 -7
- data/docs/PaginatedMoveMetaAilmentSummaryList.md +7 -7
- data/docs/PaginatedMoveMetaCategorySummaryList.md +7 -7
- data/docs/PaginatedMoveSummaryList.md +7 -7
- data/docs/PaginatedMoveTargetSummaryList.md +7 -7
- data/docs/PaginatedNatureSummaryList.md +7 -7
- data/docs/PaginatedPalParkAreaSummaryList.md +7 -7
- data/docs/PaginatedPokeathlonStatSummaryList.md +7 -7
- data/docs/PaginatedPokedexSummaryList.md +7 -7
- data/docs/PaginatedPokemonColorSummaryList.md +7 -7
- data/docs/PaginatedPokemonFormSummaryList.md +7 -7
- data/docs/PaginatedPokemonHabitatSummaryList.md +7 -7
- data/docs/PaginatedPokemonShapeSummaryList.md +7 -7
- data/docs/PaginatedPokemonSpeciesSummaryList.md +7 -7
- data/docs/PaginatedPokemonSummaryList.md +7 -7
- data/docs/PaginatedRegionSummaryList.md +7 -7
- data/docs/PaginatedStatSummaryList.md +7 -7
- data/docs/PaginatedSuperContestEffectSummaryList.md +7 -7
- data/docs/PaginatedTypeSummaryList.md +7 -7
- data/docs/PaginatedVersionGroupSummaryList.md +7 -7
- data/docs/PaginatedVersionSummaryList.md +7 -7
- data/docs/PalParkAreaDetail.md +4 -4
- data/docs/PalParkAreaName.md +2 -2
- data/docs/PalParkAreaSummary.md +2 -2
- data/docs/PalParkEncounter.md +22 -0
- data/docs/PokeapiMetaResponse.md +22 -0
- data/docs/PokeathlonStatAffectingNature.md +20 -0
- data/docs/PokeathlonStatAffectingNatures.md +20 -0
- data/docs/PokeathlonStatDetail.md +4 -4
- data/docs/PokeathlonStatName.md +2 -2
- data/docs/PokeathlonStatSummary.md +2 -2
- data/docs/PokedexDescription.md +2 -2
- data/docs/PokedexDetail.md +8 -8
- data/docs/PokedexName.md +2 -2
- data/docs/PokedexSummary.md +2 -2
- data/docs/PokemonAbility.md +22 -0
- data/docs/PokemonAbilityPast.md +22 -0
- data/docs/PokemonApi.md +61 -415
- data/docs/PokemonColorDetail.md +4 -4
- data/docs/PokemonColorName.md +2 -2
- data/docs/PokemonColorSummary.md +2 -2
- data/docs/PokemonCries.md +20 -0
- data/docs/PokemonDetail.md +22 -20
- data/docs/PokemonDexEntry.md +2 -2
- data/docs/PokemonDexNumber.md +20 -0
- data/docs/PokemonEncounterDetailResponse.md +26 -0
- data/docs/PokemonEncounterResponse.md +20 -0
- data/docs/PokemonEncounterVersionDetailResponse.md +22 -0
- data/docs/PokemonEvolution.md +78 -0
- data/docs/{AbilityDetailPokemonInnerPokemon.md → PokemonEvolutionKnownMove.md} +2 -2
- data/docs/PokemonFormDetail.md +19 -15
- data/docs/PokemonFormFlavorText.md +22 -0
- data/docs/PokemonFormName.md +20 -0
- data/docs/PokemonFormSprites.md +36 -0
- data/docs/PokemonFormSummary.md +2 -2
- data/docs/PokemonFormTriggerCondition.md +24 -0
- data/docs/PokemonFormType.md +20 -0
- data/docs/PokemonGameIndex.md +2 -2
- data/docs/PokemonHabitatDetail.md +4 -4
- data/docs/PokemonHabitatName.md +2 -2
- data/docs/PokemonHabitatSummary.md +2 -2
- data/docs/PokemonHeldItem.md +20 -0
- data/docs/PokemonHeldItemSummary.md +20 -0
- data/docs/PokemonHeldItemVersion.md +20 -0
- data/docs/PokemonMove.md +20 -0
- data/docs/PokemonMoveVersionGroup.md +24 -0
- data/docs/PokemonPastAbility.md +20 -0
- data/docs/PokemonPastStat.md +20 -0
- data/docs/PokemonPastType.md +20 -0
- data/docs/PokemonShapeAwesomeName.md +20 -0
- data/docs/PokemonShapeDetail.md +5 -5
- data/docs/PokemonShapeName.md +20 -0
- data/docs/PokemonShapeSummary.md +2 -2
- data/docs/PokemonSpeciesDescription.md +2 -2
- data/docs/PokemonSpeciesDetail.md +27 -27
- data/docs/PokemonSpeciesFlavorText.md +3 -3
- data/docs/PokemonSpeciesGenus.md +20 -0
- data/docs/PokemonSpeciesName.md +20 -0
- data/docs/PokemonSpeciesPalParkEncounter.md +22 -0
- data/docs/PokemonSpeciesSummary.md +2 -2
- data/docs/PokemonSpeciesVariety.md +20 -0
- data/docs/PokemonSprites.md +36 -0
- data/docs/PokemonSpritesOther.md +24 -0
- data/docs/PokemonSpritesOtherDreamWorld.md +20 -0
- data/docs/PokemonSpritesOtherHome.md +24 -0
- data/docs/PokemonSpritesOtherOfficialArtwork.md +22 -0
- data/docs/PokemonSpritesOtherShowdown.md +32 -0
- data/docs/PokemonStat.md +3 -3
- data/docs/PokemonSummary.md +2 -2
- data/docs/PokemonType.md +20 -0
- data/docs/RegionDetail.md +7 -7
- data/docs/RegionName.md +2 -2
- data/docs/RegionSummary.md +2 -2
- data/docs/StatAffectingMoves.md +20 -0
- data/docs/StatAffectingNatures.md +20 -0
- data/docs/StatDetail.md +11 -9
- data/docs/StatName.md +2 -2
- data/docs/StatSummary.md +2 -2
- data/docs/SuperContestEffectDetail.md +4 -4
- data/docs/SuperContestEffectFlavorText.md +2 -2
- data/docs/SuperContestEffectSummary.md +1 -1
- data/docs/TypeDetail.md +11 -11
- data/docs/TypeGameIndex.md +2 -2
- data/docs/TypeGameSprite.md +20 -0
- data/docs/TypeName.md +20 -0
- data/docs/TypePastRelationships.md +20 -0
- data/docs/TypePokemon.md +20 -0
- data/docs/TypeRelationships.md +28 -0
- data/docs/TypeSummary.md +2 -2
- data/docs/UtilityApi.md +65 -25
- data/docs/VersionDetail.md +4 -4
- data/docs/VersionGroupDetail.md +8 -8
- data/docs/VersionGroupSummary.md +2 -2
- data/docs/VersionName.md +2 -2
- data/docs/VersionSummary.md +2 -2
- data/git_push.sh +14 -17
- data/lib/pokeapi_client/api/berries_api.rb +12 -12
- data/lib/pokeapi_client/api/contests_api.rb +12 -18
- data/lib/pokeapi_client/api/encounters_api.rb +12 -12
- data/lib/pokeapi_client/api/evolution_api.rb +138 -12
- data/lib/pokeapi_client/api/games_api.rb +15 -15
- data/lib/pokeapi_client/api/items_api.rb +147 -18
- data/lib/pokeapi_client/api/location_api.rb +15 -15
- data/lib/pokeapi_client/api/machines_api.rb +6 -9
- data/lib/pokeapi_client/api/moves_api.rb +21 -21
- data/lib/pokeapi_client/api/pokemon_api.rb +57 -56
- data/lib/pokeapi_client/api/utility_api.rb +63 -6
- data/lib/pokeapi_client/api_client.rb +3 -4
- data/lib/pokeapi_client/api_error.rb +3 -3
- data/lib/pokeapi_client/api_model_base.rb +3 -3
- data/lib/pokeapi_client/configuration.rb +3 -17
- data/lib/pokeapi_client/models/ability_change.rb +26 -11
- data/lib/pokeapi_client/models/ability_change_effect_text.rb +26 -11
- data/lib/pokeapi_client/models/ability_detail.rb +39 -17
- data/lib/pokeapi_client/models/ability_effect_text.rb +27 -11
- data/lib/pokeapi_client/models/ability_flavor_text.rb +27 -11
- data/lib/pokeapi_client/models/ability_name.rb +31 -16
- data/lib/pokeapi_client/models/ability_pokemon_detail.rb +233 -0
- data/lib/pokeapi_client/models/ability_summary.rb +31 -16
- data/lib/pokeapi_client/models/berry_detail.rb +131 -86
- data/lib/pokeapi_client/models/berry_firmness_detail.rb +33 -16
- data/lib/pokeapi_client/models/berry_firmness_name.rb +31 -16
- data/lib/pokeapi_client/models/berry_firmness_summary.rb +31 -16
- data/lib/pokeapi_client/models/{berry_flavor_detail_berries_inner.rb → berry_flavor_berry_map.rb} +48 -15
- data/lib/pokeapi_client/models/berry_flavor_detail.rb +35 -17
- data/lib/pokeapi_client/models/{berry_detail_flavors_inner.rb → berry_flavor_map.rb} +48 -15
- data/lib/pokeapi_client/models/berry_flavor_name.rb +31 -16
- data/lib/pokeapi_client/models/berry_flavor_summary.rb +31 -16
- data/lib/pokeapi_client/models/berry_summary.rb +31 -16
- data/lib/pokeapi_client/models/characteristic_description.rb +31 -16
- data/lib/pokeapi_client/models/characteristic_detail.rb +29 -11
- data/lib/pokeapi_client/models/characteristic_summary.rb +25 -11
- data/lib/pokeapi_client/models/contest_effect_detail.rb +65 -11
- data/lib/pokeapi_client/models/contest_effect_effect_text.rb +26 -11
- data/lib/pokeapi_client/models/contest_effect_flavor_text.rb +26 -11
- data/lib/pokeapi_client/models/contest_effect_summary.rb +25 -11
- data/lib/pokeapi_client/models/contest_type_detail.rb +33 -16
- data/lib/pokeapi_client/models/contest_type_name.rb +32 -16
- data/lib/pokeapi_client/models/contest_type_summary.rb +31 -16
- data/lib/pokeapi_client/models/currency_detail.rb +243 -0
- data/lib/pokeapi_client/models/{move_detail_effect_changes_inner_effect_entries_inner.rb → currency_name.rb} +55 -31
- data/lib/pokeapi_client/models/{ability_detail_pokemon_inner_pokemon.rb → currency_summary.rb} +38 -14
- data/lib/pokeapi_client/models/egg_group_detail.rb +34 -17
- data/lib/pokeapi_client/models/egg_group_name.rb +31 -16
- data/lib/pokeapi_client/models/egg_group_summary.rb +31 -16
- data/lib/pokeapi_client/models/encounter_condition_detail.rb +33 -16
- data/lib/pokeapi_client/models/encounter_condition_name.rb +31 -16
- data/lib/pokeapi_client/models/encounter_condition_summary.rb +31 -16
- data/lib/pokeapi_client/models/encounter_condition_value_detail.rb +33 -16
- data/lib/pokeapi_client/models/encounter_condition_value_name.rb +31 -16
- data/lib/pokeapi_client/models/encounter_condition_value_summary.rb +31 -16
- data/lib/pokeapi_client/models/encounter_method_detail.rb +57 -16
- data/lib/pokeapi_client/models/encounter_method_name.rb +31 -16
- data/lib/pokeapi_client/models/encounter_method_summary.rb +31 -16
- data/lib/pokeapi_client/models/encounter_pokemon_detail.rb +216 -0
- data/lib/pokeapi_client/models/evolution_chain_detail.rb +29 -27
- data/lib/pokeapi_client/models/{evolution_chain_detail_chain.rb → evolution_chain_link.rb} +87 -70
- data/lib/pokeapi_client/models/evolution_chain_summary.rb +25 -11
- data/lib/pokeapi_client/models/evolution_condition_expression.rb +220 -0
- data/lib/pokeapi_client/models/evolution_trigger_detail.rb +34 -17
- data/lib/pokeapi_client/models/evolution_trigger_name.rb +31 -16
- data/lib/pokeapi_client/models/evolution_trigger_summary.rb +31 -16
- data/lib/pokeapi_client/models/evolution_variable_description.rb +207 -0
- data/lib/pokeapi_client/models/evolution_variable_detail.rb +393 -0
- data/lib/pokeapi_client/models/evolution_variable_name.rb +214 -0
- data/lib/pokeapi_client/models/{pokemon_shape_detail_names_inner.rb → evolution_variable_summary.rb} +68 -44
- data/lib/pokeapi_client/models/experience.rb +62 -11
- data/lib/pokeapi_client/models/gender_detail.rb +35 -18
- data/lib/pokeapi_client/models/{gender_detail_pokemon_species_details_inner.rb → gender_pokemon_species.rb} +30 -15
- data/lib/pokeapi_client/models/gender_summary.rb +31 -16
- data/lib/pokeapi_client/models/generation_detail.rb +38 -16
- data/lib/pokeapi_client/models/generation_name.rb +31 -16
- data/lib/pokeapi_client/models/generation_summary.rb +31 -16
- data/lib/pokeapi_client/models/growth_rate_description.rb +31 -16
- data/lib/pokeapi_client/models/growth_rate_detail.rb +35 -16
- data/lib/pokeapi_client/models/growth_rate_summary.rb +31 -16
- data/lib/pokeapi_client/models/item_attribute_description.rb +31 -16
- data/lib/pokeapi_client/models/item_attribute_detail.rb +35 -17
- data/lib/pokeapi_client/models/item_attribute_name.rb +31 -16
- data/lib/pokeapi_client/models/item_attribute_summary.rb +31 -16
- data/lib/pokeapi_client/models/item_category_detail.rb +34 -16
- data/lib/pokeapi_client/models/item_category_name.rb +31 -16
- data/lib/pokeapi_client/models/item_category_summary.rb +31 -16
- data/lib/pokeapi_client/models/item_detail.rb +97 -55
- data/lib/pokeapi_client/models/item_effect_text.rb +27 -11
- data/lib/pokeapi_client/models/item_flavor_text.rb +27 -11
- data/lib/pokeapi_client/models/item_fling_effect_detail.rb +33 -16
- data/lib/pokeapi_client/models/item_fling_effect_effect_text.rb +26 -11
- data/lib/pokeapi_client/models/item_fling_effect_summary.rb +31 -16
- data/lib/pokeapi_client/models/item_game_index.rb +44 -11
- data/lib/pokeapi_client/models/{item_detail_machines_inner.rb → item_machine.rb} +31 -16
- data/lib/pokeapi_client/models/item_name.rb +31 -16
- data/lib/pokeapi_client/models/item_pocket_detail.rb +33 -16
- data/lib/pokeapi_client/models/item_pocket_name.rb +31 -16
- data/lib/pokeapi_client/models/item_pocket_summary.rb +31 -16
- data/lib/pokeapi_client/models/item_price.rb +275 -0
- data/lib/pokeapi_client/models/{item_detail_sprites.rb → item_sprites.rb} +29 -29
- data/lib/pokeapi_client/models/item_summary.rb +31 -16
- data/lib/pokeapi_client/models/language_detail.rb +35 -16
- data/lib/pokeapi_client/models/language_name.rb +31 -16
- data/lib/pokeapi_client/models/language_summary.rb +31 -16
- data/lib/pokeapi_client/models/location_area_detail.rb +56 -18
- data/lib/pokeapi_client/models/location_area_encounter_detail.rb +269 -0
- data/lib/pokeapi_client/models/{location_area_detail_encounter_method_rates_inner.rb → location_area_encounter_rate.rb} +31 -16
- data/lib/pokeapi_client/models/{location_area_detail_encounter_method_rates_inner_version_details_inner.rb → location_area_encounter_version_detail.rb} +30 -15
- data/lib/pokeapi_client/models/location_area_name.rb +31 -16
- data/lib/pokeapi_client/models/{item_detail_held_by_pokemon_inner.rb → location_area_pokemon_encounter.rb} +32 -17
- data/lib/pokeapi_client/models/{location_area_detail_pokemon_encounters_inner_version_details_inner.rb → location_area_pokemon_encounter_version.rb} +35 -17
- data/lib/pokeapi_client/models/location_area_summary.rb +31 -16
- data/lib/pokeapi_client/models/location_detail.rb +36 -31
- data/lib/pokeapi_client/models/location_game_index.rb +44 -11
- data/lib/pokeapi_client/models/location_name.rb +31 -16
- data/lib/pokeapi_client/models/location_summary.rb +31 -16
- data/lib/pokeapi_client/models/machine_detail.rb +28 -11
- data/lib/pokeapi_client/models/machine_summary.rb +25 -11
- data/lib/pokeapi_client/models/move_battle_style_detail.rb +32 -16
- data/lib/pokeapi_client/models/move_battle_style_name.rb +31 -16
- data/lib/pokeapi_client/models/move_battle_style_summary.rb +31 -16
- data/lib/pokeapi_client/models/move_change.rb +99 -35
- data/lib/pokeapi_client/models/{move_detail_contest_combos_normal.rb → move_combo_usage.rb} +33 -46
- data/lib/pokeapi_client/models/{move_detail_contest_combos.rb → move_combos.rb} +31 -16
- data/lib/pokeapi_client/models/move_damage_class_description.rb +31 -16
- data/lib/pokeapi_client/models/move_damage_class_detail.rb +34 -16
- data/lib/pokeapi_client/models/move_damage_class_name.rb +31 -16
- data/lib/pokeapi_client/models/move_damage_class_summary.rb +31 -16
- data/lib/pokeapi_client/models/move_detail.rb +133 -84
- data/lib/pokeapi_client/models/{move_detail_effect_changes_inner.rb → move_effect_change.rb} +59 -44
- data/lib/pokeapi_client/models/{move_change_effect_entries_inner.rb → move_effect_change_effect_text.rb} +37 -39
- data/lib/pokeapi_client/models/move_effect_effect_text.rb +250 -0
- data/lib/pokeapi_client/models/move_flavor_text.rb +27 -11
- data/lib/pokeapi_client/models/move_learn_method_description.rb +31 -16
- data/lib/pokeapi_client/models/move_learn_method_detail.rb +35 -17
- data/lib/pokeapi_client/models/move_learn_method_name.rb +31 -16
- data/lib/pokeapi_client/models/move_learn_method_summary.rb +31 -16
- data/lib/pokeapi_client/models/move_meta.rb +276 -11
- data/lib/pokeapi_client/models/move_meta_ailment_detail.rb +34 -17
- data/lib/pokeapi_client/models/move_meta_ailment_name.rb +31 -16
- data/lib/pokeapi_client/models/move_meta_ailment_summary.rb +31 -16
- data/lib/pokeapi_client/models/move_meta_category_description.rb +31 -16
- data/lib/pokeapi_client/models/move_meta_category_detail.rb +34 -17
- data/lib/pokeapi_client/models/move_meta_category_summary.rb +31 -16
- data/lib/pokeapi_client/models/{move_detail_stat_changes_inner.rb → move_meta_stat_change.rb} +48 -15
- data/lib/pokeapi_client/models/move_name.rb +31 -16
- data/lib/pokeapi_client/models/{stat_detail_affecting_moves_increase_inner.rb → move_stat_change.rb} +48 -15
- data/lib/pokeapi_client/models/move_summary.rb +31 -16
- data/lib/pokeapi_client/models/move_target_description.rb +31 -16
- data/lib/pokeapi_client/models/move_target_detail.rb +34 -16
- data/lib/pokeapi_client/models/move_target_name.rb +31 -16
- data/lib/pokeapi_client/models/move_target_summary.rb +31 -16
- data/lib/pokeapi_client/models/nature_battle_style_preference.rb +63 -11
- data/lib/pokeapi_client/models/nature_detail.rb +44 -106
- data/lib/pokeapi_client/models/nature_name.rb +31 -16
- data/lib/pokeapi_client/models/{nature_detail_pokeathlon_stat_changes_inner.rb → nature_pokeathlon_stat.rb} +48 -15
- data/lib/pokeapi_client/models/nature_summary.rb +31 -16
- data/lib/pokeapi_client/models/paginated_ability_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_berry_firmness_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_berry_flavor_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_berry_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_characteristic_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_contest_effect_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_contest_type_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_currency_summary_list.rb +229 -0
- data/lib/pokeapi_client/models/paginated_egg_group_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_encounter_condition_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_encounter_condition_value_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_encounter_method_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_evolution_chain_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_evolution_trigger_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/{evolution_chain_detail_chain_evolves_to_inner.rb → paginated_evolution_variable_summary_list.rb} +81 -70
- data/lib/pokeapi_client/models/paginated_gender_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_generation_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_growth_rate_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_item_attribute_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_item_category_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_item_fling_effect_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_item_pocket_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_item_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_language_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_location_area_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_location_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_machine_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_battle_style_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_damage_class_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_learn_method_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_meta_ailment_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_meta_category_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_target_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_nature_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pal_park_area_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokeathlon_stat_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokedex_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_color_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_form_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_habitat_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_shape_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_species_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_region_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_stat_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_super_contest_effect_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_type_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_version_group_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_version_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/pal_park_area_detail.rb +34 -17
- data/lib/pokeapi_client/models/pal_park_area_name.rb +31 -16
- data/lib/pokeapi_client/models/pal_park_area_summary.rb +31 -16
- data/lib/pokeapi_client/models/{pal_park_area_detail_pokemon_encounters_inner.rb → pal_park_encounter.rb} +89 -47
- data/lib/pokeapi_client/models/pokeapi_meta_response.rb +190 -0
- data/lib/pokeapi_client/models/{pokeathlon_stat_detail_affecting_natures_increase_inner.rb → pokeathlon_stat_affecting_nature.rb} +44 -20
- data/lib/pokeapi_client/models/{pokeathlon_stat_detail_affecting_natures.rb → pokeathlon_stat_affecting_natures.rb} +61 -46
- data/lib/pokeapi_client/models/pokeathlon_stat_detail.rb +34 -17
- data/lib/pokeapi_client/models/pokeathlon_stat_name.rb +31 -16
- data/lib/pokeapi_client/models/pokeathlon_stat_summary.rb +31 -16
- data/lib/pokeapi_client/models/pokedex_description.rb +31 -16
- data/lib/pokeapi_client/models/pokedex_detail.rb +40 -33
- data/lib/pokeapi_client/models/pokedex_name.rb +31 -16
- data/lib/pokeapi_client/models/pokedex_summary.rb +31 -16
- data/lib/pokeapi_client/models/{pokemon_detail_abilities_inner.rb → pokemon_ability.rb} +73 -56
- data/lib/pokeapi_client/models/pokemon_ability_past.rb +219 -0
- data/lib/pokeapi_client/models/pokemon_color_detail.rb +33 -16
- data/lib/pokeapi_client/models/pokemon_color_name.rb +31 -16
- data/lib/pokeapi_client/models/pokemon_color_summary.rb +31 -16
- data/lib/pokeapi_client/models/{pokemon_detail_cries.rb → pokemon_cries.rb} +31 -44
- data/lib/pokeapi_client/models/pokemon_detail.rb +186 -26
- data/lib/pokeapi_client/models/pokemon_dex_entry.rb +26 -11
- data/lib/pokeapi_client/models/{pokedex_detail_pokemon_entries_inner.rb → pokemon_dex_number.rb} +30 -15
- data/lib/pokeapi_client/models/{location_area_detail_pokemon_encounters_inner_version_details_inner_encounter_details.rb → pokemon_encounter_detail_response.rb} +104 -67
- data/lib/pokeapi_client/models/pokemon_encounter_response.rb +207 -0
- data/lib/pokeapi_client/models/pokemon_encounter_version_detail_response.rb +234 -0
- data/lib/pokeapi_client/models/pokemon_evolution.rb +785 -0
- data/lib/pokeapi_client/models/{evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_gender.rb → pokemon_evolution_known_move.rb} +27 -14
- data/lib/pokeapi_client/models/pokemon_form_detail.rb +156 -23
- data/lib/pokeapi_client/models/pokemon_form_flavor_text.rb +232 -0
- data/lib/pokeapi_client/models/pokemon_form_name.rb +214 -0
- data/lib/pokeapi_client/models/pokemon_form_sprites.rb +277 -0
- data/lib/pokeapi_client/models/pokemon_form_summary.rb +31 -16
- data/lib/pokeapi_client/models/{berry_detail_flavors_inner_flavor.rb → pokemon_form_trigger_condition.rb} +70 -20
- data/lib/pokeapi_client/models/pokemon_form_type.rb +223 -0
- data/lib/pokeapi_client/models/pokemon_game_index.rb +44 -11
- data/lib/pokeapi_client/models/pokemon_habitat_detail.rb +33 -16
- data/lib/pokeapi_client/models/pokemon_habitat_name.rb +31 -16
- data/lib/pokeapi_client/models/pokemon_habitat_summary.rb +31 -16
- data/lib/pokeapi_client/models/{location_area_detail_pokemon_encounters_inner.rb → pokemon_held_item.rb} +31 -16
- data/lib/pokeapi_client/models/{pokemon_detail_held_items.rb → pokemon_held_item_summary.rb} +31 -16
- data/lib/pokeapi_client/models/{item_detail_held_by_pokemon_inner_version_details_inner.rb → pokemon_held_item_version.rb} +30 -15
- data/lib/pokeapi_client/models/{pokemon_detail_moves_inner.rb → pokemon_move.rb} +31 -16
- data/lib/pokeapi_client/models/{pokemon_detail_moves_inner_version_group_details_inner.rb → pokemon_move_version_group.rb} +46 -19
- data/lib/pokeapi_client/models/{pokemon_detail_past_abilities_inner.rb → pokemon_past_ability.rb} +31 -16
- data/lib/pokeapi_client/models/pokemon_past_stat.rb +207 -0
- data/lib/pokeapi_client/models/{pokemon_detail_past_types_inner.rb → pokemon_past_type.rb} +31 -16
- data/lib/pokeapi_client/models/{pokemon_shape_detail_awesome_names_inner.rb → pokemon_shape_awesome_name.rb} +39 -15
- data/lib/pokeapi_client/models/pokemon_shape_detail.rb +36 -18
- data/lib/pokeapi_client/models/pokemon_shape_name.rb +214 -0
- data/lib/pokeapi_client/models/pokemon_shape_summary.rb +31 -16
- data/lib/pokeapi_client/models/pokemon_species_description.rb +31 -16
- data/lib/pokeapi_client/models/pokemon_species_detail.rb +183 -51
- data/lib/pokeapi_client/models/pokemon_species_flavor_text.rb +27 -11
- data/lib/pokeapi_client/models/{pokemon_species_detail_genera_inner.rb → pokemon_species_genus.rb} +39 -15
- data/lib/pokeapi_client/models/pokemon_species_name.rb +214 -0
- data/lib/pokeapi_client/models/{pokemon_species_detail_pal_park_encounters_inner.rb → pokemon_species_pal_park_encounter.rb} +91 -49
- data/lib/pokeapi_client/models/pokemon_species_summary.rb +31 -16
- data/lib/pokeapi_client/models/{pokemon_species_detail_varieties_inner.rb → pokemon_species_variety.rb} +30 -15
- data/lib/pokeapi_client/models/pokemon_sprites.rb +277 -0
- data/lib/pokeapi_client/models/{move_detail_machines_inner.rb → pokemon_sprites_other.rb} +62 -61
- data/lib/pokeapi_client/models/{pokemon_detail_sprites.rb → pokemon_sprites_other_dream_world.rb} +48 -18
- data/lib/pokeapi_client/models/pokemon_sprites_other_home.rb +203 -0
- data/lib/pokeapi_client/models/{berry_flavor_detail_berries_inner_berry.rb → pokemon_sprites_other_official_artwork.rb} +60 -29
- data/lib/pokeapi_client/models/pokemon_sprites_other_showdown.rb +255 -0
- data/lib/pokeapi_client/models/pokemon_stat.rb +63 -11
- data/lib/pokeapi_client/models/pokemon_summary.rb +31 -16
- data/lib/pokeapi_client/models/{pokemon_detail_types_inner.rb → pokemon_type.rb} +48 -15
- data/lib/pokeapi_client/models/region_detail.rb +38 -32
- data/lib/pokeapi_client/models/region_name.rb +31 -16
- data/lib/pokeapi_client/models/region_summary.rb +31 -16
- data/lib/pokeapi_client/models/{stat_detail_affecting_natures.rb → stat_affecting_moves.rb} +31 -16
- data/lib/pokeapi_client/models/{stat_detail_affecting_moves.rb → stat_affecting_natures.rb} +31 -16
- data/lib/pokeapi_client/models/stat_detail.rb +89 -34
- data/lib/pokeapi_client/models/stat_name.rb +31 -16
- data/lib/pokeapi_client/models/stat_summary.rb +31 -16
- data/lib/pokeapi_client/models/super_contest_effect_detail.rb +46 -11
- data/lib/pokeapi_client/models/super_contest_effect_flavor_text.rb +26 -11
- data/lib/pokeapi_client/models/super_contest_effect_summary.rb +25 -11
- data/lib/pokeapi_client/models/type_detail.rb +46 -36
- data/lib/pokeapi_client/models/type_game_index.rb +44 -11
- data/lib/pokeapi_client/models/{type_detail_sprites_value_value.rb → type_game_sprite.rb} +44 -18
- data/lib/pokeapi_client/models/{pokemon_form_detail_form_names_inner.rb → type_name.rb} +68 -44
- data/lib/pokeapi_client/models/{type_detail_past_damage_relations_inner.rb → type_past_relationships.rb} +31 -16
- data/lib/pokeapi_client/models/{ability_detail_pokemon_inner.rb → type_pokemon.rb} +49 -42
- data/lib/pokeapi_client/models/{type_detail_damage_relations.rb → type_relationships.rb} +39 -20
- data/lib/pokeapi_client/models/type_summary.rb +31 -16
- data/lib/pokeapi_client/models/version_detail.rb +33 -16
- data/lib/pokeapi_client/models/version_group_detail.rb +64 -19
- data/lib/pokeapi_client/models/version_group_summary.rb +31 -16
- data/lib/pokeapi_client/models/version_name.rb +31 -16
- data/lib/pokeapi_client/models/version_summary.rb +31 -16
- data/lib/pokeapi_client/version.rb +4 -4
- data/lib/pokeapi_client.rb +81 -64
- data/pokeapi_client.gemspec +4 -4
- data/spec/api/berries_api_spec.rb +3 -3
- data/spec/api/contests_api_spec.rb +3 -5
- data/spec/api/encounters_api_spec.rb +3 -3
- data/spec/api/evolution_api_spec.rb +29 -4
- data/spec/api/games_api_spec.rb +3 -3
- data/spec/api/items_api_spec.rb +29 -3
- data/spec/api/location_api_spec.rb +3 -3
- data/spec/api/machines_api_spec.rb +3 -4
- data/spec/api/moves_api_spec.rb +3 -3
- data/spec/api/pokemon_api_spec.rb +6 -5
- data/spec/api/utility_api_spec.rb +14 -3
- data/spec/models/ability_change_effect_text_spec.rb +3 -3
- data/spec/models/ability_change_spec.rb +3 -3
- data/spec/models/ability_detail_spec.rb +3 -3
- data/spec/models/ability_effect_text_spec.rb +3 -3
- data/spec/models/ability_flavor_text_spec.rb +3 -3
- data/spec/models/ability_name_spec.rb +3 -3
- data/spec/models/{ability_detail_pokemon_inner_spec.rb → ability_pokemon_detail_spec.rb} +9 -9
- data/spec/models/ability_summary_spec.rb +3 -3
- data/spec/models/berry_detail_spec.rb +3 -3
- data/spec/models/berry_firmness_detail_spec.rb +3 -3
- data/spec/models/berry_firmness_name_spec.rb +3 -3
- data/spec/models/berry_firmness_summary_spec.rb +3 -3
- data/spec/models/{berry_flavor_detail_berries_inner_spec.rb → berry_flavor_berry_map_spec.rb} +9 -9
- data/spec/models/berry_flavor_detail_spec.rb +3 -3
- data/spec/models/{berry_detail_flavors_inner_spec.rb → berry_flavor_map_spec.rb} +9 -9
- data/spec/models/berry_flavor_name_spec.rb +3 -3
- data/spec/models/berry_flavor_summary_spec.rb +3 -3
- data/spec/models/berry_summary_spec.rb +3 -3
- data/spec/models/characteristic_description_spec.rb +3 -3
- data/spec/models/characteristic_detail_spec.rb +3 -3
- data/spec/models/characteristic_summary_spec.rb +3 -3
- data/spec/models/contest_effect_detail_spec.rb +3 -3
- data/spec/models/contest_effect_effect_text_spec.rb +3 -3
- data/spec/models/contest_effect_flavor_text_spec.rb +3 -3
- data/spec/models/contest_effect_summary_spec.rb +3 -3
- data/spec/models/contest_type_detail_spec.rb +3 -3
- data/spec/models/contest_type_name_spec.rb +3 -3
- data/spec/models/contest_type_summary_spec.rb +3 -3
- data/spec/models/{ability_detail_pokemon_inner_pokemon_spec.rb → currency_detail_spec.rb} +16 -10
- data/spec/models/currency_name_spec.rb +42 -0
- data/spec/models/{type_detail_pokemon_inner_pokemon_spec.rb → currency_summary_spec.rb} +9 -9
- data/spec/models/egg_group_detail_spec.rb +3 -3
- data/spec/models/egg_group_name_spec.rb +3 -3
- data/spec/models/egg_group_summary_spec.rb +3 -3
- data/spec/models/encounter_condition_detail_spec.rb +3 -3
- data/spec/models/encounter_condition_name_spec.rb +3 -3
- data/spec/models/encounter_condition_summary_spec.rb +3 -3
- data/spec/models/encounter_condition_value_detail_spec.rb +3 -3
- data/spec/models/encounter_condition_value_name_spec.rb +3 -3
- data/spec/models/encounter_condition_value_summary_spec.rb +3 -3
- data/spec/models/encounter_method_detail_spec.rb +3 -3
- data/spec/models/encounter_method_name_spec.rb +3 -3
- data/spec/models/encounter_method_summary_spec.rb +3 -3
- data/spec/models/encounter_pokemon_detail_spec.rb +54 -0
- data/spec/models/evolution_chain_detail_spec.rb +3 -3
- data/spec/models/{evolution_chain_detail_chain_spec.rb → evolution_chain_link_spec.rb} +13 -13
- data/spec/models/evolution_chain_summary_spec.rb +3 -3
- data/spec/models/{evolution_chain_detail_chain_evolves_to_inner_spec.rb → evolution_condition_expression_spec.rb} +12 -12
- data/spec/models/evolution_trigger_detail_spec.rb +3 -3
- data/spec/models/evolution_trigger_name_spec.rb +3 -3
- data/spec/models/evolution_trigger_summary_spec.rb +3 -3
- data/spec/models/evolution_variable_description_spec.rb +42 -0
- data/spec/models/{type_detail_past_damage_relations_inner_damage_relations_spec.rb → evolution_variable_detail_spec.rb} +27 -15
- data/spec/models/evolution_variable_name_spec.rb +42 -0
- data/spec/models/{berry_detail_flavors_inner_flavor_spec.rb → evolution_variable_summary_spec.rb} +9 -9
- data/spec/models/experience_spec.rb +3 -3
- data/spec/models/gender_detail_spec.rb +3 -3
- data/spec/models/{gender_detail_pokemon_species_details_inner_spec.rb → gender_pokemon_species_spec.rb} +9 -9
- data/spec/models/gender_summary_spec.rb +3 -3
- data/spec/models/generation_detail_spec.rb +3 -3
- data/spec/models/generation_name_spec.rb +3 -3
- data/spec/models/generation_summary_spec.rb +3 -3
- data/spec/models/growth_rate_description_spec.rb +3 -3
- data/spec/models/growth_rate_detail_spec.rb +3 -3
- data/spec/models/growth_rate_summary_spec.rb +3 -3
- data/spec/models/item_attribute_description_spec.rb +3 -3
- data/spec/models/item_attribute_detail_spec.rb +3 -3
- data/spec/models/item_attribute_name_spec.rb +3 -3
- data/spec/models/item_attribute_summary_spec.rb +3 -3
- data/spec/models/item_category_detail_spec.rb +3 -3
- data/spec/models/item_category_name_spec.rb +3 -3
- data/spec/models/item_category_summary_spec.rb +3 -3
- data/spec/models/item_detail_spec.rb +9 -9
- data/spec/models/item_effect_text_spec.rb +3 -3
- data/spec/models/item_flavor_text_spec.rb +3 -3
- data/spec/models/item_fling_effect_detail_spec.rb +3 -3
- data/spec/models/item_fling_effect_effect_text_spec.rb +3 -3
- data/spec/models/item_fling_effect_summary_spec.rb +3 -3
- data/spec/models/item_game_index_spec.rb +3 -3
- data/spec/models/{move_detail_machines_inner_spec.rb → item_machine_spec.rb} +9 -9
- data/spec/models/item_name_spec.rb +3 -3
- data/spec/models/item_pocket_detail_spec.rb +3 -3
- data/spec/models/item_pocket_name_spec.rb +3 -3
- data/spec/models/item_pocket_summary_spec.rb +3 -3
- data/spec/models/item_price_spec.rb +54 -0
- data/spec/models/{item_detail_sprites_spec.rb → item_sprites_spec.rb} +9 -9
- data/spec/models/item_summary_spec.rb +3 -3
- data/spec/models/language_detail_spec.rb +3 -3
- data/spec/models/language_name_spec.rb +3 -3
- data/spec/models/language_summary_spec.rb +3 -3
- data/spec/models/location_area_detail_spec.rb +3 -3
- data/spec/models/{location_area_detail_pokemon_encounters_inner_version_details_inner_encounter_details_spec.rb → location_area_encounter_detail_spec.rb} +18 -12
- data/spec/models/{location_area_detail_encounter_method_rates_inner_spec.rb → location_area_encounter_rate_spec.rb} +9 -9
- data/spec/models/{location_area_detail_encounter_method_rates_inner_version_details_inner_spec.rb → location_area_encounter_version_detail_spec.rb} +9 -9
- data/spec/models/location_area_name_spec.rb +3 -3
- data/spec/models/{location_area_detail_pokemon_encounters_inner_spec.rb → location_area_pokemon_encounter_spec.rb} +9 -9
- data/spec/models/{location_area_detail_pokemon_encounters_inner_version_details_inner_spec.rb → location_area_pokemon_encounter_version_spec.rb} +9 -9
- data/spec/models/location_area_summary_spec.rb +3 -3
- data/spec/models/location_detail_spec.rb +3 -3
- data/spec/models/location_game_index_spec.rb +3 -3
- data/spec/models/location_name_spec.rb +3 -3
- data/spec/models/location_summary_spec.rb +3 -3
- data/spec/models/machine_detail_spec.rb +3 -3
- data/spec/models/machine_summary_spec.rb +3 -3
- data/spec/models/move_battle_style_detail_spec.rb +3 -3
- data/spec/models/move_battle_style_name_spec.rb +3 -3
- data/spec/models/move_battle_style_summary_spec.rb +3 -3
- data/spec/models/move_change_spec.rb +3 -3
- data/spec/models/{move_detail_contest_combos_normal_spec.rb → move_combo_usage_spec.rb} +9 -9
- data/spec/models/{move_detail_contest_combos_spec.rb → move_combos_spec.rb} +9 -9
- data/spec/models/move_damage_class_description_spec.rb +3 -3
- data/spec/models/move_damage_class_detail_spec.rb +3 -3
- data/spec/models/move_damage_class_name_spec.rb +3 -3
- data/spec/models/move_damage_class_summary_spec.rb +3 -3
- data/spec/models/move_detail_spec.rb +3 -3
- data/spec/models/{move_detail_effect_changes_inner_effect_entries_inner_spec.rb → move_effect_change_effect_text_spec.rb} +9 -9
- data/spec/models/{move_detail_effect_changes_inner_spec.rb → move_effect_change_spec.rb} +11 -11
- data/spec/models/{move_change_effect_entries_inner_spec.rb → move_effect_effect_text_spec.rb} +9 -9
- data/spec/models/move_flavor_text_spec.rb +3 -3
- data/spec/models/move_learn_method_description_spec.rb +3 -3
- data/spec/models/move_learn_method_detail_spec.rb +3 -3
- data/spec/models/move_learn_method_name_spec.rb +3 -3
- data/spec/models/move_learn_method_summary_spec.rb +3 -3
- data/spec/models/move_meta_ailment_detail_spec.rb +3 -3
- data/spec/models/move_meta_ailment_name_spec.rb +3 -3
- data/spec/models/move_meta_ailment_summary_spec.rb +3 -3
- data/spec/models/move_meta_category_description_spec.rb +3 -3
- data/spec/models/move_meta_category_detail_spec.rb +3 -3
- data/spec/models/move_meta_category_summary_spec.rb +3 -3
- data/spec/models/move_meta_spec.rb +3 -3
- data/spec/models/{move_detail_stat_changes_inner_spec.rb → move_meta_stat_change_spec.rb} +9 -9
- data/spec/models/move_name_spec.rb +3 -3
- data/spec/models/{stat_detail_affecting_moves_increase_inner_spec.rb → move_stat_change_spec.rb} +9 -9
- data/spec/models/move_summary_spec.rb +3 -3
- data/spec/models/move_target_description_spec.rb +3 -3
- data/spec/models/move_target_detail_spec.rb +3 -3
- data/spec/models/move_target_name_spec.rb +3 -3
- data/spec/models/move_target_summary_spec.rb +3 -3
- data/spec/models/nature_battle_style_preference_spec.rb +3 -3
- data/spec/models/nature_detail_spec.rb +3 -9
- data/spec/models/nature_name_spec.rb +3 -3
- data/spec/models/{nature_detail_pokeathlon_stat_changes_inner_spec.rb → nature_pokeathlon_stat_spec.rb} +9 -9
- data/spec/models/nature_summary_spec.rb +3 -3
- data/spec/models/paginated_ability_summary_list_spec.rb +3 -3
- data/spec/models/paginated_berry_firmness_summary_list_spec.rb +3 -3
- data/spec/models/paginated_berry_flavor_summary_list_spec.rb +3 -3
- data/spec/models/paginated_berry_summary_list_spec.rb +3 -3
- data/spec/models/paginated_characteristic_summary_list_spec.rb +3 -3
- data/spec/models/paginated_contest_effect_summary_list_spec.rb +3 -3
- data/spec/models/paginated_contest_type_summary_list_spec.rb +3 -3
- data/spec/models/paginated_currency_summary_list_spec.rb +54 -0
- data/spec/models/paginated_egg_group_summary_list_spec.rb +3 -3
- data/spec/models/paginated_encounter_condition_summary_list_spec.rb +3 -3
- data/spec/models/paginated_encounter_condition_value_summary_list_spec.rb +3 -3
- data/spec/models/paginated_encounter_method_summary_list_spec.rb +3 -3
- data/spec/models/paginated_evolution_chain_summary_list_spec.rb +3 -3
- data/spec/models/paginated_evolution_trigger_summary_list_spec.rb +3 -3
- data/spec/models/paginated_evolution_variable_summary_list_spec.rb +54 -0
- data/spec/models/paginated_gender_summary_list_spec.rb +3 -3
- data/spec/models/paginated_generation_summary_list_spec.rb +3 -3
- data/spec/models/paginated_growth_rate_summary_list_spec.rb +3 -3
- data/spec/models/paginated_item_attribute_summary_list_spec.rb +3 -3
- data/spec/models/paginated_item_category_summary_list_spec.rb +3 -3
- data/spec/models/paginated_item_fling_effect_summary_list_spec.rb +3 -3
- data/spec/models/paginated_item_pocket_summary_list_spec.rb +3 -3
- data/spec/models/paginated_item_summary_list_spec.rb +3 -3
- data/spec/models/paginated_language_summary_list_spec.rb +3 -3
- data/spec/models/paginated_location_area_summary_list_spec.rb +3 -3
- data/spec/models/paginated_location_summary_list_spec.rb +3 -3
- data/spec/models/paginated_machine_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_battle_style_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_damage_class_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_learn_method_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_meta_ailment_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_meta_category_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_target_summary_list_spec.rb +3 -3
- data/spec/models/paginated_nature_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pal_park_area_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokeathlon_stat_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokedex_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_color_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_form_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_habitat_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_shape_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_species_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_summary_list_spec.rb +3 -3
- data/spec/models/paginated_region_summary_list_spec.rb +3 -3
- data/spec/models/paginated_stat_summary_list_spec.rb +3 -3
- data/spec/models/paginated_super_contest_effect_summary_list_spec.rb +3 -3
- data/spec/models/paginated_type_summary_list_spec.rb +3 -3
- data/spec/models/paginated_version_group_summary_list_spec.rb +3 -3
- data/spec/models/paginated_version_summary_list_spec.rb +3 -3
- data/spec/models/pal_park_area_detail_spec.rb +3 -3
- data/spec/models/pal_park_area_name_spec.rb +3 -3
- data/spec/models/pal_park_area_summary_spec.rb +3 -3
- data/spec/models/{pal_park_area_detail_pokemon_encounters_inner_spec.rb → pal_park_encounter_spec.rb} +11 -11
- data/spec/models/pokeapi_meta_response_spec.rb +48 -0
- data/spec/models/{pokeathlon_stat_detail_affecting_natures_decrease_inner_spec.rb → pokeathlon_stat_affecting_nature_spec.rb} +9 -9
- data/spec/models/{pokeathlon_stat_detail_affecting_natures_spec.rb → pokeathlon_stat_affecting_natures_spec.rb} +11 -11
- data/spec/models/pokeathlon_stat_detail_spec.rb +3 -3
- data/spec/models/pokeathlon_stat_name_spec.rb +3 -3
- data/spec/models/pokeathlon_stat_summary_spec.rb +3 -3
- data/spec/models/pokedex_description_spec.rb +3 -3
- data/spec/models/pokedex_detail_spec.rb +3 -3
- data/spec/models/pokedex_name_spec.rb +3 -3
- data/spec/models/pokedex_summary_spec.rb +3 -3
- data/spec/models/{pokemon_detail_abilities_inner_spec.rb → pokemon_ability_past_spec.rb} +12 -12
- data/spec/models/pokemon_ability_spec.rb +48 -0
- data/spec/models/pokemon_color_detail_spec.rb +3 -3
- data/spec/models/pokemon_color_name_spec.rb +3 -3
- data/spec/models/pokemon_color_summary_spec.rb +3 -3
- data/spec/models/{pokemon_detail_cries_spec.rb → pokemon_cries_spec.rb} +9 -9
- data/spec/models/pokemon_detail_spec.rb +9 -3
- data/spec/models/pokemon_dex_entry_spec.rb +3 -3
- data/spec/models/pokemon_dex_number_spec.rb +42 -0
- data/spec/models/pokemon_encounter_detail_response_spec.rb +60 -0
- data/spec/models/pokemon_encounter_response_spec.rb +42 -0
- data/spec/models/pokemon_encounter_version_detail_response_spec.rb +48 -0
- data/spec/models/{pokemon_shape_detail_names_inner_spec.rb → pokemon_evolution_known_move_spec.rb} +11 -11
- data/spec/models/{evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_spec.rb → pokemon_evolution_spec.rb} +94 -16
- data/spec/models/pokemon_form_detail_spec.rb +15 -3
- data/spec/models/pokemon_form_flavor_text_spec.rb +48 -0
- data/spec/models/{pokemon_form_detail_form_names_inner_spec.rb → pokemon_form_name_spec.rb} +11 -11
- data/spec/models/pokemon_form_sprites_spec.rb +90 -0
- data/spec/models/pokemon_form_summary_spec.rb +3 -3
- data/spec/models/pokemon_form_trigger_condition_spec.rb +54 -0
- data/spec/models/{pokemon_detail_types_inner_spec.rb → pokemon_form_type_spec.rb} +9 -9
- data/spec/models/pokemon_game_index_spec.rb +3 -3
- data/spec/models/pokemon_habitat_detail_spec.rb +3 -3
- data/spec/models/pokemon_habitat_name_spec.rb +3 -3
- data/spec/models/pokemon_habitat_summary_spec.rb +3 -3
- data/spec/models/{item_detail_held_by_pokemon_inner_spec.rb → pokemon_held_item_spec.rb} +9 -9
- data/spec/models/{pokemon_detail_held_items_spec.rb → pokemon_held_item_summary_spec.rb} +9 -9
- data/spec/models/pokemon_held_item_version_spec.rb +42 -0
- data/spec/models/{pokemon_detail_moves_inner_spec.rb → pokemon_move_spec.rb} +9 -9
- data/spec/models/{pokemon_detail_moves_inner_version_group_details_inner_spec.rb → pokemon_move_version_group_spec.rb} +15 -9
- data/spec/models/{pokemon_detail_past_abilities_inner_spec.rb → pokemon_past_ability_spec.rb} +9 -9
- data/spec/models/pokemon_past_stat_spec.rb +42 -0
- data/spec/models/{pokemon_detail_past_types_inner_spec.rb → pokemon_past_type_spec.rb} +9 -9
- data/spec/models/{pokemon_shape_detail_awesome_names_inner_spec.rb → pokemon_shape_awesome_name_spec.rb} +9 -9
- data/spec/models/pokemon_shape_detail_spec.rb +3 -3
- data/spec/models/pokemon_shape_name_spec.rb +42 -0
- data/spec/models/pokemon_shape_summary_spec.rb +3 -3
- data/spec/models/pokemon_species_description_spec.rb +3 -3
- data/spec/models/pokemon_species_detail_spec.rb +3 -3
- data/spec/models/pokemon_species_flavor_text_spec.rb +3 -3
- data/spec/models/{pokemon_species_detail_genera_inner_spec.rb → pokemon_species_genus_spec.rb} +9 -9
- data/spec/models/pokemon_species_name_spec.rb +42 -0
- data/spec/models/{pokemon_species_detail_pal_park_encounters_inner_spec.rb → pokemon_species_pal_park_encounter_spec.rb} +12 -12
- data/spec/models/pokemon_species_summary_spec.rb +3 -3
- data/spec/models/{pokemon_species_detail_varieties_inner_spec.rb → pokemon_species_variety_spec.rb} +9 -9
- data/spec/models/pokemon_sprites_other_dream_world_spec.rb +42 -0
- data/spec/models/pokemon_sprites_other_home_spec.rb +54 -0
- data/spec/models/pokemon_sprites_other_official_artwork_spec.rb +48 -0
- data/spec/models/pokemon_sprites_other_showdown_spec.rb +78 -0
- data/spec/models/pokemon_sprites_other_spec.rb +54 -0
- data/spec/models/pokemon_sprites_spec.rb +90 -0
- data/spec/models/pokemon_stat_spec.rb +3 -3
- data/spec/models/pokemon_summary_spec.rb +3 -3
- data/spec/models/pokemon_type_spec.rb +42 -0
- data/spec/models/region_detail_spec.rb +3 -3
- data/spec/models/region_name_spec.rb +3 -3
- data/spec/models/region_summary_spec.rb +3 -3
- data/spec/models/{stat_detail_affecting_moves_spec.rb → stat_affecting_moves_spec.rb} +9 -9
- data/spec/models/{stat_detail_affecting_natures_spec.rb → stat_affecting_natures_spec.rb} +9 -9
- data/spec/models/stat_detail_spec.rb +9 -3
- data/spec/models/stat_name_spec.rb +3 -3
- data/spec/models/stat_summary_spec.rb +3 -3
- data/spec/models/super_contest_effect_detail_spec.rb +3 -3
- data/spec/models/super_contest_effect_flavor_text_spec.rb +3 -3
- data/spec/models/super_contest_effect_summary_spec.rb +3 -3
- data/spec/models/type_detail_spec.rb +3 -3
- data/spec/models/type_game_index_spec.rb +3 -3
- data/spec/models/type_game_sprite_spec.rb +42 -0
- data/spec/models/type_name_spec.rb +42 -0
- data/spec/models/{type_detail_past_damage_relations_inner_spec.rb → type_past_relationships_spec.rb} +9 -9
- data/spec/models/{type_detail_pokemon_inner_spec.rb → type_pokemon_spec.rb} +9 -9
- data/spec/models/{type_detail_damage_relations_spec.rb → type_relationships_spec.rb} +9 -9
- data/spec/models/type_summary_spec.rb +3 -3
- data/spec/models/version_detail_spec.rb +3 -3
- data/spec/models/version_group_detail_spec.rb +3 -3
- data/spec/models/version_group_summary_spec.rb +3 -3
- data/spec/models/version_name_spec.rb +3 -3
- data/spec/models/version_summary_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +508 -443
- data/docs/AbilityDetailPokemonInner.md +0 -22
- data/docs/BerryDetailFlavorsInner.md +0 -20
- data/docs/BerryDetailFlavorsInnerFlavor.md +0 -20
- data/docs/BerryFlavorDetailBerriesInner.md +0 -20
- data/docs/BerryFlavorDetailBerriesInnerBerry.md +0 -20
- data/docs/EggGroupDetailPokemonSpeciesInner.md +0 -20
- data/docs/EvolutionChainDetailChain.md +0 -24
- data/docs/EvolutionChainDetailChainEvolvesToInner.md +0 -22
- data/docs/EvolutionChainDetailChainEvolvesToInnerEvolutionDetailsInner.md +0 -52
- data/docs/EvolutionChainDetailChainEvolvesToInnerEvolutionDetailsInnerGender.md +0 -20
- data/docs/GenderDetailPokemonSpeciesDetailsInner.md +0 -20
- data/docs/ItemDetailBabyTriggerFor.md +0 -18
- data/docs/ItemDetailHeldByPokemonInner.md +0 -20
- data/docs/ItemDetailHeldByPokemonInnerVersionDetailsInner.md +0 -20
- data/docs/ItemDetailMachinesInner.md +0 -20
- data/docs/LocationAreaDetailEncounterMethodRatesInner.md +0 -20
- data/docs/LocationAreaDetailEncounterMethodRatesInnerVersionDetailsInner.md +0 -20
- data/docs/LocationAreaDetailPokemonEncountersInner.md +0 -20
- data/docs/LocationAreaDetailPokemonEncountersInnerVersionDetailsInner.md +0 -22
- data/docs/LocationAreaDetailPokemonEncountersInnerVersionDetailsInnerEncounterDetails.md +0 -26
- data/docs/MoveChangeEffectEntriesInner.md +0 -22
- data/docs/MoveDetailContestCombos.md +0 -20
- data/docs/MoveDetailContestCombosNormal.md +0 -20
- data/docs/MoveDetailEffectChangesInner.md +0 -20
- data/docs/MoveDetailEffectChangesInnerEffectEntriesInner.md +0 -20
- data/docs/MoveDetailMachinesInner.md +0 -20
- data/docs/MoveDetailMachinesInnerMachine.md +0 -18
- data/docs/MoveDetailStatChangesInner.md +0 -20
- data/docs/NatureDetailPokeathlonStatChangesInner.md +0 -20
- data/docs/PalParkAreaDetailPokemonEncountersInner.md +0 -22
- data/docs/PokeathlonStatDetailAffectingNatures.md +0 -20
- data/docs/PokeathlonStatDetailAffectingNaturesDecreaseInner.md +0 -20
- data/docs/PokeathlonStatDetailAffectingNaturesIncreaseInner.md +0 -20
- data/docs/PokedexDetailPokemonEntriesInner.md +0 -20
- data/docs/PokemonDetailAbilitiesInner.md +0 -22
- data/docs/PokemonDetailCries.md +0 -20
- data/docs/PokemonDetailHeldItems.md +0 -20
- data/docs/PokemonDetailMovesInner.md +0 -20
- data/docs/PokemonDetailMovesInnerVersionGroupDetailsInner.md +0 -22
- data/docs/PokemonDetailPastAbilitiesInner.md +0 -20
- data/docs/PokemonDetailPastTypesInner.md +0 -20
- data/docs/PokemonDetailSprites.md +0 -18
- data/docs/PokemonDetailTypesInner.md +0 -20
- data/docs/PokemonFormDetailFormNamesInner.md +0 -20
- data/docs/PokemonFormDetailSprites.md +0 -18
- data/docs/PokemonShapeDetailAwesomeNamesInner.md +0 -20
- data/docs/PokemonShapeDetailNamesInner.md +0 -20
- data/docs/PokemonSpeciesDetailGeneraInner.md +0 -20
- data/docs/PokemonSpeciesDetailPalParkEncountersInner.md +0 -22
- data/docs/PokemonSpeciesDetailVarietiesInner.md +0 -20
- data/docs/StatDetailAffectingMoves.md +0 -20
- data/docs/StatDetailAffectingMovesIncreaseInner.md +0 -20
- data/docs/StatDetailAffectingNatures.md +0 -20
- data/docs/TypeDetailDamageRelations.md +0 -28
- data/docs/TypeDetailPastDamageRelationsInner.md +0 -20
- data/docs/TypeDetailPastDamageRelationsInnerDamageRelations.md +0 -28
- data/docs/TypeDetailPokemonInner.md +0 -20
- data/docs/TypeDetailPokemonInnerPokemon.md +0 -20
- data/docs/TypeDetailSpritesValueValue.md +0 -18
- data/lib/pokeapi_client/models/egg_group_detail_pokemon_species_inner.rb +0 -158
- data/lib/pokeapi_client/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner.rb +0 -606
- data/lib/pokeapi_client/models/item_detail_baby_trigger_for.rb +0 -164
- data/lib/pokeapi_client/models/move_detail_machines_inner_machine.rb +0 -164
- data/lib/pokeapi_client/models/pokeathlon_stat_detail_affecting_natures_decrease_inner.rb +0 -199
- data/lib/pokeapi_client/models/pokemon_form_detail_sprites.rb +0 -147
- data/lib/pokeapi_client/models/type_detail_past_damage_relations_inner_damage_relations.rb +0 -306
- data/lib/pokeapi_client/models/type_detail_pokemon_inner.rb +0 -156
- data/lib/pokeapi_client/models/type_detail_pokemon_inner_pokemon.rb +0 -158
- data/spec/models/berry_flavor_detail_berries_inner_berry_spec.rb +0 -42
- data/spec/models/egg_group_detail_pokemon_species_inner_spec.rb +0 -42
- data/spec/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_gender_spec.rb +0 -42
- data/spec/models/item_detail_baby_trigger_for_spec.rb +0 -36
- data/spec/models/item_detail_held_by_pokemon_inner_version_details_inner_spec.rb +0 -42
- data/spec/models/item_detail_machines_inner_spec.rb +0 -42
- data/spec/models/move_detail_machines_inner_machine_spec.rb +0 -36
- data/spec/models/pokeathlon_stat_detail_affecting_natures_increase_inner_spec.rb +0 -42
- data/spec/models/pokedex_detail_pokemon_entries_inner_spec.rb +0 -42
- data/spec/models/pokemon_detail_sprites_spec.rb +0 -36
- data/spec/models/pokemon_form_detail_sprites_spec.rb +0 -36
- data/spec/models/type_detail_sprites_value_value_spec.rb +0 -36
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#PokéAPI
|
|
3
3
|
|
|
4
|
-
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**](https://github.com/phalt) and other [**PokéAPI contributors**](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.10.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.26.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -19,6 +19,7 @@ module PokeApiClient
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
+
# List abilities
|
|
22
23
|
# Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but can have only one ability at a time. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Ability) for greater detail.
|
|
23
24
|
# @param [Hash] opts the optional parameters
|
|
24
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -30,6 +31,7 @@ module PokeApiClient
|
|
|
30
31
|
data
|
|
31
32
|
end
|
|
32
33
|
|
|
34
|
+
# List abilities
|
|
33
35
|
# Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but can have only one ability at a time. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Ability) for greater detail.
|
|
34
36
|
# @param [Hash] opts the optional parameters
|
|
35
37
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -64,7 +66,7 @@ module PokeApiClient
|
|
|
64
66
|
return_type = opts[:debug_return_type] || 'PaginatedAbilitySummaryList'
|
|
65
67
|
|
|
66
68
|
# auth_names
|
|
67
|
-
auth_names = opts[:debug_auth_names] || [
|
|
69
|
+
auth_names = opts[:debug_auth_names] || []
|
|
68
70
|
|
|
69
71
|
new_options = opts.merge(
|
|
70
72
|
:operation => :"PokemonApi.ability_list",
|
|
@@ -83,6 +85,7 @@ module PokeApiClient
|
|
|
83
85
|
return data, status_code, headers
|
|
84
86
|
end
|
|
85
87
|
|
|
88
|
+
# Get ability
|
|
86
89
|
# Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but can have only one ability at a time. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Ability) for greater detail.
|
|
87
90
|
# @param id [String] This parameter can be a string or an integer.
|
|
88
91
|
# @param [Hash] opts the optional parameters
|
|
@@ -92,6 +95,7 @@ module PokeApiClient
|
|
|
92
95
|
data
|
|
93
96
|
end
|
|
94
97
|
|
|
98
|
+
# Get ability
|
|
95
99
|
# Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but can have only one ability at a time. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Ability) for greater detail.
|
|
96
100
|
# @param id [String] This parameter can be a string or an integer.
|
|
97
101
|
# @param [Hash] opts the optional parameters
|
|
@@ -105,7 +109,7 @@ module PokeApiClient
|
|
|
105
109
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.ability_retrieve"
|
|
106
110
|
end
|
|
107
111
|
# resource path
|
|
108
|
-
local_var_path = '/api/v2/ability/{id}/'.sub('{
|
|
112
|
+
local_var_path = '/api/v2/ability/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
109
113
|
|
|
110
114
|
# query parameters
|
|
111
115
|
query_params = opts[:query_params] || {}
|
|
@@ -125,7 +129,7 @@ module PokeApiClient
|
|
|
125
129
|
return_type = opts[:debug_return_type] || 'AbilityDetail'
|
|
126
130
|
|
|
127
131
|
# auth_names
|
|
128
|
-
auth_names = opts[:debug_auth_names] || [
|
|
132
|
+
auth_names = opts[:debug_auth_names] || []
|
|
129
133
|
|
|
130
134
|
new_options = opts.merge(
|
|
131
135
|
:operation => :"PokemonApi.ability_retrieve",
|
|
@@ -144,24 +148,22 @@ module PokeApiClient
|
|
|
144
148
|
return data, status_code, headers
|
|
145
149
|
end
|
|
146
150
|
|
|
147
|
-
# List
|
|
151
|
+
# List characteristics
|
|
148
152
|
# Characteristics indicate which stat contains a Pokémon's highest IV. A Pokémon's Characteristic is determined by the remainder of its highest IV divided by 5 (gene_modulo). Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Characteristic) for greater detail.
|
|
149
153
|
# @param [Hash] opts the optional parameters
|
|
150
154
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
151
155
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
152
|
-
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
153
156
|
# @return [PaginatedCharacteristicSummaryList]
|
|
154
157
|
def characteristic_list(opts = {})
|
|
155
158
|
data, _status_code, _headers = characteristic_list_with_http_info(opts)
|
|
156
159
|
data
|
|
157
160
|
end
|
|
158
161
|
|
|
159
|
-
# List
|
|
162
|
+
# List characteristics
|
|
160
163
|
# Characteristics indicate which stat contains a Pokémon's highest IV. A Pokémon's Characteristic is determined by the remainder of its highest IV divided by 5 (gene_modulo). Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Characteristic) for greater detail.
|
|
161
164
|
# @param [Hash] opts the optional parameters
|
|
162
165
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
163
166
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
164
|
-
# @option opts [String] :q > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
165
167
|
# @return [Array<(PaginatedCharacteristicSummaryList, Integer, Hash)>] PaginatedCharacteristicSummaryList data, response status code and response headers
|
|
166
168
|
def characteristic_list_with_http_info(opts = {})
|
|
167
169
|
if @api_client.config.debugging
|
|
@@ -174,7 +176,6 @@ module PokeApiClient
|
|
|
174
176
|
query_params = opts[:query_params] || {}
|
|
175
177
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
176
178
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
177
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
178
179
|
|
|
179
180
|
# header parameters
|
|
180
181
|
header_params = opts[:header_params] || {}
|
|
@@ -191,7 +192,7 @@ module PokeApiClient
|
|
|
191
192
|
return_type = opts[:debug_return_type] || 'PaginatedCharacteristicSummaryList'
|
|
192
193
|
|
|
193
194
|
# auth_names
|
|
194
|
-
auth_names = opts[:debug_auth_names] || [
|
|
195
|
+
auth_names = opts[:debug_auth_names] || []
|
|
195
196
|
|
|
196
197
|
new_options = opts.merge(
|
|
197
198
|
:operation => :"PokemonApi.characteristic_list",
|
|
@@ -234,7 +235,7 @@ module PokeApiClient
|
|
|
234
235
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.characteristic_retrieve"
|
|
235
236
|
end
|
|
236
237
|
# resource path
|
|
237
|
-
local_var_path = '/api/v2/characteristic/{id}/'.sub('{
|
|
238
|
+
local_var_path = '/api/v2/characteristic/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
238
239
|
|
|
239
240
|
# query parameters
|
|
240
241
|
query_params = opts[:query_params] || {}
|
|
@@ -254,7 +255,7 @@ module PokeApiClient
|
|
|
254
255
|
return_type = opts[:debug_return_type] || 'CharacteristicDetail'
|
|
255
256
|
|
|
256
257
|
# auth_names
|
|
257
|
-
auth_names = opts[:debug_auth_names] || [
|
|
258
|
+
auth_names = opts[:debug_auth_names] || []
|
|
258
259
|
|
|
259
260
|
new_options = opts.merge(
|
|
260
261
|
:operation => :"PokemonApi.characteristic_retrieve",
|
|
@@ -320,7 +321,7 @@ module PokeApiClient
|
|
|
320
321
|
return_type = opts[:debug_return_type] || 'PaginatedEggGroupSummaryList'
|
|
321
322
|
|
|
322
323
|
# auth_names
|
|
323
|
-
auth_names = opts[:debug_auth_names] || [
|
|
324
|
+
auth_names = opts[:debug_auth_names] || []
|
|
324
325
|
|
|
325
326
|
new_options = opts.merge(
|
|
326
327
|
:operation => :"PokemonApi.egg_group_list",
|
|
@@ -363,7 +364,7 @@ module PokeApiClient
|
|
|
363
364
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.egg_group_retrieve"
|
|
364
365
|
end
|
|
365
366
|
# resource path
|
|
366
|
-
local_var_path = '/api/v2/egg-group/{id}/'.sub('{
|
|
367
|
+
local_var_path = '/api/v2/egg-group/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
367
368
|
|
|
368
369
|
# query parameters
|
|
369
370
|
query_params = opts[:query_params] || {}
|
|
@@ -383,7 +384,7 @@ module PokeApiClient
|
|
|
383
384
|
return_type = opts[:debug_return_type] || 'EggGroupDetail'
|
|
384
385
|
|
|
385
386
|
# auth_names
|
|
386
|
-
auth_names = opts[:debug_auth_names] || [
|
|
387
|
+
auth_names = opts[:debug_auth_names] || []
|
|
387
388
|
|
|
388
389
|
new_options = opts.merge(
|
|
389
390
|
:operation => :"PokemonApi.egg_group_retrieve",
|
|
@@ -449,7 +450,7 @@ module PokeApiClient
|
|
|
449
450
|
return_type = opts[:debug_return_type] || 'PaginatedGenderSummaryList'
|
|
450
451
|
|
|
451
452
|
# auth_names
|
|
452
|
-
auth_names = opts[:debug_auth_names] || [
|
|
453
|
+
auth_names = opts[:debug_auth_names] || []
|
|
453
454
|
|
|
454
455
|
new_options = opts.merge(
|
|
455
456
|
:operation => :"PokemonApi.gender_list",
|
|
@@ -492,7 +493,7 @@ module PokeApiClient
|
|
|
492
493
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.gender_retrieve"
|
|
493
494
|
end
|
|
494
495
|
# resource path
|
|
495
|
-
local_var_path = '/api/v2/gender/{id}/'.sub('{
|
|
496
|
+
local_var_path = '/api/v2/gender/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
496
497
|
|
|
497
498
|
# query parameters
|
|
498
499
|
query_params = opts[:query_params] || {}
|
|
@@ -512,7 +513,7 @@ module PokeApiClient
|
|
|
512
513
|
return_type = opts[:debug_return_type] || 'GenderDetail'
|
|
513
514
|
|
|
514
515
|
# auth_names
|
|
515
|
-
auth_names = opts[:debug_auth_names] || [
|
|
516
|
+
auth_names = opts[:debug_auth_names] || []
|
|
516
517
|
|
|
517
518
|
new_options = opts.merge(
|
|
518
519
|
:operation => :"PokemonApi.gender_retrieve",
|
|
@@ -578,7 +579,7 @@ module PokeApiClient
|
|
|
578
579
|
return_type = opts[:debug_return_type] || 'PaginatedGrowthRateSummaryList'
|
|
579
580
|
|
|
580
581
|
# auth_names
|
|
581
|
-
auth_names = opts[:debug_auth_names] || [
|
|
582
|
+
auth_names = opts[:debug_auth_names] || []
|
|
582
583
|
|
|
583
584
|
new_options = opts.merge(
|
|
584
585
|
:operation => :"PokemonApi.growth_rate_list",
|
|
@@ -621,7 +622,7 @@ module PokeApiClient
|
|
|
621
622
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.growth_rate_retrieve"
|
|
622
623
|
end
|
|
623
624
|
# resource path
|
|
624
|
-
local_var_path = '/api/v2/growth-rate/{id}/'.sub('{
|
|
625
|
+
local_var_path = '/api/v2/growth-rate/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
625
626
|
|
|
626
627
|
# query parameters
|
|
627
628
|
query_params = opts[:query_params] || {}
|
|
@@ -641,7 +642,7 @@ module PokeApiClient
|
|
|
641
642
|
return_type = opts[:debug_return_type] || 'GrowthRateDetail'
|
|
642
643
|
|
|
643
644
|
# auth_names
|
|
644
|
-
auth_names = opts[:debug_auth_names] || [
|
|
645
|
+
auth_names = opts[:debug_auth_names] || []
|
|
645
646
|
|
|
646
647
|
new_options = opts.merge(
|
|
647
648
|
:operation => :"PokemonApi.growth_rate_retrieve",
|
|
@@ -707,7 +708,7 @@ module PokeApiClient
|
|
|
707
708
|
return_type = opts[:debug_return_type] || 'PaginatedMoveDamageClassSummaryList'
|
|
708
709
|
|
|
709
710
|
# auth_names
|
|
710
|
-
auth_names = opts[:debug_auth_names] || [
|
|
711
|
+
auth_names = opts[:debug_auth_names] || []
|
|
711
712
|
|
|
712
713
|
new_options = opts.merge(
|
|
713
714
|
:operation => :"PokemonApi.move_damage_class_list",
|
|
@@ -750,7 +751,7 @@ module PokeApiClient
|
|
|
750
751
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.move_damage_class_retrieve"
|
|
751
752
|
end
|
|
752
753
|
# resource path
|
|
753
|
-
local_var_path = '/api/v2/move-damage-class/{id}/'.sub('{
|
|
754
|
+
local_var_path = '/api/v2/move-damage-class/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
754
755
|
|
|
755
756
|
# query parameters
|
|
756
757
|
query_params = opts[:query_params] || {}
|
|
@@ -770,7 +771,7 @@ module PokeApiClient
|
|
|
770
771
|
return_type = opts[:debug_return_type] || 'MoveDamageClassDetail'
|
|
771
772
|
|
|
772
773
|
# auth_names
|
|
773
|
-
auth_names = opts[:debug_auth_names] || [
|
|
774
|
+
auth_names = opts[:debug_auth_names] || []
|
|
774
775
|
|
|
775
776
|
new_options = opts.merge(
|
|
776
777
|
:operation => :"PokemonApi.move_damage_class_retrieve",
|
|
@@ -836,7 +837,7 @@ module PokeApiClient
|
|
|
836
837
|
return_type = opts[:debug_return_type] || 'PaginatedNatureSummaryList'
|
|
837
838
|
|
|
838
839
|
# auth_names
|
|
839
|
-
auth_names = opts[:debug_auth_names] || [
|
|
840
|
+
auth_names = opts[:debug_auth_names] || []
|
|
840
841
|
|
|
841
842
|
new_options = opts.merge(
|
|
842
843
|
:operation => :"PokemonApi.nature_list",
|
|
@@ -879,7 +880,7 @@ module PokeApiClient
|
|
|
879
880
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.nature_retrieve"
|
|
880
881
|
end
|
|
881
882
|
# resource path
|
|
882
|
-
local_var_path = '/api/v2/nature/{id}/'.sub('{
|
|
883
|
+
local_var_path = '/api/v2/nature/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
883
884
|
|
|
884
885
|
# query parameters
|
|
885
886
|
query_params = opts[:query_params] || {}
|
|
@@ -899,7 +900,7 @@ module PokeApiClient
|
|
|
899
900
|
return_type = opts[:debug_return_type] || 'NatureDetail'
|
|
900
901
|
|
|
901
902
|
# auth_names
|
|
902
|
-
auth_names = opts[:debug_auth_names] || [
|
|
903
|
+
auth_names = opts[:debug_auth_names] || []
|
|
903
904
|
|
|
904
905
|
new_options = opts.merge(
|
|
905
906
|
:operation => :"PokemonApi.nature_retrieve",
|
|
@@ -965,7 +966,7 @@ module PokeApiClient
|
|
|
965
966
|
return_type = opts[:debug_return_type] || 'PaginatedPokeathlonStatSummaryList'
|
|
966
967
|
|
|
967
968
|
# auth_names
|
|
968
|
-
auth_names = opts[:debug_auth_names] || [
|
|
969
|
+
auth_names = opts[:debug_auth_names] || []
|
|
969
970
|
|
|
970
971
|
new_options = opts.merge(
|
|
971
972
|
:operation => :"PokemonApi.pokeathlon_stat_list",
|
|
@@ -1008,7 +1009,7 @@ module PokeApiClient
|
|
|
1008
1009
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.pokeathlon_stat_retrieve"
|
|
1009
1010
|
end
|
|
1010
1011
|
# resource path
|
|
1011
|
-
local_var_path = '/api/v2/pokeathlon-stat/{id}/'.sub('{
|
|
1012
|
+
local_var_path = '/api/v2/pokeathlon-stat/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1012
1013
|
|
|
1013
1014
|
# query parameters
|
|
1014
1015
|
query_params = opts[:query_params] || {}
|
|
@@ -1028,7 +1029,7 @@ module PokeApiClient
|
|
|
1028
1029
|
return_type = opts[:debug_return_type] || 'PokeathlonStatDetail'
|
|
1029
1030
|
|
|
1030
1031
|
# auth_names
|
|
1031
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1032
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1032
1033
|
|
|
1033
1034
|
new_options = opts.merge(
|
|
1034
1035
|
:operation => :"PokemonApi.pokeathlon_stat_retrieve",
|
|
@@ -1094,7 +1095,7 @@ module PokeApiClient
|
|
|
1094
1095
|
return_type = opts[:debug_return_type] || 'PaginatedPokemonColorSummaryList'
|
|
1095
1096
|
|
|
1096
1097
|
# auth_names
|
|
1097
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1098
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1098
1099
|
|
|
1099
1100
|
new_options = opts.merge(
|
|
1100
1101
|
:operation => :"PokemonApi.pokemon_color_list",
|
|
@@ -1137,7 +1138,7 @@ module PokeApiClient
|
|
|
1137
1138
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.pokemon_color_retrieve"
|
|
1138
1139
|
end
|
|
1139
1140
|
# resource path
|
|
1140
|
-
local_var_path = '/api/v2/pokemon-color/{id}/'.sub('{
|
|
1141
|
+
local_var_path = '/api/v2/pokemon-color/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1141
1142
|
|
|
1142
1143
|
# query parameters
|
|
1143
1144
|
query_params = opts[:query_params] || {}
|
|
@@ -1157,7 +1158,7 @@ module PokeApiClient
|
|
|
1157
1158
|
return_type = opts[:debug_return_type] || 'PokemonColorDetail'
|
|
1158
1159
|
|
|
1159
1160
|
# auth_names
|
|
1160
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1161
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1161
1162
|
|
|
1162
1163
|
new_options = opts.merge(
|
|
1163
1164
|
:operation => :"PokemonApi.pokemon_color_retrieve",
|
|
@@ -1223,7 +1224,7 @@ module PokeApiClient
|
|
|
1223
1224
|
return_type = opts[:debug_return_type] || 'PaginatedPokemonFormSummaryList'
|
|
1224
1225
|
|
|
1225
1226
|
# auth_names
|
|
1226
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1227
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1227
1228
|
|
|
1228
1229
|
new_options = opts.merge(
|
|
1229
1230
|
:operation => :"PokemonApi.pokemon_form_list",
|
|
@@ -1266,7 +1267,7 @@ module PokeApiClient
|
|
|
1266
1267
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.pokemon_form_retrieve"
|
|
1267
1268
|
end
|
|
1268
1269
|
# resource path
|
|
1269
|
-
local_var_path = '/api/v2/pokemon-form/{id}/'.sub('{
|
|
1270
|
+
local_var_path = '/api/v2/pokemon-form/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1270
1271
|
|
|
1271
1272
|
# query parameters
|
|
1272
1273
|
query_params = opts[:query_params] || {}
|
|
@@ -1286,7 +1287,7 @@ module PokeApiClient
|
|
|
1286
1287
|
return_type = opts[:debug_return_type] || 'PokemonFormDetail'
|
|
1287
1288
|
|
|
1288
1289
|
# auth_names
|
|
1289
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1290
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1290
1291
|
|
|
1291
1292
|
new_options = opts.merge(
|
|
1292
1293
|
:operation => :"PokemonApi.pokemon_form_retrieve",
|
|
@@ -1352,7 +1353,7 @@ module PokeApiClient
|
|
|
1352
1353
|
return_type = opts[:debug_return_type] || 'PaginatedPokemonHabitatSummaryList'
|
|
1353
1354
|
|
|
1354
1355
|
# auth_names
|
|
1355
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1356
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1356
1357
|
|
|
1357
1358
|
new_options = opts.merge(
|
|
1358
1359
|
:operation => :"PokemonApi.pokemon_habitat_list",
|
|
@@ -1395,7 +1396,7 @@ module PokeApiClient
|
|
|
1395
1396
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.pokemon_habitat_retrieve"
|
|
1396
1397
|
end
|
|
1397
1398
|
# resource path
|
|
1398
|
-
local_var_path = '/api/v2/pokemon-habitat/{id}/'.sub('{
|
|
1399
|
+
local_var_path = '/api/v2/pokemon-habitat/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1399
1400
|
|
|
1400
1401
|
# query parameters
|
|
1401
1402
|
query_params = opts[:query_params] || {}
|
|
@@ -1415,7 +1416,7 @@ module PokeApiClient
|
|
|
1415
1416
|
return_type = opts[:debug_return_type] || 'PokemonHabitatDetail'
|
|
1416
1417
|
|
|
1417
1418
|
# auth_names
|
|
1418
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1419
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1419
1420
|
|
|
1420
1421
|
new_options = opts.merge(
|
|
1421
1422
|
:operation => :"PokemonApi.pokemon_habitat_retrieve",
|
|
@@ -1481,7 +1482,7 @@ module PokeApiClient
|
|
|
1481
1482
|
return_type = opts[:debug_return_type] || 'PaginatedPokemonSummaryList'
|
|
1482
1483
|
|
|
1483
1484
|
# auth_names
|
|
1484
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1485
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1485
1486
|
|
|
1486
1487
|
new_options = opts.merge(
|
|
1487
1488
|
:operation => :"PokemonApi.pokemon_list",
|
|
@@ -1524,7 +1525,7 @@ module PokeApiClient
|
|
|
1524
1525
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.pokemon_retrieve"
|
|
1525
1526
|
end
|
|
1526
1527
|
# resource path
|
|
1527
|
-
local_var_path = '/api/v2/pokemon/{id}/'.sub('{
|
|
1528
|
+
local_var_path = '/api/v2/pokemon/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1528
1529
|
|
|
1529
1530
|
# query parameters
|
|
1530
1531
|
query_params = opts[:query_params] || {}
|
|
@@ -1544,7 +1545,7 @@ module PokeApiClient
|
|
|
1544
1545
|
return_type = opts[:debug_return_type] || 'PokemonDetail'
|
|
1545
1546
|
|
|
1546
1547
|
# auth_names
|
|
1547
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1548
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1548
1549
|
|
|
1549
1550
|
new_options = opts.merge(
|
|
1550
1551
|
:operation => :"PokemonApi.pokemon_retrieve",
|
|
@@ -1610,7 +1611,7 @@ module PokeApiClient
|
|
|
1610
1611
|
return_type = opts[:debug_return_type] || 'PaginatedPokemonShapeSummaryList'
|
|
1611
1612
|
|
|
1612
1613
|
# auth_names
|
|
1613
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1614
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1614
1615
|
|
|
1615
1616
|
new_options = opts.merge(
|
|
1616
1617
|
:operation => :"PokemonApi.pokemon_shape_list",
|
|
@@ -1653,7 +1654,7 @@ module PokeApiClient
|
|
|
1653
1654
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.pokemon_shape_retrieve"
|
|
1654
1655
|
end
|
|
1655
1656
|
# resource path
|
|
1656
|
-
local_var_path = '/api/v2/pokemon-shape/{id}/'.sub('{
|
|
1657
|
+
local_var_path = '/api/v2/pokemon-shape/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1657
1658
|
|
|
1658
1659
|
# query parameters
|
|
1659
1660
|
query_params = opts[:query_params] || {}
|
|
@@ -1673,7 +1674,7 @@ module PokeApiClient
|
|
|
1673
1674
|
return_type = opts[:debug_return_type] || 'PokemonShapeDetail'
|
|
1674
1675
|
|
|
1675
1676
|
# auth_names
|
|
1676
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1677
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1677
1678
|
|
|
1678
1679
|
new_options = opts.merge(
|
|
1679
1680
|
:operation => :"PokemonApi.pokemon_shape_retrieve",
|
|
@@ -1739,7 +1740,7 @@ module PokeApiClient
|
|
|
1739
1740
|
return_type = opts[:debug_return_type] || 'PaginatedPokemonSpeciesSummaryList'
|
|
1740
1741
|
|
|
1741
1742
|
# auth_names
|
|
1742
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1743
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1743
1744
|
|
|
1744
1745
|
new_options = opts.merge(
|
|
1745
1746
|
:operation => :"PokemonApi.pokemon_species_list",
|
|
@@ -1782,7 +1783,7 @@ module PokeApiClient
|
|
|
1782
1783
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.pokemon_species_retrieve"
|
|
1783
1784
|
end
|
|
1784
1785
|
# resource path
|
|
1785
|
-
local_var_path = '/api/v2/pokemon-species/{id}/'.sub('{
|
|
1786
|
+
local_var_path = '/api/v2/pokemon-species/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1786
1787
|
|
|
1787
1788
|
# query parameters
|
|
1788
1789
|
query_params = opts[:query_params] || {}
|
|
@@ -1802,7 +1803,7 @@ module PokeApiClient
|
|
|
1802
1803
|
return_type = opts[:debug_return_type] || 'PokemonSpeciesDetail'
|
|
1803
1804
|
|
|
1804
1805
|
# auth_names
|
|
1805
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1806
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1806
1807
|
|
|
1807
1808
|
new_options = opts.merge(
|
|
1808
1809
|
:operation => :"PokemonApi.pokemon_species_retrieve",
|
|
@@ -1868,7 +1869,7 @@ module PokeApiClient
|
|
|
1868
1869
|
return_type = opts[:debug_return_type] || 'PaginatedStatSummaryList'
|
|
1869
1870
|
|
|
1870
1871
|
# auth_names
|
|
1871
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1872
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1872
1873
|
|
|
1873
1874
|
new_options = opts.merge(
|
|
1874
1875
|
:operation => :"PokemonApi.stat_list",
|
|
@@ -1911,7 +1912,7 @@ module PokeApiClient
|
|
|
1911
1912
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.stat_retrieve"
|
|
1912
1913
|
end
|
|
1913
1914
|
# resource path
|
|
1914
|
-
local_var_path = '/api/v2/stat/{id}/'.sub('{
|
|
1915
|
+
local_var_path = '/api/v2/stat/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1915
1916
|
|
|
1916
1917
|
# query parameters
|
|
1917
1918
|
query_params = opts[:query_params] || {}
|
|
@@ -1931,7 +1932,7 @@ module PokeApiClient
|
|
|
1931
1932
|
return_type = opts[:debug_return_type] || 'StatDetail'
|
|
1932
1933
|
|
|
1933
1934
|
# auth_names
|
|
1934
|
-
auth_names = opts[:debug_auth_names] || [
|
|
1935
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1935
1936
|
|
|
1936
1937
|
new_options = opts.merge(
|
|
1937
1938
|
:operation => :"PokemonApi.stat_retrieve",
|
|
@@ -1997,7 +1998,7 @@ module PokeApiClient
|
|
|
1997
1998
|
return_type = opts[:debug_return_type] || 'PaginatedTypeSummaryList'
|
|
1998
1999
|
|
|
1999
2000
|
# auth_names
|
|
2000
|
-
auth_names = opts[:debug_auth_names] || [
|
|
2001
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2001
2002
|
|
|
2002
2003
|
new_options = opts.merge(
|
|
2003
2004
|
:operation => :"PokemonApi.type_list",
|
|
@@ -2040,7 +2041,7 @@ module PokeApiClient
|
|
|
2040
2041
|
fail ArgumentError, "Missing the required parameter 'id' when calling PokemonApi.type_retrieve"
|
|
2041
2042
|
end
|
|
2042
2043
|
# resource path
|
|
2043
|
-
local_var_path = '/api/v2/type/{id}/'.sub('{
|
|
2044
|
+
local_var_path = '/api/v2/type/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
2044
2045
|
|
|
2045
2046
|
# query parameters
|
|
2046
2047
|
query_params = opts[:query_params] || {}
|
|
@@ -2060,7 +2061,7 @@ module PokeApiClient
|
|
|
2060
2061
|
return_type = opts[:debug_return_type] || 'TypeDetail'
|
|
2061
2062
|
|
|
2062
2063
|
# auth_names
|
|
2063
|
-
auth_names = opts[:debug_auth_names] || [
|
|
2064
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2064
2065
|
|
|
2065
2066
|
new_options = opts.merge(
|
|
2066
2067
|
:operation => :"PokemonApi.type_retrieve",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#PokéAPI
|
|
3
3
|
|
|
4
|
-
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**](https://github.com/phalt) and other [**PokéAPI contributors**](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.10.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.26.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -66,7 +66,7 @@ module PokeApiClient
|
|
|
66
66
|
return_type = opts[:debug_return_type] || 'PaginatedLanguageSummaryList'
|
|
67
67
|
|
|
68
68
|
# auth_names
|
|
69
|
-
auth_names = opts[:debug_auth_names] || [
|
|
69
|
+
auth_names = opts[:debug_auth_names] || []
|
|
70
70
|
|
|
71
71
|
new_options = opts.merge(
|
|
72
72
|
:operation => :"UtilityApi.language_list",
|
|
@@ -109,7 +109,7 @@ module PokeApiClient
|
|
|
109
109
|
fail ArgumentError, "Missing the required parameter 'id' when calling UtilityApi.language_retrieve"
|
|
110
110
|
end
|
|
111
111
|
# resource path
|
|
112
|
-
local_var_path = '/api/v2/language/{id}/'.sub('{
|
|
112
|
+
local_var_path = '/api/v2/language/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
113
113
|
|
|
114
114
|
# query parameters
|
|
115
115
|
query_params = opts[:query_params] || {}
|
|
@@ -129,7 +129,7 @@ module PokeApiClient
|
|
|
129
129
|
return_type = opts[:debug_return_type] || 'LanguageDetail'
|
|
130
130
|
|
|
131
131
|
# auth_names
|
|
132
|
-
auth_names = opts[:debug_auth_names] || [
|
|
132
|
+
auth_names = opts[:debug_auth_names] || []
|
|
133
133
|
|
|
134
134
|
new_options = opts.merge(
|
|
135
135
|
:operation => :"UtilityApi.language_retrieve",
|
|
@@ -147,5 +147,62 @@ module PokeApiClient
|
|
|
147
147
|
end
|
|
148
148
|
return data, status_code, headers
|
|
149
149
|
end
|
|
150
|
+
|
|
151
|
+
# Get API metadata
|
|
152
|
+
# Returns metadata about the current deployed version of the API, including the git commit hash, deploy date, and tag (if any).
|
|
153
|
+
# @param [Hash] opts the optional parameters
|
|
154
|
+
# @return [PokeapiMetaResponse]
|
|
155
|
+
def meta_retrieve(opts = {})
|
|
156
|
+
data, _status_code, _headers = meta_retrieve_with_http_info(opts)
|
|
157
|
+
data
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# Get API metadata
|
|
161
|
+
# Returns metadata about the current deployed version of the API, including the git commit hash, deploy date, and tag (if any).
|
|
162
|
+
# @param [Hash] opts the optional parameters
|
|
163
|
+
# @return [Array<(PokeapiMetaResponse, Integer, Hash)>] PokeapiMetaResponse data, response status code and response headers
|
|
164
|
+
def meta_retrieve_with_http_info(opts = {})
|
|
165
|
+
if @api_client.config.debugging
|
|
166
|
+
@api_client.config.logger.debug 'Calling API: UtilityApi.meta_retrieve ...'
|
|
167
|
+
end
|
|
168
|
+
# resource path
|
|
169
|
+
local_var_path = '/api/v2/meta/'
|
|
170
|
+
|
|
171
|
+
# query parameters
|
|
172
|
+
query_params = opts[:query_params] || {}
|
|
173
|
+
|
|
174
|
+
# header parameters
|
|
175
|
+
header_params = opts[:header_params] || {}
|
|
176
|
+
# HTTP header 'Accept' (if needed)
|
|
177
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
178
|
+
|
|
179
|
+
# form parameters
|
|
180
|
+
form_params = opts[:form_params] || {}
|
|
181
|
+
|
|
182
|
+
# http body (model)
|
|
183
|
+
post_body = opts[:debug_body]
|
|
184
|
+
|
|
185
|
+
# return_type
|
|
186
|
+
return_type = opts[:debug_return_type] || 'PokeapiMetaResponse'
|
|
187
|
+
|
|
188
|
+
# auth_names
|
|
189
|
+
auth_names = opts[:debug_auth_names] || []
|
|
190
|
+
|
|
191
|
+
new_options = opts.merge(
|
|
192
|
+
:operation => :"UtilityApi.meta_retrieve",
|
|
193
|
+
:header_params => header_params,
|
|
194
|
+
:query_params => query_params,
|
|
195
|
+
:form_params => form_params,
|
|
196
|
+
:body => post_body,
|
|
197
|
+
:auth_names => auth_names,
|
|
198
|
+
:return_type => return_type
|
|
199
|
+
)
|
|
200
|
+
|
|
201
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
202
|
+
if @api_client.config.debugging
|
|
203
|
+
@api_client.config.logger.debug "API called: UtilityApi#meta_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
204
|
+
end
|
|
205
|
+
return data, status_code, headers
|
|
206
|
+
end
|
|
150
207
|
end
|
|
151
208
|
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#PokéAPI
|
|
3
3
|
|
|
4
|
-
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**](https://github.com/phalt) and other [**PokéAPI contributors**](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.10.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.26.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -100,7 +100,6 @@ module PokeApiClient
|
|
|
100
100
|
form_params = opts[:form_params] || {}
|
|
101
101
|
follow_location = opts[:follow_location] || true
|
|
102
102
|
|
|
103
|
-
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
|
104
103
|
|
|
105
104
|
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
|
106
105
|
_verify_ssl_host = @config.verify_ssl_host ? 2 : 0
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#PokéAPI
|
|
3
3
|
|
|
4
|
-
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(
|
|
4
|
+
#All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**](https://github.com/phalt) and other [**PokéAPI contributors**](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2.
|
|
6
|
+
The version of the OpenAPI document: 2.10.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.26.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|