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
|
@@ -0,0 +1,785 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#PokéAPI
|
|
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**](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
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.10.0
|
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.26.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module PokeApiClient
|
|
17
|
+
class PokemonEvolution < ApiModelBase
|
|
18
|
+
# The version group in which these evolution requirements apply.
|
|
19
|
+
attr_accessor :version_group
|
|
20
|
+
|
|
21
|
+
# Whether the evolution is considered as the expected evolution in a main series game. Each unique Pokémon variety of a line capable of evolution should have exactly one 'default' evolution. For example, the Meowth species has three default evolutions as there are three distinct varieties it can evolve into: Persian, Alolan Persian, and Perrserker.
|
|
22
|
+
attr_accessor :is_default
|
|
23
|
+
|
|
24
|
+
# The item required to cause evolution this into Pokémon species.
|
|
25
|
+
attr_accessor :item
|
|
26
|
+
|
|
27
|
+
# The type of event that triggers evolution into this Pokémon species.
|
|
28
|
+
attr_accessor :trigger
|
|
29
|
+
|
|
30
|
+
# The id of the gender of the evolving Pokémon species must be in order to evolve into this Pokémon species.
|
|
31
|
+
attr_accessor :gender
|
|
32
|
+
|
|
33
|
+
# The item the evolving Pokémon species must be holding during the evolution trigger event to evolve into this Pokémon species.
|
|
34
|
+
attr_accessor :held_item
|
|
35
|
+
|
|
36
|
+
attr_accessor :known_move
|
|
37
|
+
|
|
38
|
+
attr_accessor :known_move_type
|
|
39
|
+
|
|
40
|
+
# The location the evolution must be triggered at.
|
|
41
|
+
attr_accessor :location
|
|
42
|
+
|
|
43
|
+
# The minimum required level of the evolving Pokémon species to evolve into this Pokémon species.
|
|
44
|
+
attr_accessor :min_level
|
|
45
|
+
|
|
46
|
+
# The minimum required level of happiness the evolving Pokémon species to evolve into this Pokémon species.
|
|
47
|
+
attr_accessor :min_happiness
|
|
48
|
+
|
|
49
|
+
# The minimum required level of beauty the evolving Pokémon species to evolve into this Pokémon species.
|
|
50
|
+
attr_accessor :min_beauty
|
|
51
|
+
|
|
52
|
+
# The minimum required level of affection the evolving Pokémon species to evolve into this Pokémon species.
|
|
53
|
+
attr_accessor :min_affection
|
|
54
|
+
|
|
55
|
+
# Whether or not you need to be near a Moss Rock or Icy Rock to evolve into this Pokémon species.
|
|
56
|
+
attr_accessor :near_special_rock
|
|
57
|
+
|
|
58
|
+
# Whether or not multiplayer link play is needed to evolve into this Pokémon species (e.g. Union Circle).
|
|
59
|
+
attr_accessor :needs_multiplayer
|
|
60
|
+
|
|
61
|
+
# Whether or not it must be raining in the overworld to cause evolution this Pokémon species.
|
|
62
|
+
attr_accessor :needs_overworld_rain
|
|
63
|
+
|
|
64
|
+
# The Pokémon species that must be in the players party in order for the evolving Pokémon species to evolve into this Pokémon species.
|
|
65
|
+
attr_accessor :party_species
|
|
66
|
+
|
|
67
|
+
# The player must have a Pokémon of this type in their party during the evolution trigger event in order for the evolving Pokémon species to evolve into this Pokémon species.
|
|
68
|
+
attr_accessor :party_type
|
|
69
|
+
|
|
70
|
+
# The required relation between the Pokémon's Attack and Defense stats. 1 means Attack > Defense. 0 means Attack = Defense. -1 means Attack < Defense.
|
|
71
|
+
attr_accessor :relative_physical_stats
|
|
72
|
+
|
|
73
|
+
# The required time of day. Day or night.
|
|
74
|
+
attr_accessor :time_of_day
|
|
75
|
+
|
|
76
|
+
# Pokémon species for which this one must be traded.
|
|
77
|
+
attr_accessor :trade_species
|
|
78
|
+
|
|
79
|
+
# Whether or not the 3DS needs to be turned upside-down as this Pokémon levels up.
|
|
80
|
+
attr_accessor :turn_upside_down
|
|
81
|
+
|
|
82
|
+
# The required region in which this evolution can occur.
|
|
83
|
+
attr_accessor :region
|
|
84
|
+
|
|
85
|
+
# The Pokémon form required before evolving, or null if unrestricted.
|
|
86
|
+
attr_accessor :required_pokemon_form
|
|
87
|
+
|
|
88
|
+
# The Pokémon form produced by this evolution, or null if unspecified.
|
|
89
|
+
attr_accessor :evolved_pokemon_form
|
|
90
|
+
|
|
91
|
+
# The move that must be used by the evolving Pokémon species during the evolution trigger event in order to evolve into this Pokémon species.
|
|
92
|
+
attr_accessor :used_move
|
|
93
|
+
|
|
94
|
+
# The minimum number of times a move must be used in order to evolve into this Pokémon species.
|
|
95
|
+
attr_accessor :min_move_count
|
|
96
|
+
|
|
97
|
+
# The minimum number of steps that must be taken in order to evolve into this Pokémon species.
|
|
98
|
+
attr_accessor :min_steps
|
|
99
|
+
|
|
100
|
+
# The minimum amount of damage taken during the evolution trigger event in order to evolve into this Pokémon species.
|
|
101
|
+
attr_accessor :min_damage_taken
|
|
102
|
+
|
|
103
|
+
# The natures that allow this evolution, or null if unrestricted.
|
|
104
|
+
attr_accessor :allowed_natures
|
|
105
|
+
|
|
106
|
+
# An additional evolution condition expressed in reverse Polish notation, or null if none.
|
|
107
|
+
attr_accessor :condition_expression
|
|
108
|
+
|
|
109
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
110
|
+
def self.attribute_map
|
|
111
|
+
{
|
|
112
|
+
:'version_group' => :'version_group',
|
|
113
|
+
:'is_default' => :'is_default',
|
|
114
|
+
:'item' => :'item',
|
|
115
|
+
:'trigger' => :'trigger',
|
|
116
|
+
:'gender' => :'gender',
|
|
117
|
+
:'held_item' => :'held_item',
|
|
118
|
+
:'known_move' => :'known_move',
|
|
119
|
+
:'known_move_type' => :'known_move_type',
|
|
120
|
+
:'location' => :'location',
|
|
121
|
+
:'min_level' => :'min_level',
|
|
122
|
+
:'min_happiness' => :'min_happiness',
|
|
123
|
+
:'min_beauty' => :'min_beauty',
|
|
124
|
+
:'min_affection' => :'min_affection',
|
|
125
|
+
:'near_special_rock' => :'near_special_rock',
|
|
126
|
+
:'needs_multiplayer' => :'needs_multiplayer',
|
|
127
|
+
:'needs_overworld_rain' => :'needs_overworld_rain',
|
|
128
|
+
:'party_species' => :'party_species',
|
|
129
|
+
:'party_type' => :'party_type',
|
|
130
|
+
:'relative_physical_stats' => :'relative_physical_stats',
|
|
131
|
+
:'time_of_day' => :'time_of_day',
|
|
132
|
+
:'trade_species' => :'trade_species',
|
|
133
|
+
:'turn_upside_down' => :'turn_upside_down',
|
|
134
|
+
:'region' => :'region',
|
|
135
|
+
:'required_pokemon_form' => :'required_pokemon_form',
|
|
136
|
+
:'evolved_pokemon_form' => :'evolved_pokemon_form',
|
|
137
|
+
:'used_move' => :'used_move',
|
|
138
|
+
:'min_move_count' => :'min_move_count',
|
|
139
|
+
:'min_steps' => :'min_steps',
|
|
140
|
+
:'min_damage_taken' => :'min_damage_taken',
|
|
141
|
+
:'allowed_natures' => :'allowed_natures',
|
|
142
|
+
:'condition_expression' => :'condition_expression'
|
|
143
|
+
}
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Returns attribute mapping this model knows about
|
|
147
|
+
def self.acceptable_attribute_map
|
|
148
|
+
attribute_map
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Returns all the JSON keys this model knows about
|
|
152
|
+
def self.acceptable_attributes
|
|
153
|
+
acceptable_attribute_map.values
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# Attribute type mapping.
|
|
157
|
+
def self.openapi_types
|
|
158
|
+
{
|
|
159
|
+
:'version_group' => :'VersionGroupSummary',
|
|
160
|
+
:'is_default' => :'Boolean',
|
|
161
|
+
:'item' => :'ItemSummary',
|
|
162
|
+
:'trigger' => :'EvolutionTriggerSummary',
|
|
163
|
+
:'gender' => :'Integer',
|
|
164
|
+
:'held_item' => :'ItemSummary',
|
|
165
|
+
:'known_move' => :'PokemonEvolutionKnownMove',
|
|
166
|
+
:'known_move_type' => :'PokemonEvolutionKnownMove',
|
|
167
|
+
:'location' => :'LocationSummary',
|
|
168
|
+
:'min_level' => :'Integer',
|
|
169
|
+
:'min_happiness' => :'Integer',
|
|
170
|
+
:'min_beauty' => :'Integer',
|
|
171
|
+
:'min_affection' => :'Integer',
|
|
172
|
+
:'near_special_rock' => :'Boolean',
|
|
173
|
+
:'needs_multiplayer' => :'Boolean',
|
|
174
|
+
:'needs_overworld_rain' => :'Boolean',
|
|
175
|
+
:'party_species' => :'PokemonSpeciesSummary',
|
|
176
|
+
:'party_type' => :'TypeSummary',
|
|
177
|
+
:'relative_physical_stats' => :'Integer',
|
|
178
|
+
:'time_of_day' => :'String',
|
|
179
|
+
:'trade_species' => :'PokemonSpeciesSummary',
|
|
180
|
+
:'turn_upside_down' => :'Boolean',
|
|
181
|
+
:'region' => :'RegionSummary',
|
|
182
|
+
:'required_pokemon_form' => :'PokemonFormSummary',
|
|
183
|
+
:'evolved_pokemon_form' => :'PokemonFormSummary',
|
|
184
|
+
:'used_move' => :'MoveSummary',
|
|
185
|
+
:'min_move_count' => :'Integer',
|
|
186
|
+
:'min_steps' => :'Integer',
|
|
187
|
+
:'min_damage_taken' => :'Integer',
|
|
188
|
+
:'allowed_natures' => :'Array<NatureSummary>',
|
|
189
|
+
:'condition_expression' => :'EvolutionConditionExpression'
|
|
190
|
+
}
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# List of attributes with nullable: true
|
|
194
|
+
def self.openapi_nullable
|
|
195
|
+
Set.new([
|
|
196
|
+
:'item',
|
|
197
|
+
:'gender',
|
|
198
|
+
:'held_item',
|
|
199
|
+
:'location',
|
|
200
|
+
:'min_level',
|
|
201
|
+
:'min_happiness',
|
|
202
|
+
:'min_beauty',
|
|
203
|
+
:'min_affection',
|
|
204
|
+
:'party_species',
|
|
205
|
+
:'party_type',
|
|
206
|
+
:'relative_physical_stats',
|
|
207
|
+
:'trade_species',
|
|
208
|
+
:'region',
|
|
209
|
+
:'required_pokemon_form',
|
|
210
|
+
:'evolved_pokemon_form',
|
|
211
|
+
:'used_move',
|
|
212
|
+
:'min_move_count',
|
|
213
|
+
:'min_steps',
|
|
214
|
+
:'min_damage_taken',
|
|
215
|
+
:'allowed_natures',
|
|
216
|
+
:'condition_expression'
|
|
217
|
+
])
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Returns attribute type mapping
|
|
221
|
+
def self.acceptable_openapi_types
|
|
222
|
+
openapi_types
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# Returns the nullable attributes
|
|
226
|
+
def self.acceptable_openapi_nullable
|
|
227
|
+
openapi_nullable
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# Initializes the object
|
|
231
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
232
|
+
def initialize(attributes = {})
|
|
233
|
+
if (!attributes.is_a?(Hash))
|
|
234
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PokeApiClient::PokemonEvolution` initialize method"
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
238
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
239
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
240
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
241
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PokeApiClient::PokemonEvolution`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
242
|
+
end
|
|
243
|
+
h[k.to_sym] = v
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
if attributes.key?(:'version_group')
|
|
247
|
+
self.version_group = attributes[:'version_group']
|
|
248
|
+
else
|
|
249
|
+
self.version_group = nil
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
if attributes.key?(:'is_default')
|
|
253
|
+
self.is_default = attributes[:'is_default']
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
if attributes.key?(:'item')
|
|
257
|
+
self.item = attributes[:'item']
|
|
258
|
+
else
|
|
259
|
+
self.item = nil
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
if attributes.key?(:'trigger')
|
|
263
|
+
self.trigger = attributes[:'trigger']
|
|
264
|
+
else
|
|
265
|
+
self.trigger = nil
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
if attributes.key?(:'gender')
|
|
269
|
+
self.gender = attributes[:'gender']
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
if attributes.key?(:'held_item')
|
|
273
|
+
self.held_item = attributes[:'held_item']
|
|
274
|
+
else
|
|
275
|
+
self.held_item = nil
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
if attributes.key?(:'known_move')
|
|
279
|
+
self.known_move = attributes[:'known_move']
|
|
280
|
+
else
|
|
281
|
+
self.known_move = nil
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
if attributes.key?(:'known_move_type')
|
|
285
|
+
self.known_move_type = attributes[:'known_move_type']
|
|
286
|
+
else
|
|
287
|
+
self.known_move_type = nil
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
if attributes.key?(:'location')
|
|
291
|
+
self.location = attributes[:'location']
|
|
292
|
+
else
|
|
293
|
+
self.location = nil
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
if attributes.key?(:'min_level')
|
|
297
|
+
self.min_level = attributes[:'min_level']
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
if attributes.key?(:'min_happiness')
|
|
301
|
+
self.min_happiness = attributes[:'min_happiness']
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
if attributes.key?(:'min_beauty')
|
|
305
|
+
self.min_beauty = attributes[:'min_beauty']
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
if attributes.key?(:'min_affection')
|
|
309
|
+
self.min_affection = attributes[:'min_affection']
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
if attributes.key?(:'near_special_rock')
|
|
313
|
+
self.near_special_rock = attributes[:'near_special_rock']
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
if attributes.key?(:'needs_multiplayer')
|
|
317
|
+
self.needs_multiplayer = attributes[:'needs_multiplayer']
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
if attributes.key?(:'needs_overworld_rain')
|
|
321
|
+
self.needs_overworld_rain = attributes[:'needs_overworld_rain']
|
|
322
|
+
end
|
|
323
|
+
|
|
324
|
+
if attributes.key?(:'party_species')
|
|
325
|
+
self.party_species = attributes[:'party_species']
|
|
326
|
+
else
|
|
327
|
+
self.party_species = nil
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
if attributes.key?(:'party_type')
|
|
331
|
+
self.party_type = attributes[:'party_type']
|
|
332
|
+
else
|
|
333
|
+
self.party_type = nil
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
if attributes.key?(:'relative_physical_stats')
|
|
337
|
+
self.relative_physical_stats = attributes[:'relative_physical_stats']
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
if attributes.key?(:'time_of_day')
|
|
341
|
+
self.time_of_day = attributes[:'time_of_day']
|
|
342
|
+
end
|
|
343
|
+
|
|
344
|
+
if attributes.key?(:'trade_species')
|
|
345
|
+
self.trade_species = attributes[:'trade_species']
|
|
346
|
+
else
|
|
347
|
+
self.trade_species = nil
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
if attributes.key?(:'turn_upside_down')
|
|
351
|
+
self.turn_upside_down = attributes[:'turn_upside_down']
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
if attributes.key?(:'region')
|
|
355
|
+
self.region = attributes[:'region']
|
|
356
|
+
else
|
|
357
|
+
self.region = nil
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
if attributes.key?(:'required_pokemon_form')
|
|
361
|
+
self.required_pokemon_form = attributes[:'required_pokemon_form']
|
|
362
|
+
else
|
|
363
|
+
self.required_pokemon_form = nil
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
if attributes.key?(:'evolved_pokemon_form')
|
|
367
|
+
self.evolved_pokemon_form = attributes[:'evolved_pokemon_form']
|
|
368
|
+
else
|
|
369
|
+
self.evolved_pokemon_form = nil
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
if attributes.key?(:'used_move')
|
|
373
|
+
self.used_move = attributes[:'used_move']
|
|
374
|
+
else
|
|
375
|
+
self.used_move = nil
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
if attributes.key?(:'min_move_count')
|
|
379
|
+
self.min_move_count = attributes[:'min_move_count']
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
if attributes.key?(:'min_steps')
|
|
383
|
+
self.min_steps = attributes[:'min_steps']
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
if attributes.key?(:'min_damage_taken')
|
|
387
|
+
self.min_damage_taken = attributes[:'min_damage_taken']
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
if attributes.key?(:'allowed_natures')
|
|
391
|
+
if (value = attributes[:'allowed_natures']).is_a?(Array)
|
|
392
|
+
self.allowed_natures = value
|
|
393
|
+
end
|
|
394
|
+
else
|
|
395
|
+
self.allowed_natures = nil
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
if attributes.key?(:'condition_expression')
|
|
399
|
+
self.condition_expression = attributes[:'condition_expression']
|
|
400
|
+
else
|
|
401
|
+
self.condition_expression = nil
|
|
402
|
+
end
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
406
|
+
# @return Array for valid properties with the reasons
|
|
407
|
+
def list_invalid_properties
|
|
408
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
409
|
+
invalid_properties = Array.new
|
|
410
|
+
if @version_group.nil?
|
|
411
|
+
invalid_properties.push('invalid value for "version_group", version_group cannot be nil.')
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
if @trigger.nil?
|
|
415
|
+
invalid_properties.push('invalid value for "trigger", trigger cannot be nil.')
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
if @known_move.nil?
|
|
419
|
+
invalid_properties.push('invalid value for "known_move", known_move cannot be nil.')
|
|
420
|
+
end
|
|
421
|
+
|
|
422
|
+
if @known_move_type.nil?
|
|
423
|
+
invalid_properties.push('invalid value for "known_move_type", known_move_type cannot be nil.')
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
if !@min_level.nil? && @min_level > 2147483647
|
|
427
|
+
invalid_properties.push('invalid value for "min_level", must be smaller than or equal to 2147483647.')
|
|
428
|
+
end
|
|
429
|
+
|
|
430
|
+
if !@min_level.nil? && @min_level < -2147483648
|
|
431
|
+
invalid_properties.push('invalid value for "min_level", must be greater than or equal to -2147483648.')
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
if !@min_happiness.nil? && @min_happiness > 2147483647
|
|
435
|
+
invalid_properties.push('invalid value for "min_happiness", must be smaller than or equal to 2147483647.')
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
if !@min_happiness.nil? && @min_happiness < -2147483648
|
|
439
|
+
invalid_properties.push('invalid value for "min_happiness", must be greater than or equal to -2147483648.')
|
|
440
|
+
end
|
|
441
|
+
|
|
442
|
+
if !@min_beauty.nil? && @min_beauty > 2147483647
|
|
443
|
+
invalid_properties.push('invalid value for "min_beauty", must be smaller than or equal to 2147483647.')
|
|
444
|
+
end
|
|
445
|
+
|
|
446
|
+
if !@min_beauty.nil? && @min_beauty < -2147483648
|
|
447
|
+
invalid_properties.push('invalid value for "min_beauty", must be greater than or equal to -2147483648.')
|
|
448
|
+
end
|
|
449
|
+
|
|
450
|
+
if !@min_affection.nil? && @min_affection > 2147483647
|
|
451
|
+
invalid_properties.push('invalid value for "min_affection", must be smaller than or equal to 2147483647.')
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
if !@min_affection.nil? && @min_affection < -2147483648
|
|
455
|
+
invalid_properties.push('invalid value for "min_affection", must be greater than or equal to -2147483648.')
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
if !@relative_physical_stats.nil? && @relative_physical_stats > 2147483647
|
|
459
|
+
invalid_properties.push('invalid value for "relative_physical_stats", must be smaller than or equal to 2147483647.')
|
|
460
|
+
end
|
|
461
|
+
|
|
462
|
+
if !@relative_physical_stats.nil? && @relative_physical_stats < -2147483648
|
|
463
|
+
invalid_properties.push('invalid value for "relative_physical_stats", must be greater than or equal to -2147483648.')
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
if !@time_of_day.nil? && @time_of_day.to_s.length > 10
|
|
467
|
+
invalid_properties.push('invalid value for "time_of_day", the character length must be smaller than or equal to 10.')
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
if !@min_move_count.nil? && @min_move_count > 2147483647
|
|
471
|
+
invalid_properties.push('invalid value for "min_move_count", must be smaller than or equal to 2147483647.')
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
if !@min_move_count.nil? && @min_move_count < -2147483648
|
|
475
|
+
invalid_properties.push('invalid value for "min_move_count", must be greater than or equal to -2147483648.')
|
|
476
|
+
end
|
|
477
|
+
|
|
478
|
+
if !@min_steps.nil? && @min_steps > 2147483647
|
|
479
|
+
invalid_properties.push('invalid value for "min_steps", must be smaller than or equal to 2147483647.')
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
if !@min_steps.nil? && @min_steps < -2147483648
|
|
483
|
+
invalid_properties.push('invalid value for "min_steps", must be greater than or equal to -2147483648.')
|
|
484
|
+
end
|
|
485
|
+
|
|
486
|
+
if !@min_damage_taken.nil? && @min_damage_taken > 2147483647
|
|
487
|
+
invalid_properties.push('invalid value for "min_damage_taken", must be smaller than or equal to 2147483647.')
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
if !@min_damage_taken.nil? && @min_damage_taken < -2147483648
|
|
491
|
+
invalid_properties.push('invalid value for "min_damage_taken", must be greater than or equal to -2147483648.')
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
invalid_properties
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
# Check to see if the all the properties in the model are valid
|
|
498
|
+
# @return true if the model is valid
|
|
499
|
+
def valid?
|
|
500
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
501
|
+
return false if @version_group.nil?
|
|
502
|
+
return false if @trigger.nil?
|
|
503
|
+
return false if @known_move.nil?
|
|
504
|
+
return false if @known_move_type.nil?
|
|
505
|
+
return false if !@min_level.nil? && @min_level > 2147483647
|
|
506
|
+
return false if !@min_level.nil? && @min_level < -2147483648
|
|
507
|
+
return false if !@min_happiness.nil? && @min_happiness > 2147483647
|
|
508
|
+
return false if !@min_happiness.nil? && @min_happiness < -2147483648
|
|
509
|
+
return false if !@min_beauty.nil? && @min_beauty > 2147483647
|
|
510
|
+
return false if !@min_beauty.nil? && @min_beauty < -2147483648
|
|
511
|
+
return false if !@min_affection.nil? && @min_affection > 2147483647
|
|
512
|
+
return false if !@min_affection.nil? && @min_affection < -2147483648
|
|
513
|
+
return false if !@relative_physical_stats.nil? && @relative_physical_stats > 2147483647
|
|
514
|
+
return false if !@relative_physical_stats.nil? && @relative_physical_stats < -2147483648
|
|
515
|
+
return false if !@time_of_day.nil? && @time_of_day.to_s.length > 10
|
|
516
|
+
return false if !@min_move_count.nil? && @min_move_count > 2147483647
|
|
517
|
+
return false if !@min_move_count.nil? && @min_move_count < -2147483648
|
|
518
|
+
return false if !@min_steps.nil? && @min_steps > 2147483647
|
|
519
|
+
return false if !@min_steps.nil? && @min_steps < -2147483648
|
|
520
|
+
return false if !@min_damage_taken.nil? && @min_damage_taken > 2147483647
|
|
521
|
+
return false if !@min_damage_taken.nil? && @min_damage_taken < -2147483648
|
|
522
|
+
true
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
# Custom attribute writer method with validation
|
|
526
|
+
# @param [Object] version_group Value to be assigned
|
|
527
|
+
def version_group=(version_group)
|
|
528
|
+
if version_group.nil?
|
|
529
|
+
fail ArgumentError, 'version_group cannot be nil'
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
@version_group = version_group
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
# Custom attribute writer method with validation
|
|
536
|
+
# @param [Object] trigger Value to be assigned
|
|
537
|
+
def trigger=(trigger)
|
|
538
|
+
if trigger.nil?
|
|
539
|
+
fail ArgumentError, 'trigger cannot be nil'
|
|
540
|
+
end
|
|
541
|
+
|
|
542
|
+
@trigger = trigger
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
# Custom attribute writer method with validation
|
|
546
|
+
# @param [Object] known_move Value to be assigned
|
|
547
|
+
def known_move=(known_move)
|
|
548
|
+
if known_move.nil?
|
|
549
|
+
fail ArgumentError, 'known_move cannot be nil'
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
@known_move = known_move
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
# Custom attribute writer method with validation
|
|
556
|
+
# @param [Object] known_move_type Value to be assigned
|
|
557
|
+
def known_move_type=(known_move_type)
|
|
558
|
+
if known_move_type.nil?
|
|
559
|
+
fail ArgumentError, 'known_move_type cannot be nil'
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
@known_move_type = known_move_type
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
# Custom attribute writer method with validation
|
|
566
|
+
# @param [Object] min_level Value to be assigned
|
|
567
|
+
def min_level=(min_level)
|
|
568
|
+
if !min_level.nil? && min_level > 2147483647
|
|
569
|
+
fail ArgumentError, 'invalid value for "min_level", must be smaller than or equal to 2147483647.'
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
if !min_level.nil? && min_level < -2147483648
|
|
573
|
+
fail ArgumentError, 'invalid value for "min_level", must be greater than or equal to -2147483648.'
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
@min_level = min_level
|
|
577
|
+
end
|
|
578
|
+
|
|
579
|
+
# Custom attribute writer method with validation
|
|
580
|
+
# @param [Object] min_happiness Value to be assigned
|
|
581
|
+
def min_happiness=(min_happiness)
|
|
582
|
+
if !min_happiness.nil? && min_happiness > 2147483647
|
|
583
|
+
fail ArgumentError, 'invalid value for "min_happiness", must be smaller than or equal to 2147483647.'
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
if !min_happiness.nil? && min_happiness < -2147483648
|
|
587
|
+
fail ArgumentError, 'invalid value for "min_happiness", must be greater than or equal to -2147483648.'
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
@min_happiness = min_happiness
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
# Custom attribute writer method with validation
|
|
594
|
+
# @param [Object] min_beauty Value to be assigned
|
|
595
|
+
def min_beauty=(min_beauty)
|
|
596
|
+
if !min_beauty.nil? && min_beauty > 2147483647
|
|
597
|
+
fail ArgumentError, 'invalid value for "min_beauty", must be smaller than or equal to 2147483647.'
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
if !min_beauty.nil? && min_beauty < -2147483648
|
|
601
|
+
fail ArgumentError, 'invalid value for "min_beauty", must be greater than or equal to -2147483648.'
|
|
602
|
+
end
|
|
603
|
+
|
|
604
|
+
@min_beauty = min_beauty
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
# Custom attribute writer method with validation
|
|
608
|
+
# @param [Object] min_affection Value to be assigned
|
|
609
|
+
def min_affection=(min_affection)
|
|
610
|
+
if !min_affection.nil? && min_affection > 2147483647
|
|
611
|
+
fail ArgumentError, 'invalid value for "min_affection", must be smaller than or equal to 2147483647.'
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
if !min_affection.nil? && min_affection < -2147483648
|
|
615
|
+
fail ArgumentError, 'invalid value for "min_affection", must be greater than or equal to -2147483648.'
|
|
616
|
+
end
|
|
617
|
+
|
|
618
|
+
@min_affection = min_affection
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
# Custom attribute writer method with validation
|
|
622
|
+
# @param [Object] relative_physical_stats Value to be assigned
|
|
623
|
+
def relative_physical_stats=(relative_physical_stats)
|
|
624
|
+
if !relative_physical_stats.nil? && relative_physical_stats > 2147483647
|
|
625
|
+
fail ArgumentError, 'invalid value for "relative_physical_stats", must be smaller than or equal to 2147483647.'
|
|
626
|
+
end
|
|
627
|
+
|
|
628
|
+
if !relative_physical_stats.nil? && relative_physical_stats < -2147483648
|
|
629
|
+
fail ArgumentError, 'invalid value for "relative_physical_stats", must be greater than or equal to -2147483648.'
|
|
630
|
+
end
|
|
631
|
+
|
|
632
|
+
@relative_physical_stats = relative_physical_stats
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
# Custom attribute writer method with validation
|
|
636
|
+
# @param [Object] time_of_day Value to be assigned
|
|
637
|
+
def time_of_day=(time_of_day)
|
|
638
|
+
if time_of_day.nil?
|
|
639
|
+
fail ArgumentError, 'time_of_day cannot be nil'
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
if time_of_day.to_s.length > 10
|
|
643
|
+
fail ArgumentError, 'invalid value for "time_of_day", the character length must be smaller than or equal to 10.'
|
|
644
|
+
end
|
|
645
|
+
|
|
646
|
+
@time_of_day = time_of_day
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
# Custom attribute writer method with validation
|
|
650
|
+
# @param [Object] min_move_count Value to be assigned
|
|
651
|
+
def min_move_count=(min_move_count)
|
|
652
|
+
if !min_move_count.nil? && min_move_count > 2147483647
|
|
653
|
+
fail ArgumentError, 'invalid value for "min_move_count", must be smaller than or equal to 2147483647.'
|
|
654
|
+
end
|
|
655
|
+
|
|
656
|
+
if !min_move_count.nil? && min_move_count < -2147483648
|
|
657
|
+
fail ArgumentError, 'invalid value for "min_move_count", must be greater than or equal to -2147483648.'
|
|
658
|
+
end
|
|
659
|
+
|
|
660
|
+
@min_move_count = min_move_count
|
|
661
|
+
end
|
|
662
|
+
|
|
663
|
+
# Custom attribute writer method with validation
|
|
664
|
+
# @param [Object] min_steps Value to be assigned
|
|
665
|
+
def min_steps=(min_steps)
|
|
666
|
+
if !min_steps.nil? && min_steps > 2147483647
|
|
667
|
+
fail ArgumentError, 'invalid value for "min_steps", must be smaller than or equal to 2147483647.'
|
|
668
|
+
end
|
|
669
|
+
|
|
670
|
+
if !min_steps.nil? && min_steps < -2147483648
|
|
671
|
+
fail ArgumentError, 'invalid value for "min_steps", must be greater than or equal to -2147483648.'
|
|
672
|
+
end
|
|
673
|
+
|
|
674
|
+
@min_steps = min_steps
|
|
675
|
+
end
|
|
676
|
+
|
|
677
|
+
# Custom attribute writer method with validation
|
|
678
|
+
# @param [Object] min_damage_taken Value to be assigned
|
|
679
|
+
def min_damage_taken=(min_damage_taken)
|
|
680
|
+
if !min_damage_taken.nil? && min_damage_taken > 2147483647
|
|
681
|
+
fail ArgumentError, 'invalid value for "min_damage_taken", must be smaller than or equal to 2147483647.'
|
|
682
|
+
end
|
|
683
|
+
|
|
684
|
+
if !min_damage_taken.nil? && min_damage_taken < -2147483648
|
|
685
|
+
fail ArgumentError, 'invalid value for "min_damage_taken", must be greater than or equal to -2147483648.'
|
|
686
|
+
end
|
|
687
|
+
|
|
688
|
+
@min_damage_taken = min_damage_taken
|
|
689
|
+
end
|
|
690
|
+
|
|
691
|
+
# Checks equality by comparing each attribute.
|
|
692
|
+
# @param [Object] Object to be compared
|
|
693
|
+
def ==(o)
|
|
694
|
+
return true if self.equal?(o)
|
|
695
|
+
self.class == o.class &&
|
|
696
|
+
version_group == o.version_group &&
|
|
697
|
+
is_default == o.is_default &&
|
|
698
|
+
item == o.item &&
|
|
699
|
+
trigger == o.trigger &&
|
|
700
|
+
gender == o.gender &&
|
|
701
|
+
held_item == o.held_item &&
|
|
702
|
+
known_move == o.known_move &&
|
|
703
|
+
known_move_type == o.known_move_type &&
|
|
704
|
+
location == o.location &&
|
|
705
|
+
min_level == o.min_level &&
|
|
706
|
+
min_happiness == o.min_happiness &&
|
|
707
|
+
min_beauty == o.min_beauty &&
|
|
708
|
+
min_affection == o.min_affection &&
|
|
709
|
+
near_special_rock == o.near_special_rock &&
|
|
710
|
+
needs_multiplayer == o.needs_multiplayer &&
|
|
711
|
+
needs_overworld_rain == o.needs_overworld_rain &&
|
|
712
|
+
party_species == o.party_species &&
|
|
713
|
+
party_type == o.party_type &&
|
|
714
|
+
relative_physical_stats == o.relative_physical_stats &&
|
|
715
|
+
time_of_day == o.time_of_day &&
|
|
716
|
+
trade_species == o.trade_species &&
|
|
717
|
+
turn_upside_down == o.turn_upside_down &&
|
|
718
|
+
region == o.region &&
|
|
719
|
+
required_pokemon_form == o.required_pokemon_form &&
|
|
720
|
+
evolved_pokemon_form == o.evolved_pokemon_form &&
|
|
721
|
+
used_move == o.used_move &&
|
|
722
|
+
min_move_count == o.min_move_count &&
|
|
723
|
+
min_steps == o.min_steps &&
|
|
724
|
+
min_damage_taken == o.min_damage_taken &&
|
|
725
|
+
allowed_natures == o.allowed_natures &&
|
|
726
|
+
condition_expression == o.condition_expression
|
|
727
|
+
end
|
|
728
|
+
|
|
729
|
+
# @see the `==` method
|
|
730
|
+
# @param [Object] Object to be compared
|
|
731
|
+
def eql?(o)
|
|
732
|
+
self == o
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
# Calculates hash code according to all attributes.
|
|
736
|
+
# @return [Integer] Hash code
|
|
737
|
+
def hash
|
|
738
|
+
[version_group, is_default, item, trigger, gender, held_item, known_move, known_move_type, location, min_level, min_happiness, min_beauty, min_affection, near_special_rock, needs_multiplayer, needs_overworld_rain, party_species, party_type, relative_physical_stats, time_of_day, trade_species, turn_upside_down, region, required_pokemon_form, evolved_pokemon_form, used_move, min_move_count, min_steps, min_damage_taken, allowed_natures, condition_expression].hash
|
|
739
|
+
end
|
|
740
|
+
|
|
741
|
+
# Builds the object from hash
|
|
742
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
743
|
+
# @return [Object] Returns the model itself
|
|
744
|
+
def self.build_from_hash(attributes)
|
|
745
|
+
return nil unless attributes.is_a?(Hash)
|
|
746
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
747
|
+
# include attributes inherited from allOf parents (the nearest declaration wins)
|
|
748
|
+
map = acceptable_attribute_map
|
|
749
|
+
transformed_hash = {}
|
|
750
|
+
acceptable_openapi_types.each_pair do |key, type|
|
|
751
|
+
if attributes.key?(map[key]) && attributes[map[key]].nil?
|
|
752
|
+
transformed_hash["#{key}"] = nil
|
|
753
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
754
|
+
# check to ensure the input is an array given that the attribute
|
|
755
|
+
# is documented as an array but the input is not
|
|
756
|
+
if attributes[map[key]].is_a?(Array)
|
|
757
|
+
transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) }
|
|
758
|
+
end
|
|
759
|
+
elsif !attributes[map[key]].nil?
|
|
760
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]])
|
|
761
|
+
end
|
|
762
|
+
end
|
|
763
|
+
new(transformed_hash)
|
|
764
|
+
end
|
|
765
|
+
|
|
766
|
+
# Returns the object in the form of hash
|
|
767
|
+
# @return [Hash] Returns the object in the form of hash
|
|
768
|
+
def to_hash
|
|
769
|
+
hash = {}
|
|
770
|
+
# include attributes inherited from allOf parents (the nearest declaration wins)
|
|
771
|
+
self.class.acceptable_attribute_map.each_pair do |attr, param|
|
|
772
|
+
value = self.send(attr)
|
|
773
|
+
if value.nil?
|
|
774
|
+
is_nullable = self.class.acceptable_openapi_nullable.include?(attr)
|
|
775
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
776
|
+
end
|
|
777
|
+
|
|
778
|
+
hash[param] = _to_hash(value)
|
|
779
|
+
end
|
|
780
|
+
hash
|
|
781
|
+
end
|
|
782
|
+
|
|
783
|
+
end
|
|
784
|
+
|
|
785
|
+
end
|