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