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.
Files changed (992) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +56 -52
  3. data/README.md +94 -96
  4. data/bin/byebug +1 -1
  5. data/bin/coderay +1 -1
  6. data/bin/htmldiff +1 -1
  7. data/bin/ldiff +1 -1
  8. data/bin/pry +1 -1
  9. data/bin/racc +1 -1
  10. data/bin/rake +1 -1
  11. data/bin/rspec +1 -1
  12. data/bin/rubocop +1 -1
  13. data/bin/ruby-parse +1 -1
  14. data/bin/ruby-rewrite +1 -1
  15. data/docs/AbilityChange.md +2 -2
  16. data/docs/AbilityChangeEffectText.md +2 -2
  17. data/docs/AbilityDetail.md +9 -9
  18. data/docs/AbilityEffectText.md +3 -3
  19. data/docs/AbilityFlavorText.md +3 -3
  20. data/docs/AbilityName.md +2 -2
  21. data/docs/AbilityPokemonDetail.md +22 -0
  22. data/docs/AbilitySummary.md +2 -2
  23. data/docs/BerriesApi.md +9 -75
  24. data/docs/BerryDetail.md +12 -12
  25. data/docs/BerryFirmnessDetail.md +4 -4
  26. data/docs/BerryFirmnessName.md +2 -2
  27. data/docs/BerryFirmnessSummary.md +2 -2
  28. data/docs/BerryFlavorBerryMap.md +20 -0
  29. data/docs/BerryFlavorDetail.md +5 -5
  30. data/docs/BerryFlavorMap.md +20 -0
  31. data/docs/BerryFlavorName.md +2 -2
  32. data/docs/BerryFlavorSummary.md +2 -2
  33. data/docs/BerrySummary.md +2 -2
  34. data/docs/CharacteristicDescription.md +2 -2
  35. data/docs/CharacteristicDetail.md +5 -5
  36. data/docs/CharacteristicSummary.md +1 -1
  37. data/docs/ContestEffectDetail.md +5 -5
  38. data/docs/ContestEffectEffectText.md +2 -2
  39. data/docs/ContestEffectFlavorText.md +2 -2
  40. data/docs/ContestEffectSummary.md +1 -1
  41. data/docs/ContestTypeDetail.md +4 -4
  42. data/docs/ContestTypeName.md +3 -3
  43. data/docs/ContestTypeSummary.md +2 -2
  44. data/docs/ContestsApi.md +11 -81
  45. data/docs/CurrencyDetail.md +22 -0
  46. data/docs/CurrencyName.md +20 -0
  47. data/docs/CurrencySummary.md +20 -0
  48. data/docs/EggGroupDetail.md +4 -4
  49. data/docs/EggGroupName.md +2 -2
  50. data/docs/EggGroupSummary.md +2 -2
  51. data/docs/EncounterConditionDetail.md +4 -4
  52. data/docs/EncounterConditionName.md +2 -2
  53. data/docs/EncounterConditionSummary.md +2 -2
  54. data/docs/EncounterConditionValueDetail.md +4 -4
  55. data/docs/EncounterConditionValueName.md +2 -2
  56. data/docs/EncounterConditionValueSummary.md +2 -2
  57. data/docs/EncounterMethodDetail.md +4 -4
  58. data/docs/EncounterMethodName.md +2 -2
  59. data/docs/EncounterMethodSummary.md +2 -2
  60. data/docs/EncounterPokemonDetail.md +24 -0
  61. data/docs/EncountersApi.md +9 -75
  62. data/docs/EvolutionApi.md +143 -53
  63. data/docs/EvolutionChainDetail.md +3 -3
  64. data/docs/EvolutionChainLink.md +24 -0
  65. data/docs/EvolutionChainSummary.md +1 -1
  66. data/docs/EvolutionConditionExpression.md +22 -0
  67. data/docs/EvolutionTriggerDetail.md +4 -4
  68. data/docs/EvolutionTriggerName.md +2 -2
  69. data/docs/EvolutionTriggerSummary.md +2 -2
  70. data/docs/EvolutionVariableDescription.md +20 -0
  71. data/docs/EvolutionVariableDetail.md +32 -0
  72. data/docs/EvolutionVariableName.md +20 -0
  73. data/docs/EvolutionVariableSummary.md +20 -0
  74. data/docs/Experience.md +2 -2
  75. data/docs/GamesApi.md +12 -100
  76. data/docs/GenderDetail.md +4 -4
  77. data/docs/GenderPokemonSpecies.md +20 -0
  78. data/docs/GenderSummary.md +2 -2
  79. data/docs/GenerationDetail.md +9 -9
  80. data/docs/GenerationName.md +2 -2
  81. data/docs/GenerationSummary.md +2 -2
  82. data/docs/GrowthRateDescription.md +2 -2
  83. data/docs/GrowthRateDetail.md +6 -6
  84. data/docs/GrowthRateSummary.md +2 -2
  85. data/docs/ItemAttributeDescription.md +2 -2
  86. data/docs/ItemAttributeDetail.md +5 -5
  87. data/docs/ItemAttributeName.md +2 -2
  88. data/docs/ItemAttributeSummary.md +2 -2
  89. data/docs/ItemCategoryDetail.md +5 -5
  90. data/docs/ItemCategoryName.md +2 -2
  91. data/docs/ItemCategorySummary.md +2 -2
  92. data/docs/ItemDetail.md +16 -16
  93. data/docs/ItemEffectText.md +3 -3
  94. data/docs/ItemFlavorText.md +3 -3
  95. data/docs/ItemFlingEffectDetail.md +4 -4
  96. data/docs/ItemFlingEffectEffectText.md +2 -2
  97. data/docs/ItemFlingEffectSummary.md +2 -2
  98. data/docs/ItemGameIndex.md +2 -2
  99. data/docs/ItemMachine.md +20 -0
  100. data/docs/ItemName.md +2 -2
  101. data/docs/ItemPocketDetail.md +4 -4
  102. data/docs/ItemPocketName.md +2 -2
  103. data/docs/ItemPocketSummary.md +2 -2
  104. data/docs/ItemPrice.md +24 -0
  105. data/docs/{ItemDetailSprites.md → ItemSprites.md} +3 -3
  106. data/docs/ItemSummary.md +2 -2
  107. data/docs/ItemsApi.md +151 -125
  108. data/docs/LanguageDetail.md +6 -6
  109. data/docs/LanguageName.md +2 -2
  110. data/docs/LanguageSummary.md +2 -2
  111. data/docs/LocationApi.md +12 -100
  112. data/docs/LocationAreaDetail.md +7 -7
  113. data/docs/LocationAreaEncounterDetail.md +28 -0
  114. data/docs/LocationAreaEncounterRate.md +20 -0
  115. data/docs/LocationAreaEncounterVersionDetail.md +20 -0
  116. data/docs/LocationAreaName.md +2 -2
  117. data/docs/LocationAreaPokemonEncounter.md +20 -0
  118. data/docs/LocationAreaPokemonEncounterVersion.md +22 -0
  119. data/docs/LocationAreaSummary.md +2 -2
  120. data/docs/LocationDetail.md +6 -6
  121. data/docs/LocationGameIndex.md +2 -2
  122. data/docs/LocationName.md +2 -2
  123. data/docs/LocationSummary.md +2 -2
  124. data/docs/MachineDetail.md +4 -4
  125. data/docs/MachineSummary.md +1 -1
  126. data/docs/MachinesApi.md +4 -28
  127. data/docs/MoveBattleStyleDetail.md +3 -3
  128. data/docs/MoveBattleStyleName.md +2 -2
  129. data/docs/MoveBattleStyleSummary.md +2 -2
  130. data/docs/MoveChange.md +7 -7
  131. data/docs/MoveComboUsage.md +20 -0
  132. data/docs/MoveCombos.md +20 -0
  133. data/docs/MoveDamageClassDescription.md +2 -2
  134. data/docs/MoveDamageClassDetail.md +5 -5
  135. data/docs/MoveDamageClassName.md +2 -2
  136. data/docs/MoveDamageClassSummary.md +2 -2
  137. data/docs/MoveDetail.md +24 -24
  138. data/docs/MoveEffectChange.md +20 -0
  139. data/docs/MoveEffectChangeEffectText.md +20 -0
  140. data/docs/MoveEffectEffectText.md +22 -0
  141. data/docs/MoveFlavorText.md +3 -3
  142. data/docs/MoveLearnMethodDescription.md +2 -2
  143. data/docs/MoveLearnMethodDetail.md +5 -5
  144. data/docs/MoveLearnMethodName.md +2 -2
  145. data/docs/MoveLearnMethodSummary.md +2 -2
  146. data/docs/MoveMeta.md +12 -12
  147. data/docs/MoveMetaAilmentDetail.md +4 -4
  148. data/docs/MoveMetaAilmentName.md +2 -2
  149. data/docs/MoveMetaAilmentSummary.md +2 -2
  150. data/docs/MoveMetaCategoryDescription.md +2 -2
  151. data/docs/MoveMetaCategoryDetail.md +4 -4
  152. data/docs/MoveMetaCategorySummary.md +2 -2
  153. data/docs/MoveMetaStatChange.md +20 -0
  154. data/docs/MoveName.md +2 -2
  155. data/docs/MoveStatChange.md +20 -0
  156. data/docs/MoveSummary.md +2 -2
  157. data/docs/MoveTargetDescription.md +2 -2
  158. data/docs/MoveTargetDetail.md +5 -5
  159. data/docs/MoveTargetName.md +2 -2
  160. data/docs/MoveTargetSummary.md +2 -2
  161. data/docs/MovesApi.md +18 -150
  162. data/docs/NatureBattleStylePreference.md +3 -3
  163. data/docs/NatureDetail.md +9 -11
  164. data/docs/NatureName.md +2 -2
  165. data/docs/NaturePokeathlonStat.md +20 -0
  166. data/docs/NatureSummary.md +2 -2
  167. data/docs/PaginatedAbilitySummaryList.md +7 -7
  168. data/docs/PaginatedBerryFirmnessSummaryList.md +7 -7
  169. data/docs/PaginatedBerryFlavorSummaryList.md +7 -7
  170. data/docs/PaginatedBerrySummaryList.md +7 -7
  171. data/docs/PaginatedCharacteristicSummaryList.md +7 -7
  172. data/docs/PaginatedContestEffectSummaryList.md +7 -7
  173. data/docs/PaginatedContestTypeSummaryList.md +7 -7
  174. data/docs/PaginatedCurrencySummaryList.md +24 -0
  175. data/docs/PaginatedEggGroupSummaryList.md +7 -7
  176. data/docs/PaginatedEncounterConditionSummaryList.md +7 -7
  177. data/docs/PaginatedEncounterConditionValueSummaryList.md +7 -7
  178. data/docs/PaginatedEncounterMethodSummaryList.md +7 -7
  179. data/docs/PaginatedEvolutionChainSummaryList.md +7 -7
  180. data/docs/PaginatedEvolutionTriggerSummaryList.md +7 -7
  181. data/docs/PaginatedEvolutionVariableSummaryList.md +24 -0
  182. data/docs/PaginatedGenderSummaryList.md +7 -7
  183. data/docs/PaginatedGenerationSummaryList.md +7 -7
  184. data/docs/PaginatedGrowthRateSummaryList.md +7 -7
  185. data/docs/PaginatedItemAttributeSummaryList.md +7 -7
  186. data/docs/PaginatedItemCategorySummaryList.md +7 -7
  187. data/docs/PaginatedItemFlingEffectSummaryList.md +7 -7
  188. data/docs/PaginatedItemPocketSummaryList.md +7 -7
  189. data/docs/PaginatedItemSummaryList.md +7 -7
  190. data/docs/PaginatedLanguageSummaryList.md +7 -7
  191. data/docs/PaginatedLocationAreaSummaryList.md +7 -7
  192. data/docs/PaginatedLocationSummaryList.md +7 -7
  193. data/docs/PaginatedMachineSummaryList.md +7 -7
  194. data/docs/PaginatedMoveBattleStyleSummaryList.md +7 -7
  195. data/docs/PaginatedMoveDamageClassSummaryList.md +7 -7
  196. data/docs/PaginatedMoveLearnMethodSummaryList.md +7 -7
  197. data/docs/PaginatedMoveMetaAilmentSummaryList.md +7 -7
  198. data/docs/PaginatedMoveMetaCategorySummaryList.md +7 -7
  199. data/docs/PaginatedMoveSummaryList.md +7 -7
  200. data/docs/PaginatedMoveTargetSummaryList.md +7 -7
  201. data/docs/PaginatedNatureSummaryList.md +7 -7
  202. data/docs/PaginatedPalParkAreaSummaryList.md +7 -7
  203. data/docs/PaginatedPokeathlonStatSummaryList.md +7 -7
  204. data/docs/PaginatedPokedexSummaryList.md +7 -7
  205. data/docs/PaginatedPokemonColorSummaryList.md +7 -7
  206. data/docs/PaginatedPokemonFormSummaryList.md +7 -7
  207. data/docs/PaginatedPokemonHabitatSummaryList.md +7 -7
  208. data/docs/PaginatedPokemonShapeSummaryList.md +7 -7
  209. data/docs/PaginatedPokemonSpeciesSummaryList.md +7 -7
  210. data/docs/PaginatedPokemonSummaryList.md +7 -7
  211. data/docs/PaginatedRegionSummaryList.md +7 -7
  212. data/docs/PaginatedStatSummaryList.md +7 -7
  213. data/docs/PaginatedSuperContestEffectSummaryList.md +7 -7
  214. data/docs/PaginatedTypeSummaryList.md +7 -7
  215. data/docs/PaginatedVersionGroupSummaryList.md +7 -7
  216. data/docs/PaginatedVersionSummaryList.md +7 -7
  217. data/docs/PalParkAreaDetail.md +4 -4
  218. data/docs/PalParkAreaName.md +2 -2
  219. data/docs/PalParkAreaSummary.md +2 -2
  220. data/docs/PalParkEncounter.md +22 -0
  221. data/docs/PokeapiMetaResponse.md +22 -0
  222. data/docs/PokeathlonStatAffectingNature.md +20 -0
  223. data/docs/PokeathlonStatAffectingNatures.md +20 -0
  224. data/docs/PokeathlonStatDetail.md +4 -4
  225. data/docs/PokeathlonStatName.md +2 -2
  226. data/docs/PokeathlonStatSummary.md +2 -2
  227. data/docs/PokedexDescription.md +2 -2
  228. data/docs/PokedexDetail.md +8 -8
  229. data/docs/PokedexName.md +2 -2
  230. data/docs/PokedexSummary.md +2 -2
  231. data/docs/PokemonAbility.md +22 -0
  232. data/docs/PokemonAbilityPast.md +22 -0
  233. data/docs/PokemonApi.md +61 -415
  234. data/docs/PokemonColorDetail.md +4 -4
  235. data/docs/PokemonColorName.md +2 -2
  236. data/docs/PokemonColorSummary.md +2 -2
  237. data/docs/PokemonCries.md +20 -0
  238. data/docs/PokemonDetail.md +22 -20
  239. data/docs/PokemonDexEntry.md +2 -2
  240. data/docs/PokemonDexNumber.md +20 -0
  241. data/docs/PokemonEncounterDetailResponse.md +26 -0
  242. data/docs/PokemonEncounterResponse.md +20 -0
  243. data/docs/PokemonEncounterVersionDetailResponse.md +22 -0
  244. data/docs/PokemonEvolution.md +78 -0
  245. data/docs/{AbilityDetailPokemonInnerPokemon.md → PokemonEvolutionKnownMove.md} +2 -2
  246. data/docs/PokemonFormDetail.md +19 -15
  247. data/docs/PokemonFormFlavorText.md +22 -0
  248. data/docs/PokemonFormName.md +20 -0
  249. data/docs/PokemonFormSprites.md +36 -0
  250. data/docs/PokemonFormSummary.md +2 -2
  251. data/docs/PokemonFormTriggerCondition.md +24 -0
  252. data/docs/PokemonFormType.md +20 -0
  253. data/docs/PokemonGameIndex.md +2 -2
  254. data/docs/PokemonHabitatDetail.md +4 -4
  255. data/docs/PokemonHabitatName.md +2 -2
  256. data/docs/PokemonHabitatSummary.md +2 -2
  257. data/docs/PokemonHeldItem.md +20 -0
  258. data/docs/PokemonHeldItemSummary.md +20 -0
  259. data/docs/PokemonHeldItemVersion.md +20 -0
  260. data/docs/PokemonMove.md +20 -0
  261. data/docs/PokemonMoveVersionGroup.md +24 -0
  262. data/docs/PokemonPastAbility.md +20 -0
  263. data/docs/PokemonPastStat.md +20 -0
  264. data/docs/PokemonPastType.md +20 -0
  265. data/docs/PokemonShapeAwesomeName.md +20 -0
  266. data/docs/PokemonShapeDetail.md +5 -5
  267. data/docs/PokemonShapeName.md +20 -0
  268. data/docs/PokemonShapeSummary.md +2 -2
  269. data/docs/PokemonSpeciesDescription.md +2 -2
  270. data/docs/PokemonSpeciesDetail.md +27 -27
  271. data/docs/PokemonSpeciesFlavorText.md +3 -3
  272. data/docs/PokemonSpeciesGenus.md +20 -0
  273. data/docs/PokemonSpeciesName.md +20 -0
  274. data/docs/PokemonSpeciesPalParkEncounter.md +22 -0
  275. data/docs/PokemonSpeciesSummary.md +2 -2
  276. data/docs/PokemonSpeciesVariety.md +20 -0
  277. data/docs/PokemonSprites.md +36 -0
  278. data/docs/PokemonSpritesOther.md +24 -0
  279. data/docs/PokemonSpritesOtherDreamWorld.md +20 -0
  280. data/docs/PokemonSpritesOtherHome.md +24 -0
  281. data/docs/PokemonSpritesOtherOfficialArtwork.md +22 -0
  282. data/docs/PokemonSpritesOtherShowdown.md +32 -0
  283. data/docs/PokemonStat.md +3 -3
  284. data/docs/PokemonSummary.md +2 -2
  285. data/docs/PokemonType.md +20 -0
  286. data/docs/RegionDetail.md +7 -7
  287. data/docs/RegionName.md +2 -2
  288. data/docs/RegionSummary.md +2 -2
  289. data/docs/StatAffectingMoves.md +20 -0
  290. data/docs/StatAffectingNatures.md +20 -0
  291. data/docs/StatDetail.md +11 -9
  292. data/docs/StatName.md +2 -2
  293. data/docs/StatSummary.md +2 -2
  294. data/docs/SuperContestEffectDetail.md +4 -4
  295. data/docs/SuperContestEffectFlavorText.md +2 -2
  296. data/docs/SuperContestEffectSummary.md +1 -1
  297. data/docs/TypeDetail.md +11 -11
  298. data/docs/TypeGameIndex.md +2 -2
  299. data/docs/TypeGameSprite.md +20 -0
  300. data/docs/TypeName.md +20 -0
  301. data/docs/TypePastRelationships.md +20 -0
  302. data/docs/TypePokemon.md +20 -0
  303. data/docs/TypeRelationships.md +28 -0
  304. data/docs/TypeSummary.md +2 -2
  305. data/docs/UtilityApi.md +65 -25
  306. data/docs/VersionDetail.md +4 -4
  307. data/docs/VersionGroupDetail.md +8 -8
  308. data/docs/VersionGroupSummary.md +2 -2
  309. data/docs/VersionName.md +2 -2
  310. data/docs/VersionSummary.md +2 -2
  311. data/git_push.sh +14 -17
  312. data/lib/pokeapi_client/api/berries_api.rb +12 -12
  313. data/lib/pokeapi_client/api/contests_api.rb +12 -18
  314. data/lib/pokeapi_client/api/encounters_api.rb +12 -12
  315. data/lib/pokeapi_client/api/evolution_api.rb +138 -12
  316. data/lib/pokeapi_client/api/games_api.rb +15 -15
  317. data/lib/pokeapi_client/api/items_api.rb +147 -18
  318. data/lib/pokeapi_client/api/location_api.rb +15 -15
  319. data/lib/pokeapi_client/api/machines_api.rb +6 -9
  320. data/lib/pokeapi_client/api/moves_api.rb +21 -21
  321. data/lib/pokeapi_client/api/pokemon_api.rb +57 -56
  322. data/lib/pokeapi_client/api/utility_api.rb +63 -6
  323. data/lib/pokeapi_client/api_client.rb +3 -4
  324. data/lib/pokeapi_client/api_error.rb +3 -3
  325. data/lib/pokeapi_client/api_model_base.rb +3 -3
  326. data/lib/pokeapi_client/configuration.rb +3 -17
  327. data/lib/pokeapi_client/models/ability_change.rb +26 -11
  328. data/lib/pokeapi_client/models/ability_change_effect_text.rb +26 -11
  329. data/lib/pokeapi_client/models/ability_detail.rb +39 -17
  330. data/lib/pokeapi_client/models/ability_effect_text.rb +27 -11
  331. data/lib/pokeapi_client/models/ability_flavor_text.rb +27 -11
  332. data/lib/pokeapi_client/models/ability_name.rb +31 -16
  333. data/lib/pokeapi_client/models/ability_pokemon_detail.rb +233 -0
  334. data/lib/pokeapi_client/models/ability_summary.rb +31 -16
  335. data/lib/pokeapi_client/models/berry_detail.rb +131 -86
  336. data/lib/pokeapi_client/models/berry_firmness_detail.rb +33 -16
  337. data/lib/pokeapi_client/models/berry_firmness_name.rb +31 -16
  338. data/lib/pokeapi_client/models/berry_firmness_summary.rb +31 -16
  339. data/lib/pokeapi_client/models/{berry_flavor_detail_berries_inner.rb → berry_flavor_berry_map.rb} +48 -15
  340. data/lib/pokeapi_client/models/berry_flavor_detail.rb +35 -17
  341. data/lib/pokeapi_client/models/{berry_detail_flavors_inner.rb → berry_flavor_map.rb} +48 -15
  342. data/lib/pokeapi_client/models/berry_flavor_name.rb +31 -16
  343. data/lib/pokeapi_client/models/berry_flavor_summary.rb +31 -16
  344. data/lib/pokeapi_client/models/berry_summary.rb +31 -16
  345. data/lib/pokeapi_client/models/characteristic_description.rb +31 -16
  346. data/lib/pokeapi_client/models/characteristic_detail.rb +29 -11
  347. data/lib/pokeapi_client/models/characteristic_summary.rb +25 -11
  348. data/lib/pokeapi_client/models/contest_effect_detail.rb +65 -11
  349. data/lib/pokeapi_client/models/contest_effect_effect_text.rb +26 -11
  350. data/lib/pokeapi_client/models/contest_effect_flavor_text.rb +26 -11
  351. data/lib/pokeapi_client/models/contest_effect_summary.rb +25 -11
  352. data/lib/pokeapi_client/models/contest_type_detail.rb +33 -16
  353. data/lib/pokeapi_client/models/contest_type_name.rb +32 -16
  354. data/lib/pokeapi_client/models/contest_type_summary.rb +31 -16
  355. data/lib/pokeapi_client/models/currency_detail.rb +243 -0
  356. data/lib/pokeapi_client/models/{move_detail_effect_changes_inner_effect_entries_inner.rb → currency_name.rb} +55 -31
  357. data/lib/pokeapi_client/models/{ability_detail_pokemon_inner_pokemon.rb → currency_summary.rb} +38 -14
  358. data/lib/pokeapi_client/models/egg_group_detail.rb +34 -17
  359. data/lib/pokeapi_client/models/egg_group_name.rb +31 -16
  360. data/lib/pokeapi_client/models/egg_group_summary.rb +31 -16
  361. data/lib/pokeapi_client/models/encounter_condition_detail.rb +33 -16
  362. data/lib/pokeapi_client/models/encounter_condition_name.rb +31 -16
  363. data/lib/pokeapi_client/models/encounter_condition_summary.rb +31 -16
  364. data/lib/pokeapi_client/models/encounter_condition_value_detail.rb +33 -16
  365. data/lib/pokeapi_client/models/encounter_condition_value_name.rb +31 -16
  366. data/lib/pokeapi_client/models/encounter_condition_value_summary.rb +31 -16
  367. data/lib/pokeapi_client/models/encounter_method_detail.rb +57 -16
  368. data/lib/pokeapi_client/models/encounter_method_name.rb +31 -16
  369. data/lib/pokeapi_client/models/encounter_method_summary.rb +31 -16
  370. data/lib/pokeapi_client/models/encounter_pokemon_detail.rb +216 -0
  371. data/lib/pokeapi_client/models/evolution_chain_detail.rb +29 -27
  372. data/lib/pokeapi_client/models/{evolution_chain_detail_chain.rb → evolution_chain_link.rb} +87 -70
  373. data/lib/pokeapi_client/models/evolution_chain_summary.rb +25 -11
  374. data/lib/pokeapi_client/models/evolution_condition_expression.rb +220 -0
  375. data/lib/pokeapi_client/models/evolution_trigger_detail.rb +34 -17
  376. data/lib/pokeapi_client/models/evolution_trigger_name.rb +31 -16
  377. data/lib/pokeapi_client/models/evolution_trigger_summary.rb +31 -16
  378. data/lib/pokeapi_client/models/evolution_variable_description.rb +207 -0
  379. data/lib/pokeapi_client/models/evolution_variable_detail.rb +393 -0
  380. data/lib/pokeapi_client/models/evolution_variable_name.rb +214 -0
  381. data/lib/pokeapi_client/models/{pokemon_shape_detail_names_inner.rb → evolution_variable_summary.rb} +68 -44
  382. data/lib/pokeapi_client/models/experience.rb +62 -11
  383. data/lib/pokeapi_client/models/gender_detail.rb +35 -18
  384. data/lib/pokeapi_client/models/{gender_detail_pokemon_species_details_inner.rb → gender_pokemon_species.rb} +30 -15
  385. data/lib/pokeapi_client/models/gender_summary.rb +31 -16
  386. data/lib/pokeapi_client/models/generation_detail.rb +38 -16
  387. data/lib/pokeapi_client/models/generation_name.rb +31 -16
  388. data/lib/pokeapi_client/models/generation_summary.rb +31 -16
  389. data/lib/pokeapi_client/models/growth_rate_description.rb +31 -16
  390. data/lib/pokeapi_client/models/growth_rate_detail.rb +35 -16
  391. data/lib/pokeapi_client/models/growth_rate_summary.rb +31 -16
  392. data/lib/pokeapi_client/models/item_attribute_description.rb +31 -16
  393. data/lib/pokeapi_client/models/item_attribute_detail.rb +35 -17
  394. data/lib/pokeapi_client/models/item_attribute_name.rb +31 -16
  395. data/lib/pokeapi_client/models/item_attribute_summary.rb +31 -16
  396. data/lib/pokeapi_client/models/item_category_detail.rb +34 -16
  397. data/lib/pokeapi_client/models/item_category_name.rb +31 -16
  398. data/lib/pokeapi_client/models/item_category_summary.rb +31 -16
  399. data/lib/pokeapi_client/models/item_detail.rb +97 -55
  400. data/lib/pokeapi_client/models/item_effect_text.rb +27 -11
  401. data/lib/pokeapi_client/models/item_flavor_text.rb +27 -11
  402. data/lib/pokeapi_client/models/item_fling_effect_detail.rb +33 -16
  403. data/lib/pokeapi_client/models/item_fling_effect_effect_text.rb +26 -11
  404. data/lib/pokeapi_client/models/item_fling_effect_summary.rb +31 -16
  405. data/lib/pokeapi_client/models/item_game_index.rb +44 -11
  406. data/lib/pokeapi_client/models/{item_detail_machines_inner.rb → item_machine.rb} +31 -16
  407. data/lib/pokeapi_client/models/item_name.rb +31 -16
  408. data/lib/pokeapi_client/models/item_pocket_detail.rb +33 -16
  409. data/lib/pokeapi_client/models/item_pocket_name.rb +31 -16
  410. data/lib/pokeapi_client/models/item_pocket_summary.rb +31 -16
  411. data/lib/pokeapi_client/models/item_price.rb +275 -0
  412. data/lib/pokeapi_client/models/{item_detail_sprites.rb → item_sprites.rb} +29 -29
  413. data/lib/pokeapi_client/models/item_summary.rb +31 -16
  414. data/lib/pokeapi_client/models/language_detail.rb +35 -16
  415. data/lib/pokeapi_client/models/language_name.rb +31 -16
  416. data/lib/pokeapi_client/models/language_summary.rb +31 -16
  417. data/lib/pokeapi_client/models/location_area_detail.rb +56 -18
  418. data/lib/pokeapi_client/models/location_area_encounter_detail.rb +269 -0
  419. data/lib/pokeapi_client/models/{location_area_detail_encounter_method_rates_inner.rb → location_area_encounter_rate.rb} +31 -16
  420. data/lib/pokeapi_client/models/{location_area_detail_encounter_method_rates_inner_version_details_inner.rb → location_area_encounter_version_detail.rb} +30 -15
  421. data/lib/pokeapi_client/models/location_area_name.rb +31 -16
  422. data/lib/pokeapi_client/models/{item_detail_held_by_pokemon_inner.rb → location_area_pokemon_encounter.rb} +32 -17
  423. data/lib/pokeapi_client/models/{location_area_detail_pokemon_encounters_inner_version_details_inner.rb → location_area_pokemon_encounter_version.rb} +35 -17
  424. data/lib/pokeapi_client/models/location_area_summary.rb +31 -16
  425. data/lib/pokeapi_client/models/location_detail.rb +36 -31
  426. data/lib/pokeapi_client/models/location_game_index.rb +44 -11
  427. data/lib/pokeapi_client/models/location_name.rb +31 -16
  428. data/lib/pokeapi_client/models/location_summary.rb +31 -16
  429. data/lib/pokeapi_client/models/machine_detail.rb +28 -11
  430. data/lib/pokeapi_client/models/machine_summary.rb +25 -11
  431. data/lib/pokeapi_client/models/move_battle_style_detail.rb +32 -16
  432. data/lib/pokeapi_client/models/move_battle_style_name.rb +31 -16
  433. data/lib/pokeapi_client/models/move_battle_style_summary.rb +31 -16
  434. data/lib/pokeapi_client/models/move_change.rb +99 -35
  435. data/lib/pokeapi_client/models/{move_detail_contest_combos_normal.rb → move_combo_usage.rb} +33 -46
  436. data/lib/pokeapi_client/models/{move_detail_contest_combos.rb → move_combos.rb} +31 -16
  437. data/lib/pokeapi_client/models/move_damage_class_description.rb +31 -16
  438. data/lib/pokeapi_client/models/move_damage_class_detail.rb +34 -16
  439. data/lib/pokeapi_client/models/move_damage_class_name.rb +31 -16
  440. data/lib/pokeapi_client/models/move_damage_class_summary.rb +31 -16
  441. data/lib/pokeapi_client/models/move_detail.rb +133 -84
  442. data/lib/pokeapi_client/models/{move_detail_effect_changes_inner.rb → move_effect_change.rb} +59 -44
  443. data/lib/pokeapi_client/models/{move_change_effect_entries_inner.rb → move_effect_change_effect_text.rb} +37 -39
  444. data/lib/pokeapi_client/models/move_effect_effect_text.rb +250 -0
  445. data/lib/pokeapi_client/models/move_flavor_text.rb +27 -11
  446. data/lib/pokeapi_client/models/move_learn_method_description.rb +31 -16
  447. data/lib/pokeapi_client/models/move_learn_method_detail.rb +35 -17
  448. data/lib/pokeapi_client/models/move_learn_method_name.rb +31 -16
  449. data/lib/pokeapi_client/models/move_learn_method_summary.rb +31 -16
  450. data/lib/pokeapi_client/models/move_meta.rb +276 -11
  451. data/lib/pokeapi_client/models/move_meta_ailment_detail.rb +34 -17
  452. data/lib/pokeapi_client/models/move_meta_ailment_name.rb +31 -16
  453. data/lib/pokeapi_client/models/move_meta_ailment_summary.rb +31 -16
  454. data/lib/pokeapi_client/models/move_meta_category_description.rb +31 -16
  455. data/lib/pokeapi_client/models/move_meta_category_detail.rb +34 -17
  456. data/lib/pokeapi_client/models/move_meta_category_summary.rb +31 -16
  457. data/lib/pokeapi_client/models/{move_detail_stat_changes_inner.rb → move_meta_stat_change.rb} +48 -15
  458. data/lib/pokeapi_client/models/move_name.rb +31 -16
  459. data/lib/pokeapi_client/models/{stat_detail_affecting_moves_increase_inner.rb → move_stat_change.rb} +48 -15
  460. data/lib/pokeapi_client/models/move_summary.rb +31 -16
  461. data/lib/pokeapi_client/models/move_target_description.rb +31 -16
  462. data/lib/pokeapi_client/models/move_target_detail.rb +34 -16
  463. data/lib/pokeapi_client/models/move_target_name.rb +31 -16
  464. data/lib/pokeapi_client/models/move_target_summary.rb +31 -16
  465. data/lib/pokeapi_client/models/nature_battle_style_preference.rb +63 -11
  466. data/lib/pokeapi_client/models/nature_detail.rb +44 -106
  467. data/lib/pokeapi_client/models/nature_name.rb +31 -16
  468. data/lib/pokeapi_client/models/{nature_detail_pokeathlon_stat_changes_inner.rb → nature_pokeathlon_stat.rb} +48 -15
  469. data/lib/pokeapi_client/models/nature_summary.rb +31 -16
  470. data/lib/pokeapi_client/models/paginated_ability_summary_list.rb +64 -11
  471. data/lib/pokeapi_client/models/paginated_berry_firmness_summary_list.rb +64 -11
  472. data/lib/pokeapi_client/models/paginated_berry_flavor_summary_list.rb +64 -11
  473. data/lib/pokeapi_client/models/paginated_berry_summary_list.rb +64 -11
  474. data/lib/pokeapi_client/models/paginated_characteristic_summary_list.rb +64 -11
  475. data/lib/pokeapi_client/models/paginated_contest_effect_summary_list.rb +64 -11
  476. data/lib/pokeapi_client/models/paginated_contest_type_summary_list.rb +64 -11
  477. data/lib/pokeapi_client/models/paginated_currency_summary_list.rb +229 -0
  478. data/lib/pokeapi_client/models/paginated_egg_group_summary_list.rb +64 -11
  479. data/lib/pokeapi_client/models/paginated_encounter_condition_summary_list.rb +64 -11
  480. data/lib/pokeapi_client/models/paginated_encounter_condition_value_summary_list.rb +64 -11
  481. data/lib/pokeapi_client/models/paginated_encounter_method_summary_list.rb +64 -11
  482. data/lib/pokeapi_client/models/paginated_evolution_chain_summary_list.rb +64 -11
  483. data/lib/pokeapi_client/models/paginated_evolution_trigger_summary_list.rb +64 -11
  484. data/lib/pokeapi_client/models/{evolution_chain_detail_chain_evolves_to_inner.rb → paginated_evolution_variable_summary_list.rb} +81 -70
  485. data/lib/pokeapi_client/models/paginated_gender_summary_list.rb +64 -11
  486. data/lib/pokeapi_client/models/paginated_generation_summary_list.rb +64 -11
  487. data/lib/pokeapi_client/models/paginated_growth_rate_summary_list.rb +64 -11
  488. data/lib/pokeapi_client/models/paginated_item_attribute_summary_list.rb +64 -11
  489. data/lib/pokeapi_client/models/paginated_item_category_summary_list.rb +64 -11
  490. data/lib/pokeapi_client/models/paginated_item_fling_effect_summary_list.rb +64 -11
  491. data/lib/pokeapi_client/models/paginated_item_pocket_summary_list.rb +64 -11
  492. data/lib/pokeapi_client/models/paginated_item_summary_list.rb +64 -11
  493. data/lib/pokeapi_client/models/paginated_language_summary_list.rb +64 -11
  494. data/lib/pokeapi_client/models/paginated_location_area_summary_list.rb +64 -11
  495. data/lib/pokeapi_client/models/paginated_location_summary_list.rb +64 -11
  496. data/lib/pokeapi_client/models/paginated_machine_summary_list.rb +64 -11
  497. data/lib/pokeapi_client/models/paginated_move_battle_style_summary_list.rb +64 -11
  498. data/lib/pokeapi_client/models/paginated_move_damage_class_summary_list.rb +64 -11
  499. data/lib/pokeapi_client/models/paginated_move_learn_method_summary_list.rb +64 -11
  500. data/lib/pokeapi_client/models/paginated_move_meta_ailment_summary_list.rb +64 -11
  501. data/lib/pokeapi_client/models/paginated_move_meta_category_summary_list.rb +64 -11
  502. data/lib/pokeapi_client/models/paginated_move_summary_list.rb +64 -11
  503. data/lib/pokeapi_client/models/paginated_move_target_summary_list.rb +64 -11
  504. data/lib/pokeapi_client/models/paginated_nature_summary_list.rb +64 -11
  505. data/lib/pokeapi_client/models/paginated_pal_park_area_summary_list.rb +64 -11
  506. data/lib/pokeapi_client/models/paginated_pokeathlon_stat_summary_list.rb +64 -11
  507. data/lib/pokeapi_client/models/paginated_pokedex_summary_list.rb +64 -11
  508. data/lib/pokeapi_client/models/paginated_pokemon_color_summary_list.rb +64 -11
  509. data/lib/pokeapi_client/models/paginated_pokemon_form_summary_list.rb +64 -11
  510. data/lib/pokeapi_client/models/paginated_pokemon_habitat_summary_list.rb +64 -11
  511. data/lib/pokeapi_client/models/paginated_pokemon_shape_summary_list.rb +64 -11
  512. data/lib/pokeapi_client/models/paginated_pokemon_species_summary_list.rb +64 -11
  513. data/lib/pokeapi_client/models/paginated_pokemon_summary_list.rb +64 -11
  514. data/lib/pokeapi_client/models/paginated_region_summary_list.rb +64 -11
  515. data/lib/pokeapi_client/models/paginated_stat_summary_list.rb +64 -11
  516. data/lib/pokeapi_client/models/paginated_super_contest_effect_summary_list.rb +64 -11
  517. data/lib/pokeapi_client/models/paginated_type_summary_list.rb +64 -11
  518. data/lib/pokeapi_client/models/paginated_version_group_summary_list.rb +64 -11
  519. data/lib/pokeapi_client/models/paginated_version_summary_list.rb +64 -11
  520. data/lib/pokeapi_client/models/pal_park_area_detail.rb +34 -17
  521. data/lib/pokeapi_client/models/pal_park_area_name.rb +31 -16
  522. data/lib/pokeapi_client/models/pal_park_area_summary.rb +31 -16
  523. data/lib/pokeapi_client/models/{pal_park_area_detail_pokemon_encounters_inner.rb → pal_park_encounter.rb} +89 -47
  524. data/lib/pokeapi_client/models/pokeapi_meta_response.rb +190 -0
  525. data/lib/pokeapi_client/models/{pokeathlon_stat_detail_affecting_natures_increase_inner.rb → pokeathlon_stat_affecting_nature.rb} +44 -20
  526. data/lib/pokeapi_client/models/{pokeathlon_stat_detail_affecting_natures.rb → pokeathlon_stat_affecting_natures.rb} +61 -46
  527. data/lib/pokeapi_client/models/pokeathlon_stat_detail.rb +34 -17
  528. data/lib/pokeapi_client/models/pokeathlon_stat_name.rb +31 -16
  529. data/lib/pokeapi_client/models/pokeathlon_stat_summary.rb +31 -16
  530. data/lib/pokeapi_client/models/pokedex_description.rb +31 -16
  531. data/lib/pokeapi_client/models/pokedex_detail.rb +40 -33
  532. data/lib/pokeapi_client/models/pokedex_name.rb +31 -16
  533. data/lib/pokeapi_client/models/pokedex_summary.rb +31 -16
  534. data/lib/pokeapi_client/models/{pokemon_detail_abilities_inner.rb → pokemon_ability.rb} +73 -56
  535. data/lib/pokeapi_client/models/pokemon_ability_past.rb +219 -0
  536. data/lib/pokeapi_client/models/pokemon_color_detail.rb +33 -16
  537. data/lib/pokeapi_client/models/pokemon_color_name.rb +31 -16
  538. data/lib/pokeapi_client/models/pokemon_color_summary.rb +31 -16
  539. data/lib/pokeapi_client/models/{pokemon_detail_cries.rb → pokemon_cries.rb} +31 -44
  540. data/lib/pokeapi_client/models/pokemon_detail.rb +186 -26
  541. data/lib/pokeapi_client/models/pokemon_dex_entry.rb +26 -11
  542. data/lib/pokeapi_client/models/{pokedex_detail_pokemon_entries_inner.rb → pokemon_dex_number.rb} +30 -15
  543. data/lib/pokeapi_client/models/{location_area_detail_pokemon_encounters_inner_version_details_inner_encounter_details.rb → pokemon_encounter_detail_response.rb} +104 -67
  544. data/lib/pokeapi_client/models/pokemon_encounter_response.rb +207 -0
  545. data/lib/pokeapi_client/models/pokemon_encounter_version_detail_response.rb +234 -0
  546. data/lib/pokeapi_client/models/pokemon_evolution.rb +785 -0
  547. data/lib/pokeapi_client/models/{evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_gender.rb → pokemon_evolution_known_move.rb} +27 -14
  548. data/lib/pokeapi_client/models/pokemon_form_detail.rb +156 -23
  549. data/lib/pokeapi_client/models/pokemon_form_flavor_text.rb +232 -0
  550. data/lib/pokeapi_client/models/pokemon_form_name.rb +214 -0
  551. data/lib/pokeapi_client/models/pokemon_form_sprites.rb +277 -0
  552. data/lib/pokeapi_client/models/pokemon_form_summary.rb +31 -16
  553. data/lib/pokeapi_client/models/{berry_detail_flavors_inner_flavor.rb → pokemon_form_trigger_condition.rb} +70 -20
  554. data/lib/pokeapi_client/models/pokemon_form_type.rb +223 -0
  555. data/lib/pokeapi_client/models/pokemon_game_index.rb +44 -11
  556. data/lib/pokeapi_client/models/pokemon_habitat_detail.rb +33 -16
  557. data/lib/pokeapi_client/models/pokemon_habitat_name.rb +31 -16
  558. data/lib/pokeapi_client/models/pokemon_habitat_summary.rb +31 -16
  559. data/lib/pokeapi_client/models/{location_area_detail_pokemon_encounters_inner.rb → pokemon_held_item.rb} +31 -16
  560. data/lib/pokeapi_client/models/{pokemon_detail_held_items.rb → pokemon_held_item_summary.rb} +31 -16
  561. data/lib/pokeapi_client/models/{item_detail_held_by_pokemon_inner_version_details_inner.rb → pokemon_held_item_version.rb} +30 -15
  562. data/lib/pokeapi_client/models/{pokemon_detail_moves_inner.rb → pokemon_move.rb} +31 -16
  563. data/lib/pokeapi_client/models/{pokemon_detail_moves_inner_version_group_details_inner.rb → pokemon_move_version_group.rb} +46 -19
  564. data/lib/pokeapi_client/models/{pokemon_detail_past_abilities_inner.rb → pokemon_past_ability.rb} +31 -16
  565. data/lib/pokeapi_client/models/pokemon_past_stat.rb +207 -0
  566. data/lib/pokeapi_client/models/{pokemon_detail_past_types_inner.rb → pokemon_past_type.rb} +31 -16
  567. data/lib/pokeapi_client/models/{pokemon_shape_detail_awesome_names_inner.rb → pokemon_shape_awesome_name.rb} +39 -15
  568. data/lib/pokeapi_client/models/pokemon_shape_detail.rb +36 -18
  569. data/lib/pokeapi_client/models/pokemon_shape_name.rb +214 -0
  570. data/lib/pokeapi_client/models/pokemon_shape_summary.rb +31 -16
  571. data/lib/pokeapi_client/models/pokemon_species_description.rb +31 -16
  572. data/lib/pokeapi_client/models/pokemon_species_detail.rb +183 -51
  573. data/lib/pokeapi_client/models/pokemon_species_flavor_text.rb +27 -11
  574. data/lib/pokeapi_client/models/{pokemon_species_detail_genera_inner.rb → pokemon_species_genus.rb} +39 -15
  575. data/lib/pokeapi_client/models/pokemon_species_name.rb +214 -0
  576. data/lib/pokeapi_client/models/{pokemon_species_detail_pal_park_encounters_inner.rb → pokemon_species_pal_park_encounter.rb} +91 -49
  577. data/lib/pokeapi_client/models/pokemon_species_summary.rb +31 -16
  578. data/lib/pokeapi_client/models/{pokemon_species_detail_varieties_inner.rb → pokemon_species_variety.rb} +30 -15
  579. data/lib/pokeapi_client/models/pokemon_sprites.rb +277 -0
  580. data/lib/pokeapi_client/models/{move_detail_machines_inner.rb → pokemon_sprites_other.rb} +62 -61
  581. data/lib/pokeapi_client/models/{pokemon_detail_sprites.rb → pokemon_sprites_other_dream_world.rb} +48 -18
  582. data/lib/pokeapi_client/models/pokemon_sprites_other_home.rb +203 -0
  583. data/lib/pokeapi_client/models/{berry_flavor_detail_berries_inner_berry.rb → pokemon_sprites_other_official_artwork.rb} +60 -29
  584. data/lib/pokeapi_client/models/pokemon_sprites_other_showdown.rb +255 -0
  585. data/lib/pokeapi_client/models/pokemon_stat.rb +63 -11
  586. data/lib/pokeapi_client/models/pokemon_summary.rb +31 -16
  587. data/lib/pokeapi_client/models/{pokemon_detail_types_inner.rb → pokemon_type.rb} +48 -15
  588. data/lib/pokeapi_client/models/region_detail.rb +38 -32
  589. data/lib/pokeapi_client/models/region_name.rb +31 -16
  590. data/lib/pokeapi_client/models/region_summary.rb +31 -16
  591. data/lib/pokeapi_client/models/{stat_detail_affecting_natures.rb → stat_affecting_moves.rb} +31 -16
  592. data/lib/pokeapi_client/models/{stat_detail_affecting_moves.rb → stat_affecting_natures.rb} +31 -16
  593. data/lib/pokeapi_client/models/stat_detail.rb +89 -34
  594. data/lib/pokeapi_client/models/stat_name.rb +31 -16
  595. data/lib/pokeapi_client/models/stat_summary.rb +31 -16
  596. data/lib/pokeapi_client/models/super_contest_effect_detail.rb +46 -11
  597. data/lib/pokeapi_client/models/super_contest_effect_flavor_text.rb +26 -11
  598. data/lib/pokeapi_client/models/super_contest_effect_summary.rb +25 -11
  599. data/lib/pokeapi_client/models/type_detail.rb +46 -36
  600. data/lib/pokeapi_client/models/type_game_index.rb +44 -11
  601. data/lib/pokeapi_client/models/{type_detail_sprites_value_value.rb → type_game_sprite.rb} +44 -18
  602. data/lib/pokeapi_client/models/{pokemon_form_detail_form_names_inner.rb → type_name.rb} +68 -44
  603. data/lib/pokeapi_client/models/{type_detail_past_damage_relations_inner.rb → type_past_relationships.rb} +31 -16
  604. data/lib/pokeapi_client/models/{ability_detail_pokemon_inner.rb → type_pokemon.rb} +49 -42
  605. data/lib/pokeapi_client/models/{type_detail_damage_relations.rb → type_relationships.rb} +39 -20
  606. data/lib/pokeapi_client/models/type_summary.rb +31 -16
  607. data/lib/pokeapi_client/models/version_detail.rb +33 -16
  608. data/lib/pokeapi_client/models/version_group_detail.rb +64 -19
  609. data/lib/pokeapi_client/models/version_group_summary.rb +31 -16
  610. data/lib/pokeapi_client/models/version_name.rb +31 -16
  611. data/lib/pokeapi_client/models/version_summary.rb +31 -16
  612. data/lib/pokeapi_client/version.rb +4 -4
  613. data/lib/pokeapi_client.rb +81 -64
  614. data/pokeapi_client.gemspec +4 -4
  615. data/spec/api/berries_api_spec.rb +3 -3
  616. data/spec/api/contests_api_spec.rb +3 -5
  617. data/spec/api/encounters_api_spec.rb +3 -3
  618. data/spec/api/evolution_api_spec.rb +29 -4
  619. data/spec/api/games_api_spec.rb +3 -3
  620. data/spec/api/items_api_spec.rb +29 -3
  621. data/spec/api/location_api_spec.rb +3 -3
  622. data/spec/api/machines_api_spec.rb +3 -4
  623. data/spec/api/moves_api_spec.rb +3 -3
  624. data/spec/api/pokemon_api_spec.rb +6 -5
  625. data/spec/api/utility_api_spec.rb +14 -3
  626. data/spec/models/ability_change_effect_text_spec.rb +3 -3
  627. data/spec/models/ability_change_spec.rb +3 -3
  628. data/spec/models/ability_detail_spec.rb +3 -3
  629. data/spec/models/ability_effect_text_spec.rb +3 -3
  630. data/spec/models/ability_flavor_text_spec.rb +3 -3
  631. data/spec/models/ability_name_spec.rb +3 -3
  632. data/spec/models/{ability_detail_pokemon_inner_spec.rb → ability_pokemon_detail_spec.rb} +9 -9
  633. data/spec/models/ability_summary_spec.rb +3 -3
  634. data/spec/models/berry_detail_spec.rb +3 -3
  635. data/spec/models/berry_firmness_detail_spec.rb +3 -3
  636. data/spec/models/berry_firmness_name_spec.rb +3 -3
  637. data/spec/models/berry_firmness_summary_spec.rb +3 -3
  638. data/spec/models/{berry_flavor_detail_berries_inner_spec.rb → berry_flavor_berry_map_spec.rb} +9 -9
  639. data/spec/models/berry_flavor_detail_spec.rb +3 -3
  640. data/spec/models/{berry_detail_flavors_inner_spec.rb → berry_flavor_map_spec.rb} +9 -9
  641. data/spec/models/berry_flavor_name_spec.rb +3 -3
  642. data/spec/models/berry_flavor_summary_spec.rb +3 -3
  643. data/spec/models/berry_summary_spec.rb +3 -3
  644. data/spec/models/characteristic_description_spec.rb +3 -3
  645. data/spec/models/characteristic_detail_spec.rb +3 -3
  646. data/spec/models/characteristic_summary_spec.rb +3 -3
  647. data/spec/models/contest_effect_detail_spec.rb +3 -3
  648. data/spec/models/contest_effect_effect_text_spec.rb +3 -3
  649. data/spec/models/contest_effect_flavor_text_spec.rb +3 -3
  650. data/spec/models/contest_effect_summary_spec.rb +3 -3
  651. data/spec/models/contest_type_detail_spec.rb +3 -3
  652. data/spec/models/contest_type_name_spec.rb +3 -3
  653. data/spec/models/contest_type_summary_spec.rb +3 -3
  654. data/spec/models/{ability_detail_pokemon_inner_pokemon_spec.rb → currency_detail_spec.rb} +16 -10
  655. data/spec/models/currency_name_spec.rb +42 -0
  656. data/spec/models/{type_detail_pokemon_inner_pokemon_spec.rb → currency_summary_spec.rb} +9 -9
  657. data/spec/models/egg_group_detail_spec.rb +3 -3
  658. data/spec/models/egg_group_name_spec.rb +3 -3
  659. data/spec/models/egg_group_summary_spec.rb +3 -3
  660. data/spec/models/encounter_condition_detail_spec.rb +3 -3
  661. data/spec/models/encounter_condition_name_spec.rb +3 -3
  662. data/spec/models/encounter_condition_summary_spec.rb +3 -3
  663. data/spec/models/encounter_condition_value_detail_spec.rb +3 -3
  664. data/spec/models/encounter_condition_value_name_spec.rb +3 -3
  665. data/spec/models/encounter_condition_value_summary_spec.rb +3 -3
  666. data/spec/models/encounter_method_detail_spec.rb +3 -3
  667. data/spec/models/encounter_method_name_spec.rb +3 -3
  668. data/spec/models/encounter_method_summary_spec.rb +3 -3
  669. data/spec/models/encounter_pokemon_detail_spec.rb +54 -0
  670. data/spec/models/evolution_chain_detail_spec.rb +3 -3
  671. data/spec/models/{evolution_chain_detail_chain_spec.rb → evolution_chain_link_spec.rb} +13 -13
  672. data/spec/models/evolution_chain_summary_spec.rb +3 -3
  673. data/spec/models/{evolution_chain_detail_chain_evolves_to_inner_spec.rb → evolution_condition_expression_spec.rb} +12 -12
  674. data/spec/models/evolution_trigger_detail_spec.rb +3 -3
  675. data/spec/models/evolution_trigger_name_spec.rb +3 -3
  676. data/spec/models/evolution_trigger_summary_spec.rb +3 -3
  677. data/spec/models/evolution_variable_description_spec.rb +42 -0
  678. data/spec/models/{type_detail_past_damage_relations_inner_damage_relations_spec.rb → evolution_variable_detail_spec.rb} +27 -15
  679. data/spec/models/evolution_variable_name_spec.rb +42 -0
  680. data/spec/models/{berry_detail_flavors_inner_flavor_spec.rb → evolution_variable_summary_spec.rb} +9 -9
  681. data/spec/models/experience_spec.rb +3 -3
  682. data/spec/models/gender_detail_spec.rb +3 -3
  683. data/spec/models/{gender_detail_pokemon_species_details_inner_spec.rb → gender_pokemon_species_spec.rb} +9 -9
  684. data/spec/models/gender_summary_spec.rb +3 -3
  685. data/spec/models/generation_detail_spec.rb +3 -3
  686. data/spec/models/generation_name_spec.rb +3 -3
  687. data/spec/models/generation_summary_spec.rb +3 -3
  688. data/spec/models/growth_rate_description_spec.rb +3 -3
  689. data/spec/models/growth_rate_detail_spec.rb +3 -3
  690. data/spec/models/growth_rate_summary_spec.rb +3 -3
  691. data/spec/models/item_attribute_description_spec.rb +3 -3
  692. data/spec/models/item_attribute_detail_spec.rb +3 -3
  693. data/spec/models/item_attribute_name_spec.rb +3 -3
  694. data/spec/models/item_attribute_summary_spec.rb +3 -3
  695. data/spec/models/item_category_detail_spec.rb +3 -3
  696. data/spec/models/item_category_name_spec.rb +3 -3
  697. data/spec/models/item_category_summary_spec.rb +3 -3
  698. data/spec/models/item_detail_spec.rb +9 -9
  699. data/spec/models/item_effect_text_spec.rb +3 -3
  700. data/spec/models/item_flavor_text_spec.rb +3 -3
  701. data/spec/models/item_fling_effect_detail_spec.rb +3 -3
  702. data/spec/models/item_fling_effect_effect_text_spec.rb +3 -3
  703. data/spec/models/item_fling_effect_summary_spec.rb +3 -3
  704. data/spec/models/item_game_index_spec.rb +3 -3
  705. data/spec/models/{move_detail_machines_inner_spec.rb → item_machine_spec.rb} +9 -9
  706. data/spec/models/item_name_spec.rb +3 -3
  707. data/spec/models/item_pocket_detail_spec.rb +3 -3
  708. data/spec/models/item_pocket_name_spec.rb +3 -3
  709. data/spec/models/item_pocket_summary_spec.rb +3 -3
  710. data/spec/models/item_price_spec.rb +54 -0
  711. data/spec/models/{item_detail_sprites_spec.rb → item_sprites_spec.rb} +9 -9
  712. data/spec/models/item_summary_spec.rb +3 -3
  713. data/spec/models/language_detail_spec.rb +3 -3
  714. data/spec/models/language_name_spec.rb +3 -3
  715. data/spec/models/language_summary_spec.rb +3 -3
  716. data/spec/models/location_area_detail_spec.rb +3 -3
  717. data/spec/models/{location_area_detail_pokemon_encounters_inner_version_details_inner_encounter_details_spec.rb → location_area_encounter_detail_spec.rb} +18 -12
  718. data/spec/models/{location_area_detail_encounter_method_rates_inner_spec.rb → location_area_encounter_rate_spec.rb} +9 -9
  719. data/spec/models/{location_area_detail_encounter_method_rates_inner_version_details_inner_spec.rb → location_area_encounter_version_detail_spec.rb} +9 -9
  720. data/spec/models/location_area_name_spec.rb +3 -3
  721. data/spec/models/{location_area_detail_pokemon_encounters_inner_spec.rb → location_area_pokemon_encounter_spec.rb} +9 -9
  722. data/spec/models/{location_area_detail_pokemon_encounters_inner_version_details_inner_spec.rb → location_area_pokemon_encounter_version_spec.rb} +9 -9
  723. data/spec/models/location_area_summary_spec.rb +3 -3
  724. data/spec/models/location_detail_spec.rb +3 -3
  725. data/spec/models/location_game_index_spec.rb +3 -3
  726. data/spec/models/location_name_spec.rb +3 -3
  727. data/spec/models/location_summary_spec.rb +3 -3
  728. data/spec/models/machine_detail_spec.rb +3 -3
  729. data/spec/models/machine_summary_spec.rb +3 -3
  730. data/spec/models/move_battle_style_detail_spec.rb +3 -3
  731. data/spec/models/move_battle_style_name_spec.rb +3 -3
  732. data/spec/models/move_battle_style_summary_spec.rb +3 -3
  733. data/spec/models/move_change_spec.rb +3 -3
  734. data/spec/models/{move_detail_contest_combos_normal_spec.rb → move_combo_usage_spec.rb} +9 -9
  735. data/spec/models/{move_detail_contest_combos_spec.rb → move_combos_spec.rb} +9 -9
  736. data/spec/models/move_damage_class_description_spec.rb +3 -3
  737. data/spec/models/move_damage_class_detail_spec.rb +3 -3
  738. data/spec/models/move_damage_class_name_spec.rb +3 -3
  739. data/spec/models/move_damage_class_summary_spec.rb +3 -3
  740. data/spec/models/move_detail_spec.rb +3 -3
  741. data/spec/models/{move_detail_effect_changes_inner_effect_entries_inner_spec.rb → move_effect_change_effect_text_spec.rb} +9 -9
  742. data/spec/models/{move_detail_effect_changes_inner_spec.rb → move_effect_change_spec.rb} +11 -11
  743. data/spec/models/{move_change_effect_entries_inner_spec.rb → move_effect_effect_text_spec.rb} +9 -9
  744. data/spec/models/move_flavor_text_spec.rb +3 -3
  745. data/spec/models/move_learn_method_description_spec.rb +3 -3
  746. data/spec/models/move_learn_method_detail_spec.rb +3 -3
  747. data/spec/models/move_learn_method_name_spec.rb +3 -3
  748. data/spec/models/move_learn_method_summary_spec.rb +3 -3
  749. data/spec/models/move_meta_ailment_detail_spec.rb +3 -3
  750. data/spec/models/move_meta_ailment_name_spec.rb +3 -3
  751. data/spec/models/move_meta_ailment_summary_spec.rb +3 -3
  752. data/spec/models/move_meta_category_description_spec.rb +3 -3
  753. data/spec/models/move_meta_category_detail_spec.rb +3 -3
  754. data/spec/models/move_meta_category_summary_spec.rb +3 -3
  755. data/spec/models/move_meta_spec.rb +3 -3
  756. data/spec/models/{move_detail_stat_changes_inner_spec.rb → move_meta_stat_change_spec.rb} +9 -9
  757. data/spec/models/move_name_spec.rb +3 -3
  758. data/spec/models/{stat_detail_affecting_moves_increase_inner_spec.rb → move_stat_change_spec.rb} +9 -9
  759. data/spec/models/move_summary_spec.rb +3 -3
  760. data/spec/models/move_target_description_spec.rb +3 -3
  761. data/spec/models/move_target_detail_spec.rb +3 -3
  762. data/spec/models/move_target_name_spec.rb +3 -3
  763. data/spec/models/move_target_summary_spec.rb +3 -3
  764. data/spec/models/nature_battle_style_preference_spec.rb +3 -3
  765. data/spec/models/nature_detail_spec.rb +3 -9
  766. data/spec/models/nature_name_spec.rb +3 -3
  767. data/spec/models/{nature_detail_pokeathlon_stat_changes_inner_spec.rb → nature_pokeathlon_stat_spec.rb} +9 -9
  768. data/spec/models/nature_summary_spec.rb +3 -3
  769. data/spec/models/paginated_ability_summary_list_spec.rb +3 -3
  770. data/spec/models/paginated_berry_firmness_summary_list_spec.rb +3 -3
  771. data/spec/models/paginated_berry_flavor_summary_list_spec.rb +3 -3
  772. data/spec/models/paginated_berry_summary_list_spec.rb +3 -3
  773. data/spec/models/paginated_characteristic_summary_list_spec.rb +3 -3
  774. data/spec/models/paginated_contest_effect_summary_list_spec.rb +3 -3
  775. data/spec/models/paginated_contest_type_summary_list_spec.rb +3 -3
  776. data/spec/models/paginated_currency_summary_list_spec.rb +54 -0
  777. data/spec/models/paginated_egg_group_summary_list_spec.rb +3 -3
  778. data/spec/models/paginated_encounter_condition_summary_list_spec.rb +3 -3
  779. data/spec/models/paginated_encounter_condition_value_summary_list_spec.rb +3 -3
  780. data/spec/models/paginated_encounter_method_summary_list_spec.rb +3 -3
  781. data/spec/models/paginated_evolution_chain_summary_list_spec.rb +3 -3
  782. data/spec/models/paginated_evolution_trigger_summary_list_spec.rb +3 -3
  783. data/spec/models/paginated_evolution_variable_summary_list_spec.rb +54 -0
  784. data/spec/models/paginated_gender_summary_list_spec.rb +3 -3
  785. data/spec/models/paginated_generation_summary_list_spec.rb +3 -3
  786. data/spec/models/paginated_growth_rate_summary_list_spec.rb +3 -3
  787. data/spec/models/paginated_item_attribute_summary_list_spec.rb +3 -3
  788. data/spec/models/paginated_item_category_summary_list_spec.rb +3 -3
  789. data/spec/models/paginated_item_fling_effect_summary_list_spec.rb +3 -3
  790. data/spec/models/paginated_item_pocket_summary_list_spec.rb +3 -3
  791. data/spec/models/paginated_item_summary_list_spec.rb +3 -3
  792. data/spec/models/paginated_language_summary_list_spec.rb +3 -3
  793. data/spec/models/paginated_location_area_summary_list_spec.rb +3 -3
  794. data/spec/models/paginated_location_summary_list_spec.rb +3 -3
  795. data/spec/models/paginated_machine_summary_list_spec.rb +3 -3
  796. data/spec/models/paginated_move_battle_style_summary_list_spec.rb +3 -3
  797. data/spec/models/paginated_move_damage_class_summary_list_spec.rb +3 -3
  798. data/spec/models/paginated_move_learn_method_summary_list_spec.rb +3 -3
  799. data/spec/models/paginated_move_meta_ailment_summary_list_spec.rb +3 -3
  800. data/spec/models/paginated_move_meta_category_summary_list_spec.rb +3 -3
  801. data/spec/models/paginated_move_summary_list_spec.rb +3 -3
  802. data/spec/models/paginated_move_target_summary_list_spec.rb +3 -3
  803. data/spec/models/paginated_nature_summary_list_spec.rb +3 -3
  804. data/spec/models/paginated_pal_park_area_summary_list_spec.rb +3 -3
  805. data/spec/models/paginated_pokeathlon_stat_summary_list_spec.rb +3 -3
  806. data/spec/models/paginated_pokedex_summary_list_spec.rb +3 -3
  807. data/spec/models/paginated_pokemon_color_summary_list_spec.rb +3 -3
  808. data/spec/models/paginated_pokemon_form_summary_list_spec.rb +3 -3
  809. data/spec/models/paginated_pokemon_habitat_summary_list_spec.rb +3 -3
  810. data/spec/models/paginated_pokemon_shape_summary_list_spec.rb +3 -3
  811. data/spec/models/paginated_pokemon_species_summary_list_spec.rb +3 -3
  812. data/spec/models/paginated_pokemon_summary_list_spec.rb +3 -3
  813. data/spec/models/paginated_region_summary_list_spec.rb +3 -3
  814. data/spec/models/paginated_stat_summary_list_spec.rb +3 -3
  815. data/spec/models/paginated_super_contest_effect_summary_list_spec.rb +3 -3
  816. data/spec/models/paginated_type_summary_list_spec.rb +3 -3
  817. data/spec/models/paginated_version_group_summary_list_spec.rb +3 -3
  818. data/spec/models/paginated_version_summary_list_spec.rb +3 -3
  819. data/spec/models/pal_park_area_detail_spec.rb +3 -3
  820. data/spec/models/pal_park_area_name_spec.rb +3 -3
  821. data/spec/models/pal_park_area_summary_spec.rb +3 -3
  822. data/spec/models/{pal_park_area_detail_pokemon_encounters_inner_spec.rb → pal_park_encounter_spec.rb} +11 -11
  823. data/spec/models/pokeapi_meta_response_spec.rb +48 -0
  824. data/spec/models/{pokeathlon_stat_detail_affecting_natures_decrease_inner_spec.rb → pokeathlon_stat_affecting_nature_spec.rb} +9 -9
  825. data/spec/models/{pokeathlon_stat_detail_affecting_natures_spec.rb → pokeathlon_stat_affecting_natures_spec.rb} +11 -11
  826. data/spec/models/pokeathlon_stat_detail_spec.rb +3 -3
  827. data/spec/models/pokeathlon_stat_name_spec.rb +3 -3
  828. data/spec/models/pokeathlon_stat_summary_spec.rb +3 -3
  829. data/spec/models/pokedex_description_spec.rb +3 -3
  830. data/spec/models/pokedex_detail_spec.rb +3 -3
  831. data/spec/models/pokedex_name_spec.rb +3 -3
  832. data/spec/models/pokedex_summary_spec.rb +3 -3
  833. data/spec/models/{pokemon_detail_abilities_inner_spec.rb → pokemon_ability_past_spec.rb} +12 -12
  834. data/spec/models/pokemon_ability_spec.rb +48 -0
  835. data/spec/models/pokemon_color_detail_spec.rb +3 -3
  836. data/spec/models/pokemon_color_name_spec.rb +3 -3
  837. data/spec/models/pokemon_color_summary_spec.rb +3 -3
  838. data/spec/models/{pokemon_detail_cries_spec.rb → pokemon_cries_spec.rb} +9 -9
  839. data/spec/models/pokemon_detail_spec.rb +9 -3
  840. data/spec/models/pokemon_dex_entry_spec.rb +3 -3
  841. data/spec/models/pokemon_dex_number_spec.rb +42 -0
  842. data/spec/models/pokemon_encounter_detail_response_spec.rb +60 -0
  843. data/spec/models/pokemon_encounter_response_spec.rb +42 -0
  844. data/spec/models/pokemon_encounter_version_detail_response_spec.rb +48 -0
  845. data/spec/models/{pokemon_shape_detail_names_inner_spec.rb → pokemon_evolution_known_move_spec.rb} +11 -11
  846. data/spec/models/{evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_spec.rb → pokemon_evolution_spec.rb} +94 -16
  847. data/spec/models/pokemon_form_detail_spec.rb +15 -3
  848. data/spec/models/pokemon_form_flavor_text_spec.rb +48 -0
  849. data/spec/models/{pokemon_form_detail_form_names_inner_spec.rb → pokemon_form_name_spec.rb} +11 -11
  850. data/spec/models/pokemon_form_sprites_spec.rb +90 -0
  851. data/spec/models/pokemon_form_summary_spec.rb +3 -3
  852. data/spec/models/pokemon_form_trigger_condition_spec.rb +54 -0
  853. data/spec/models/{pokemon_detail_types_inner_spec.rb → pokemon_form_type_spec.rb} +9 -9
  854. data/spec/models/pokemon_game_index_spec.rb +3 -3
  855. data/spec/models/pokemon_habitat_detail_spec.rb +3 -3
  856. data/spec/models/pokemon_habitat_name_spec.rb +3 -3
  857. data/spec/models/pokemon_habitat_summary_spec.rb +3 -3
  858. data/spec/models/{item_detail_held_by_pokemon_inner_spec.rb → pokemon_held_item_spec.rb} +9 -9
  859. data/spec/models/{pokemon_detail_held_items_spec.rb → pokemon_held_item_summary_spec.rb} +9 -9
  860. data/spec/models/pokemon_held_item_version_spec.rb +42 -0
  861. data/spec/models/{pokemon_detail_moves_inner_spec.rb → pokemon_move_spec.rb} +9 -9
  862. data/spec/models/{pokemon_detail_moves_inner_version_group_details_inner_spec.rb → pokemon_move_version_group_spec.rb} +15 -9
  863. data/spec/models/{pokemon_detail_past_abilities_inner_spec.rb → pokemon_past_ability_spec.rb} +9 -9
  864. data/spec/models/pokemon_past_stat_spec.rb +42 -0
  865. data/spec/models/{pokemon_detail_past_types_inner_spec.rb → pokemon_past_type_spec.rb} +9 -9
  866. data/spec/models/{pokemon_shape_detail_awesome_names_inner_spec.rb → pokemon_shape_awesome_name_spec.rb} +9 -9
  867. data/spec/models/pokemon_shape_detail_spec.rb +3 -3
  868. data/spec/models/pokemon_shape_name_spec.rb +42 -0
  869. data/spec/models/pokemon_shape_summary_spec.rb +3 -3
  870. data/spec/models/pokemon_species_description_spec.rb +3 -3
  871. data/spec/models/pokemon_species_detail_spec.rb +3 -3
  872. data/spec/models/pokemon_species_flavor_text_spec.rb +3 -3
  873. data/spec/models/{pokemon_species_detail_genera_inner_spec.rb → pokemon_species_genus_spec.rb} +9 -9
  874. data/spec/models/pokemon_species_name_spec.rb +42 -0
  875. data/spec/models/{pokemon_species_detail_pal_park_encounters_inner_spec.rb → pokemon_species_pal_park_encounter_spec.rb} +12 -12
  876. data/spec/models/pokemon_species_summary_spec.rb +3 -3
  877. data/spec/models/{pokemon_species_detail_varieties_inner_spec.rb → pokemon_species_variety_spec.rb} +9 -9
  878. data/spec/models/pokemon_sprites_other_dream_world_spec.rb +42 -0
  879. data/spec/models/pokemon_sprites_other_home_spec.rb +54 -0
  880. data/spec/models/pokemon_sprites_other_official_artwork_spec.rb +48 -0
  881. data/spec/models/pokemon_sprites_other_showdown_spec.rb +78 -0
  882. data/spec/models/pokemon_sprites_other_spec.rb +54 -0
  883. data/spec/models/pokemon_sprites_spec.rb +90 -0
  884. data/spec/models/pokemon_stat_spec.rb +3 -3
  885. data/spec/models/pokemon_summary_spec.rb +3 -3
  886. data/spec/models/pokemon_type_spec.rb +42 -0
  887. data/spec/models/region_detail_spec.rb +3 -3
  888. data/spec/models/region_name_spec.rb +3 -3
  889. data/spec/models/region_summary_spec.rb +3 -3
  890. data/spec/models/{stat_detail_affecting_moves_spec.rb → stat_affecting_moves_spec.rb} +9 -9
  891. data/spec/models/{stat_detail_affecting_natures_spec.rb → stat_affecting_natures_spec.rb} +9 -9
  892. data/spec/models/stat_detail_spec.rb +9 -3
  893. data/spec/models/stat_name_spec.rb +3 -3
  894. data/spec/models/stat_summary_spec.rb +3 -3
  895. data/spec/models/super_contest_effect_detail_spec.rb +3 -3
  896. data/spec/models/super_contest_effect_flavor_text_spec.rb +3 -3
  897. data/spec/models/super_contest_effect_summary_spec.rb +3 -3
  898. data/spec/models/type_detail_spec.rb +3 -3
  899. data/spec/models/type_game_index_spec.rb +3 -3
  900. data/spec/models/type_game_sprite_spec.rb +42 -0
  901. data/spec/models/type_name_spec.rb +42 -0
  902. data/spec/models/{type_detail_past_damage_relations_inner_spec.rb → type_past_relationships_spec.rb} +9 -9
  903. data/spec/models/{type_detail_pokemon_inner_spec.rb → type_pokemon_spec.rb} +9 -9
  904. data/spec/models/{type_detail_damage_relations_spec.rb → type_relationships_spec.rb} +9 -9
  905. data/spec/models/type_summary_spec.rb +3 -3
  906. data/spec/models/version_detail_spec.rb +3 -3
  907. data/spec/models/version_group_detail_spec.rb +3 -3
  908. data/spec/models/version_group_summary_spec.rb +3 -3
  909. data/spec/models/version_name_spec.rb +3 -3
  910. data/spec/models/version_summary_spec.rb +3 -3
  911. data/spec/spec_helper.rb +3 -3
  912. metadata +508 -443
  913. data/docs/AbilityDetailPokemonInner.md +0 -22
  914. data/docs/BerryDetailFlavorsInner.md +0 -20
  915. data/docs/BerryDetailFlavorsInnerFlavor.md +0 -20
  916. data/docs/BerryFlavorDetailBerriesInner.md +0 -20
  917. data/docs/BerryFlavorDetailBerriesInnerBerry.md +0 -20
  918. data/docs/EggGroupDetailPokemonSpeciesInner.md +0 -20
  919. data/docs/EvolutionChainDetailChain.md +0 -24
  920. data/docs/EvolutionChainDetailChainEvolvesToInner.md +0 -22
  921. data/docs/EvolutionChainDetailChainEvolvesToInnerEvolutionDetailsInner.md +0 -52
  922. data/docs/EvolutionChainDetailChainEvolvesToInnerEvolutionDetailsInnerGender.md +0 -20
  923. data/docs/GenderDetailPokemonSpeciesDetailsInner.md +0 -20
  924. data/docs/ItemDetailBabyTriggerFor.md +0 -18
  925. data/docs/ItemDetailHeldByPokemonInner.md +0 -20
  926. data/docs/ItemDetailHeldByPokemonInnerVersionDetailsInner.md +0 -20
  927. data/docs/ItemDetailMachinesInner.md +0 -20
  928. data/docs/LocationAreaDetailEncounterMethodRatesInner.md +0 -20
  929. data/docs/LocationAreaDetailEncounterMethodRatesInnerVersionDetailsInner.md +0 -20
  930. data/docs/LocationAreaDetailPokemonEncountersInner.md +0 -20
  931. data/docs/LocationAreaDetailPokemonEncountersInnerVersionDetailsInner.md +0 -22
  932. data/docs/LocationAreaDetailPokemonEncountersInnerVersionDetailsInnerEncounterDetails.md +0 -26
  933. data/docs/MoveChangeEffectEntriesInner.md +0 -22
  934. data/docs/MoveDetailContestCombos.md +0 -20
  935. data/docs/MoveDetailContestCombosNormal.md +0 -20
  936. data/docs/MoveDetailEffectChangesInner.md +0 -20
  937. data/docs/MoveDetailEffectChangesInnerEffectEntriesInner.md +0 -20
  938. data/docs/MoveDetailMachinesInner.md +0 -20
  939. data/docs/MoveDetailMachinesInnerMachine.md +0 -18
  940. data/docs/MoveDetailStatChangesInner.md +0 -20
  941. data/docs/NatureDetailPokeathlonStatChangesInner.md +0 -20
  942. data/docs/PalParkAreaDetailPokemonEncountersInner.md +0 -22
  943. data/docs/PokeathlonStatDetailAffectingNatures.md +0 -20
  944. data/docs/PokeathlonStatDetailAffectingNaturesDecreaseInner.md +0 -20
  945. data/docs/PokeathlonStatDetailAffectingNaturesIncreaseInner.md +0 -20
  946. data/docs/PokedexDetailPokemonEntriesInner.md +0 -20
  947. data/docs/PokemonDetailAbilitiesInner.md +0 -22
  948. data/docs/PokemonDetailCries.md +0 -20
  949. data/docs/PokemonDetailHeldItems.md +0 -20
  950. data/docs/PokemonDetailMovesInner.md +0 -20
  951. data/docs/PokemonDetailMovesInnerVersionGroupDetailsInner.md +0 -22
  952. data/docs/PokemonDetailPastAbilitiesInner.md +0 -20
  953. data/docs/PokemonDetailPastTypesInner.md +0 -20
  954. data/docs/PokemonDetailSprites.md +0 -18
  955. data/docs/PokemonDetailTypesInner.md +0 -20
  956. data/docs/PokemonFormDetailFormNamesInner.md +0 -20
  957. data/docs/PokemonFormDetailSprites.md +0 -18
  958. data/docs/PokemonShapeDetailAwesomeNamesInner.md +0 -20
  959. data/docs/PokemonShapeDetailNamesInner.md +0 -20
  960. data/docs/PokemonSpeciesDetailGeneraInner.md +0 -20
  961. data/docs/PokemonSpeciesDetailPalParkEncountersInner.md +0 -22
  962. data/docs/PokemonSpeciesDetailVarietiesInner.md +0 -20
  963. data/docs/StatDetailAffectingMoves.md +0 -20
  964. data/docs/StatDetailAffectingMovesIncreaseInner.md +0 -20
  965. data/docs/StatDetailAffectingNatures.md +0 -20
  966. data/docs/TypeDetailDamageRelations.md +0 -28
  967. data/docs/TypeDetailPastDamageRelationsInner.md +0 -20
  968. data/docs/TypeDetailPastDamageRelationsInnerDamageRelations.md +0 -28
  969. data/docs/TypeDetailPokemonInner.md +0 -20
  970. data/docs/TypeDetailPokemonInnerPokemon.md +0 -20
  971. data/docs/TypeDetailSpritesValueValue.md +0 -18
  972. data/lib/pokeapi_client/models/egg_group_detail_pokemon_species_inner.rb +0 -158
  973. data/lib/pokeapi_client/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner.rb +0 -606
  974. data/lib/pokeapi_client/models/item_detail_baby_trigger_for.rb +0 -164
  975. data/lib/pokeapi_client/models/move_detail_machines_inner_machine.rb +0 -164
  976. data/lib/pokeapi_client/models/pokeathlon_stat_detail_affecting_natures_decrease_inner.rb +0 -199
  977. data/lib/pokeapi_client/models/pokemon_form_detail_sprites.rb +0 -147
  978. data/lib/pokeapi_client/models/type_detail_past_damage_relations_inner_damage_relations.rb +0 -306
  979. data/lib/pokeapi_client/models/type_detail_pokemon_inner.rb +0 -156
  980. data/lib/pokeapi_client/models/type_detail_pokemon_inner_pokemon.rb +0 -158
  981. data/spec/models/berry_flavor_detail_berries_inner_berry_spec.rb +0 -42
  982. data/spec/models/egg_group_detail_pokemon_species_inner_spec.rb +0 -42
  983. data/spec/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_gender_spec.rb +0 -42
  984. data/spec/models/item_detail_baby_trigger_for_spec.rb +0 -36
  985. data/spec/models/item_detail_held_by_pokemon_inner_version_details_inner_spec.rb +0 -42
  986. data/spec/models/item_detail_machines_inner_spec.rb +0 -42
  987. data/spec/models/move_detail_machines_inner_machine_spec.rb +0 -36
  988. data/spec/models/pokeathlon_stat_detail_affecting_natures_increase_inner_spec.rb +0 -42
  989. data/spec/models/pokedex_detail_pokemon_entries_inner_spec.rb +0 -42
  990. data/spec/models/pokemon_detail_sprites_spec.rb +0 -36
  991. data/spec/models/pokemon_form_detail_sprites_spec.rb +0 -36
  992. data/spec/models/type_detail_sprites_value_value_spec.rb +0 -36
@@ -0,0 +1,20 @@
1
+ # PokeApiClient::StatAffectingNatures
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **increase** | [**Array<NatureSummary>**](NatureSummary.md) | A list of natures and how they change the referenced stat. | |
8
+ | **decrease** | [**Array<NatureSummary>**](NatureSummary.md) | A list of nature sand how they change the referenced stat. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pokeapi_client'
14
+
15
+ instance = PokeApiClient::StatAffectingNatures.new(
16
+ increase: null,
17
+ decrease: null
18
+ )
19
+ ```
20
+
data/docs/StatDetail.md CHANGED
@@ -4,15 +4,16 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **Integer** | | [readonly] |
8
- | **name** | **String** | | |
9
- | **game_index** | **Integer** | | |
10
- | **is_battle_only** | **Boolean** | | [optional] |
11
- | **affecting_moves** | [**StatDetailAffectingMoves**](StatDetailAffectingMoves.md) | | |
12
- | **affecting_natures** | [**StatDetailAffectingNatures**](StatDetailAffectingNatures.md) | | |
13
- | **characteristics** | [**Array<CharacteristicSummary>**](CharacteristicSummary.md) | | |
14
- | **move_damage_class** | [**MoveDamageClassSummary**](MoveDamageClassSummary.md) | | |
15
- | **names** | [**Array<StatName>**](StatName.md) | | |
7
+ | **id** | **Integer** | The identifier for this resource. | [readonly] |
8
+ | **name** | **String** | The name for this resource. | |
9
+ | **game_index** | **Integer** | ID the games use for this stat. | |
10
+ | **is_battle_only** | **Boolean** | Whether this stat only exists within a battle. | [optional] |
11
+ | **affecting_moves** | [**StatAffectingMoves**](StatAffectingMoves.md) | A detail of moves which affect this stat positively or negatively. | [readonly] |
12
+ | **affecting_natures** | [**StatAffectingNatures**](StatAffectingNatures.md) | A detail of natures which affect this stat positively or negatively. | [readonly] |
13
+ | **affecting_items** | [**Array<ItemSummary>**](ItemSummary.md) | Items that affect this stat, such as vitamins and battle items. | [readonly] |
14
+ | **characteristics** | [**Array<CharacteristicSummary>**](CharacteristicSummary.md) | A list of characteristics that are set on a Pokémon when its highest base stat is this stat. | [readonly] |
15
+ | **move_damage_class** | [**MoveDamageClassSummary**](MoveDamageClassSummary.md) | The class of damage this stat is directly related to. | |
16
+ | **names** | [**Array<StatName>**](StatName.md) | The name of this resource listed in different languages. | [readonly] |
16
17
 
17
18
  ## Example
18
19
 
@@ -26,6 +27,7 @@ instance = PokeApiClient::StatDetail.new(
26
27
  is_battle_only: null,
27
28
  affecting_moves: null,
28
29
  affecting_natures: null,
30
+ affecting_items: null,
29
31
  characteristics: null,
30
32
  move_damage_class: null,
31
33
  names: null
data/docs/StatName.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **language** | [**LanguageSummary**](LanguageSummary.md) | | |
7
+ | **name** | **String** | The localized name for an API resource in a specific language. | |
8
+ | **language** | [**LanguageSummary**](LanguageSummary.md) | The language this name is in. | |
9
9
 
10
10
  ## Example
11
11
 
data/docs/StatSummary.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **url** | **String** | | [readonly] |
7
+ | **name** | **String** | The name of the referenced resource. | |
8
+ | **url** | **String** | The URL of the referenced resource. | [readonly] |
9
9
 
10
10
  ## Example
11
11
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **Integer** | | [readonly] |
8
- | **appeal** | **Integer** | | |
9
- | **flavor_text_entries** | [**Array<SuperContestEffectFlavorText>**](SuperContestEffectFlavorText.md) | | |
10
- | **moves** | [**Array<MoveSummary>**](MoveSummary.md) | | |
7
+ | **id** | **Integer** | The identifier for this resource. | [readonly] |
8
+ | **appeal** | **Integer** | The level of appeal this super contest effect has. | |
9
+ | **flavor_text_entries** | [**Array<SuperContestEffectFlavorText>**](SuperContestEffectFlavorText.md) | The flavor text of this super contest effect listed in different languages. | [readonly] |
10
+ | **moves** | [**Array<MoveSummary>**](MoveSummary.md) | A list of moves that have the effect when used in super contests. | [readonly] |
11
11
 
12
12
  ## Example
13
13
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **flavor_text** | **String** | | |
8
- | **language** | [**LanguageSummary**](LanguageSummary.md) | | |
7
+ | **flavor_text** | **String** | The localized flavor text for an API resource in a specific language. | |
8
+ | **language** | [**LanguageSummary**](LanguageSummary.md) | The language this name is in. | |
9
9
 
10
10
  ## Example
11
11
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **url** | **String** | | [readonly] |
7
+ | **url** | **String** | The URL of the referenced resource. | [readonly] |
8
8
 
9
9
  ## Example
10
10
 
data/docs/TypeDetail.md CHANGED
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **Integer** | | [readonly] |
8
- | **name** | **String** | | |
9
- | **damage_relations** | [**TypeDetailDamageRelations**](TypeDetailDamageRelations.md) | | |
10
- | **past_damage_relations** | [**Array<TypeDetailPastDamageRelationsInner>**](TypeDetailPastDamageRelationsInner.md) | | |
11
- | **game_indices** | [**Array<TypeGameIndex>**](TypeGameIndex.md) | | |
12
- | **generation** | [**GenerationSummary**](GenerationSummary.md) | | |
13
- | **move_damage_class** | [**MoveDamageClassSummary**](MoveDamageClassSummary.md) | | |
14
- | **names** | [**Array<AbilityName>**](AbilityName.md) | | |
15
- | **pokemon** | [**Array<TypeDetailPokemonInner>**](TypeDetailPokemonInner.md) | | |
16
- | **moves** | [**Array<MoveSummary>**](MoveSummary.md) | | |
17
- | **sprites** | **Hash<String, Hash<String, TypeDetailSpritesValueValue>>** | | [readonly] |
7
+ | **id** | **Integer** | The identifier for this resource. | [readonly] |
8
+ | **name** | **String** | The name for this resource. | |
9
+ | **damage_relations** | [**TypeRelationships**](TypeRelationships.md) | A detail of how effective this type is toward others and vice versa. | [readonly] |
10
+ | **past_damage_relations** | [**Array<TypePastRelationships>**](TypePastRelationships.md) | A list of details of how effective this type was toward others and vice versa in previous generations | [readonly] |
11
+ | **game_indices** | [**Array<TypeGameIndex>**](TypeGameIndex.md) | A list of game indices relevent to this item by generation. | [readonly] |
12
+ | **generation** | [**GenerationSummary**](GenerationSummary.md) | The generation this type was introduced in. | |
13
+ | **move_damage_class** | [**MoveDamageClassSummary**](MoveDamageClassSummary.md) | The class of damage inflicted by this type. | |
14
+ | **names** | [**Array<TypeName>**](TypeName.md) | The name of this resource listed in different languages. | [readonly] |
15
+ | **pokemon** | [**Array<TypePokemon>**](TypePokemon.md) | A list of details of Pokémon that have this type. | [readonly] |
16
+ | **moves** | [**Array<MoveSummary>**](MoveSummary.md) | A list of moves that have this type. | [readonly] |
17
+ | **sprites** | **Hash<String, Hash<String, TypeGameSprite>>** | Type icons grouped by generation and game, with name_icon and symbol_icon URLs. Unavailable icons are null. | [readonly] |
18
18
 
19
19
  ## Example
20
20
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **game_index** | **Integer** | | |
8
- | **generation** | [**GenerationSummary**](GenerationSummary.md) | | |
7
+ | **game_index** | **Integer** | The internal id of an API resource within game data. | |
8
+ | **generation** | [**GenerationSummary**](GenerationSummary.md) | The generation relevent to this game index. | |
9
9
 
10
10
  ## Example
11
11
 
@@ -0,0 +1,20 @@
1
+ # PokeApiClient::TypeGameSprite
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name_icon** | **String** | The URL of the icon displaying the type name in this game, or null if unavailable. | [optional] |
8
+ | **symbol_icon** | **String** | The URL of the type symbol icon in this game, or null if unavailable. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pokeapi_client'
14
+
15
+ instance = PokeApiClient::TypeGameSprite.new(
16
+ name_icon: null,
17
+ symbol_icon: null
18
+ )
19
+ ```
20
+
data/docs/TypeName.md ADDED
@@ -0,0 +1,20 @@
1
+ # PokeApiClient::TypeName
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The localized name for an API resource in a specific language. | |
8
+ | **language** | [**LanguageSummary**](LanguageSummary.md) | The language this name is in. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pokeapi_client'
14
+
15
+ instance = PokeApiClient::TypeName.new(
16
+ name: null,
17
+ language: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # PokeApiClient::TypePastRelationships
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **generation** | [**GenerationSummary**](GenerationSummary.md) | The last generation in which the referenced type had the listed damage relations | |
8
+ | **damage_relations** | [**TypeRelationships**](TypeRelationships.md) | The damage relations the referenced type had up to and including the listed generation | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pokeapi_client'
14
+
15
+ instance = PokeApiClient::TypePastRelationships.new(
16
+ generation: null,
17
+ damage_relations: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # PokeApiClient::TypePokemon
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **slot** | **Integer** | The order the Pokémon's types are listed in. | |
8
+ | **pokemon** | [**PokemonSummary**](PokemonSummary.md) | The Pokémon that has the referenced type. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'pokeapi_client'
14
+
15
+ instance = PokeApiClient::TypePokemon.new(
16
+ slot: null,
17
+ pokemon: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,28 @@
1
+ # PokeApiClient::TypeRelationships
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **no_damage_to** | [**Array<TypeSummary>**](TypeSummary.md) | A list of types this type has no effect on. | |
8
+ | **half_damage_to** | [**Array<TypeSummary>**](TypeSummary.md) | A list of types this type is not very effect against. | |
9
+ | **double_damage_to** | [**Array<TypeSummary>**](TypeSummary.md) | A list of types this type is very effect against. | |
10
+ | **no_damage_from** | [**Array<TypeSummary>**](TypeSummary.md) | A list of types that have no effect on this type. | |
11
+ | **half_damage_from** | [**Array<TypeSummary>**](TypeSummary.md) | A list of types that are not very effective against this type. | |
12
+ | **double_damage_from** | [**Array<TypeSummary>**](TypeSummary.md) | A list of types that are very effective against this type. | |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'pokeapi_client'
18
+
19
+ instance = PokeApiClient::TypeRelationships.new(
20
+ no_damage_to: null,
21
+ half_damage_to: null,
22
+ double_damage_to: null,
23
+ no_damage_from: null,
24
+ half_damage_from: null,
25
+ double_damage_from: null
26
+ )
27
+ ```
28
+
data/docs/TypeSummary.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **url** | **String** | | [readonly] |
7
+ | **name** | **String** | The name of the referenced resource. | |
8
+ | **url** | **String** | The URL of the referenced resource. | [readonly] |
9
9
 
10
10
  ## Example
11
11
 
data/docs/UtilityApi.md CHANGED
@@ -6,6 +6,7 @@ All URIs are relative to *https://pokeapi.co*
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**language_list**](UtilityApi.md#language_list) | **GET** /api/v2/language/ | List languages |
8
8
  | [**language_retrieve**](UtilityApi.md#language_retrieve) | **GET** /api/v2/language/{id}/ | Get language |
9
+ | [**meta_retrieve**](UtilityApi.md#meta_retrieve) | **GET** /api/v2/meta/ | Get API metadata |
9
10
 
10
11
 
11
12
  ## language_list
@@ -21,17 +22,6 @@ Languages for translations of API resource information.
21
22
  ```ruby
22
23
  require 'time'
23
24
  require 'pokeapi_client'
24
- # setup authorization
25
- PokeApiClient.configure do |config|
26
- # Configure HTTP basic authorization: basicAuth
27
- config.username = 'YOUR USERNAME'
28
- config.password = 'YOUR PASSWORD'
29
-
30
- # Configure API key authorization: cookieAuth
31
- config.api_key['sessionid'] = 'YOUR API KEY'
32
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
33
- # config.api_key_prefix['sessionid'] = 'Bearer'
34
- end
35
25
 
36
26
  api_instance = PokeApiClient::UtilityApi.new
37
27
  opts = {
@@ -81,7 +71,7 @@ end
81
71
 
82
72
  ### Authorization
83
73
 
84
- [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
74
+ No authorization required
85
75
 
86
76
  ### HTTP request headers
87
77
 
@@ -102,20 +92,9 @@ Languages for translations of API resource information.
102
92
  ```ruby
103
93
  require 'time'
104
94
  require 'pokeapi_client'
105
- # setup authorization
106
- PokeApiClient.configure do |config|
107
- # Configure HTTP basic authorization: basicAuth
108
- config.username = 'YOUR USERNAME'
109
- config.password = 'YOUR PASSWORD'
110
-
111
- # Configure API key authorization: cookieAuth
112
- config.api_key['sessionid'] = 'YOUR API KEY'
113
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
114
- # config.api_key_prefix['sessionid'] = 'Bearer'
115
- end
116
95
 
117
96
  api_instance = PokeApiClient::UtilityApi.new
118
- id = 'id_example' # String | This parameter can be a string or an integer.
97
+ id = '1' # String | This parameter can be a string or an integer.
119
98
 
120
99
  begin
121
100
  # Get language
@@ -156,7 +135,68 @@ end
156
135
 
157
136
  ### Authorization
158
137
 
159
- [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
138
+ No authorization required
139
+
140
+ ### HTTP request headers
141
+
142
+ - **Content-Type**: Not defined
143
+ - **Accept**: application/json
144
+
145
+
146
+ ## meta_retrieve
147
+
148
+ > <PokeapiMetaResponse> meta_retrieve
149
+
150
+ Get API metadata
151
+
152
+ Returns metadata about the current deployed version of the API, including the git commit hash, deploy date, and tag (if any).
153
+
154
+ ### Examples
155
+
156
+ ```ruby
157
+ require 'time'
158
+ require 'pokeapi_client'
159
+
160
+ api_instance = PokeApiClient::UtilityApi.new
161
+
162
+ begin
163
+ # Get API metadata
164
+ result = api_instance.meta_retrieve
165
+ p result
166
+ rescue PokeApiClient::ApiError => e
167
+ puts "Error when calling UtilityApi->meta_retrieve: #{e}"
168
+ end
169
+ ```
170
+
171
+ #### Using the meta_retrieve_with_http_info variant
172
+
173
+ This returns an Array which contains the response data, status code and headers.
174
+
175
+ > <Array(<PokeapiMetaResponse>, Integer, Hash)> meta_retrieve_with_http_info
176
+
177
+ ```ruby
178
+ begin
179
+ # Get API metadata
180
+ data, status_code, headers = api_instance.meta_retrieve_with_http_info
181
+ p status_code # => 2xx
182
+ p headers # => { ... }
183
+ p data # => <PokeapiMetaResponse>
184
+ rescue PokeApiClient::ApiError => e
185
+ puts "Error when calling UtilityApi->meta_retrieve_with_http_info: #{e}"
186
+ end
187
+ ```
188
+
189
+ ### Parameters
190
+
191
+ This endpoint does not need any parameter.
192
+
193
+ ### Return type
194
+
195
+ [**PokeapiMetaResponse**](PokeapiMetaResponse.md)
196
+
197
+ ### Authorization
198
+
199
+ No authorization required
160
200
 
161
201
  ### HTTP request headers
162
202
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **Integer** | | [readonly] |
8
- | **name** | **String** | | |
9
- | **names** | [**Array&lt;VersionName&gt;**](VersionName.md) | | |
10
- | **version_group** | [**VersionGroupSummary**](VersionGroupSummary.md) | | |
7
+ | **id** | **Integer** | The identifier for this resource. | [readonly] |
8
+ | **name** | **String** | The name for this resource. | |
9
+ | **names** | [**Array&lt;VersionName&gt;**](VersionName.md) | The name of this resource listed in different languages. | [readonly] |
10
+ | **version_group** | [**VersionGroupSummary**](VersionGroupSummary.md) | The version group this version belongs to. | |
11
11
 
12
12
  ## Example
13
13
 
@@ -4,14 +4,14 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **Integer** | | [readonly] |
8
- | **name** | **String** | | |
9
- | **order** | **Integer** | | [optional] |
10
- | **generation** | [**GenerationSummary**](GenerationSummary.md) | | |
11
- | **move_learn_methods** | [**Array&lt;AbilityDetailPokemonInnerPokemon&gt;**](AbilityDetailPokemonInnerPokemon.md) | | |
12
- | **pokedexes** | [**Array&lt;AbilityDetailPokemonInnerPokemon&gt;**](AbilityDetailPokemonInnerPokemon.md) | | |
13
- | **regions** | [**Array&lt;AbilityDetailPokemonInnerPokemon&gt;**](AbilityDetailPokemonInnerPokemon.md) | | |
14
- | **versions** | [**Array&lt;VersionSummary&gt;**](VersionSummary.md) | | |
7
+ | **id** | **Integer** | The identifier for this resource. | [readonly] |
8
+ | **name** | **String** | The name for this resource. | |
9
+ | **order** | **Integer** | Order for sorting. Almost by date of release, except similar versions are grouped together. | [optional] |
10
+ | **generation** | [**GenerationSummary**](GenerationSummary.md) | The generation this version was introduced in. | |
11
+ | **move_learn_methods** | [**Array&lt;MoveLearnMethodSummary&gt;**](MoveLearnMethodSummary.md) | A list of methods in which Pokémon can learn moves in this version group. | [readonly] |
12
+ | **pokedexes** | [**Array&lt;PokedexSummary&gt;**](PokedexSummary.md) | A list of Pokédexes introduces in this version group. | [readonly] |
13
+ | **regions** | [**Array&lt;RegionSummary&gt;**](RegionSummary.md) | A list of regions that can be visited in this version group. | [readonly] |
14
+ | **versions** | [**Array&lt;VersionSummary&gt;**](VersionSummary.md) | The versions this version group owns. | [readonly] |
15
15
 
16
16
  ## Example
17
17
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **url** | **String** | | [readonly] |
7
+ | **name** | **String** | The name of the referenced resource. | |
8
+ | **url** | **String** | The URL of the referenced resource. | [readonly] |
9
9
 
10
10
  ## Example
11
11
 
data/docs/VersionName.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **language** | [**LanguageSummary**](LanguageSummary.md) | | |
7
+ | **name** | **String** | The localized name for an API resource in a specific language. | |
8
+ | **language** | [**LanguageSummary**](LanguageSummary.md) | The language this name is in. | |
9
9
 
10
10
  ## Example
11
11
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | |
8
- | **url** | **String** | | [readonly] |
7
+ | **name** | **String** | The name of the referenced resource. | |
8
+ | **url** | **String** | The URL of the referenced resource. | [readonly] |
9
9
 
10
10
  ## Example
11
11
 
data/git_push.sh CHANGED
@@ -8,24 +8,24 @@ git_repo_id=$2
8
8
  release_note=$3
9
9
  git_host=$4
10
10
 
11
- if [ "$git_host" = "" ]; then
11
+ if [ -z "${git_host}" ]; then
12
12
  git_host="github.com"
13
- echo "[INFO] No command line input provided. Set \$git_host to $git_host"
13
+ echo "[INFO] No command line input provided. Set \${git_host} to ${git_host}"
14
14
  fi
15
15
 
16
- if [ "$git_user_id" = "" ]; then
16
+ if [ -z "${git_user_id}" ]; then
17
17
  git_user_id="GIT_USER_ID"
18
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
18
+ echo "[INFO] No command line input provided. Set \${git_user_id} to ${git_user_id}"
19
19
  fi
20
20
 
21
- if [ "$git_repo_id" = "" ]; then
21
+ if [ -z "${git_repo_id}" ]; then
22
22
  git_repo_id="GIT_REPO_ID"
23
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
23
+ echo "[INFO] No command line input provided. Set \${git_repo_id} to ${git_repo_id}"
24
24
  fi
25
25
 
26
- if [ "$release_note" = "" ]; then
26
+ if [ -z "${release_note}" ]; then
27
27
  release_note="Minor update"
28
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
28
+ echo "[INFO] No command line input provided. Set \${release_note} to ${release_note}"
29
29
  fi
30
30
 
31
31
  # Initialize the local directory as a Git repository
@@ -35,19 +35,16 @@ git init
35
35
  git add .
36
36
 
37
37
  # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
- git commit -m "$release_note"
38
+ git commit -m "${release_note}"
39
39
 
40
40
  # Sets the new remote
41
- git_remote=$(git remote)
42
- if [ "$git_remote" = "" ]; then # git remote not defined
43
-
44
- if [ "$GIT_TOKEN" = "" ]; then
45
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
- git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
41
+ if [ -z "$(git remote)" ]; then # git remote not defined
42
+ if [ -z "${GIT_TOKEN:-}" ]; then
43
+ echo "[INFO] \${GIT_TOKEN} (environment variable) is not set. Using the git credential in your environment."
44
+ git remote add origin "https://${git_host}/${git_user_id}/${git_repo_id}.git"
47
45
  else
48
- git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
46
+ git remote add origin "https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git"
49
47
  fi
50
-
51
48
  fi
52
49
 
53
50
  git pull origin master
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #PokéAPI
3
3
 
4
- #All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**(]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.
4
+ #All the Pokémon data you'll ever need in one place, easily accessible through a modern free open-source RESTful API. ## What is this? This is a full RESTful API linked to an extensive database detailing everything about the Pokémon main game series. We've covered everything from Pokémon to Berry Flavors. ## Where do I start? We have awesome [documentation](https://pokeapi.co/docs/v2) on how to use this API. It takes minutes to get started. This API will always be publicly available and will never require any extensive setup process to consume. Created by [**Paul Hallett**](https://github.com/phalt) and other [**PokéAPI contributors**](https://github.com/PokeAPI/pokeapi#contributing) around the world. Pokémon and Pokémon character names are trademarks of Nintendo.
5
5
 
6
- The version of the OpenAPI document: 2.7.0
6
+ The version of the OpenAPI document: 2.10.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.18.0
9
+ Generator version: 7.26.0
10
10
 
11
11
  =end
12
12
 
@@ -66,7 +66,7 @@ module PokeApiClient
66
66
  return_type = opts[:debug_return_type] || 'PaginatedBerryFirmnessSummaryList'
67
67
 
68
68
  # auth_names
69
- auth_names = opts[:debug_auth_names] || ['basicAuth', 'cookieAuth']
69
+ auth_names = opts[:debug_auth_names] || []
70
70
 
71
71
  new_options = opts.merge(
72
72
  :operation => :"BerriesApi.berry_firmness_list",
@@ -109,7 +109,7 @@ module PokeApiClient
109
109
  fail ArgumentError, "Missing the required parameter 'id' when calling BerriesApi.berry_firmness_retrieve"
110
110
  end
111
111
  # resource path
112
- local_var_path = '/api/v2/berry-firmness/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
112
+ local_var_path = '/api/v2/berry-firmness/{id}/'.sub('{id}', CGI.escape(id.to_s))
113
113
 
114
114
  # query parameters
115
115
  query_params = opts[:query_params] || {}
@@ -129,7 +129,7 @@ module PokeApiClient
129
129
  return_type = opts[:debug_return_type] || 'BerryFirmnessDetail'
130
130
 
131
131
  # auth_names
132
- auth_names = opts[:debug_auth_names] || ['basicAuth', 'cookieAuth']
132
+ auth_names = opts[:debug_auth_names] || []
133
133
 
134
134
  new_options = opts.merge(
135
135
  :operation => :"BerriesApi.berry_firmness_retrieve",
@@ -195,7 +195,7 @@ module PokeApiClient
195
195
  return_type = opts[:debug_return_type] || 'PaginatedBerryFlavorSummaryList'
196
196
 
197
197
  # auth_names
198
- auth_names = opts[:debug_auth_names] || ['basicAuth', 'cookieAuth']
198
+ auth_names = opts[:debug_auth_names] || []
199
199
 
200
200
  new_options = opts.merge(
201
201
  :operation => :"BerriesApi.berry_flavor_list",
@@ -238,7 +238,7 @@ module PokeApiClient
238
238
  fail ArgumentError, "Missing the required parameter 'id' when calling BerriesApi.berry_flavor_retrieve"
239
239
  end
240
240
  # resource path
241
- local_var_path = '/api/v2/berry-flavor/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
241
+ local_var_path = '/api/v2/berry-flavor/{id}/'.sub('{id}', CGI.escape(id.to_s))
242
242
 
243
243
  # query parameters
244
244
  query_params = opts[:query_params] || {}
@@ -258,7 +258,7 @@ module PokeApiClient
258
258
  return_type = opts[:debug_return_type] || 'BerryFlavorDetail'
259
259
 
260
260
  # auth_names
261
- auth_names = opts[:debug_auth_names] || ['basicAuth', 'cookieAuth']
261
+ auth_names = opts[:debug_auth_names] || []
262
262
 
263
263
  new_options = opts.merge(
264
264
  :operation => :"BerriesApi.berry_flavor_retrieve",
@@ -324,7 +324,7 @@ module PokeApiClient
324
324
  return_type = opts[:debug_return_type] || 'PaginatedBerrySummaryList'
325
325
 
326
326
  # auth_names
327
- auth_names = opts[:debug_auth_names] || ['basicAuth', 'cookieAuth']
327
+ auth_names = opts[:debug_auth_names] || []
328
328
 
329
329
  new_options = opts.merge(
330
330
  :operation => :"BerriesApi.berry_list",
@@ -367,7 +367,7 @@ module PokeApiClient
367
367
  fail ArgumentError, "Missing the required parameter 'id' when calling BerriesApi.berry_retrieve"
368
368
  end
369
369
  # resource path
370
- local_var_path = '/api/v2/berry/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
370
+ local_var_path = '/api/v2/berry/{id}/'.sub('{id}', CGI.escape(id.to_s))
371
371
 
372
372
  # query parameters
373
373
  query_params = opts[:query_params] || {}
@@ -387,7 +387,7 @@ module PokeApiClient
387
387
  return_type = opts[:debug_return_type] || 'BerryDetail'
388
388
 
389
389
  # auth_names
390
- auth_names = opts[:debug_auth_names] || ['basicAuth', 'cookieAuth']
390
+ auth_names = opts[:debug_auth_names] || []
391
391
 
392
392
  new_options = opts.merge(
393
393
  :operation => :"BerriesApi.berry_retrieve",