esi_client 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (708) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +126 -43
  3. data/bin/regenerate +12 -2
  4. data/docs/AllianceApi.md +17 -17
  5. data/docs/AssetsApi.md +37 -37
  6. data/docs/BookmarksApi.md +28 -24
  7. data/docs/CalendarApi.md +16 -16
  8. data/docs/CharacterApi.md +190 -64
  9. data/docs/ClonesApi.md +10 -10
  10. data/docs/ContactsApi.md +94 -29
  11. data/docs/ContractsApi.md +35 -31
  12. data/docs/CorporationApi.md +680 -162
  13. data/docs/DogmaApi.md +12 -12
  14. data/docs/FactionWarfareApi.md +144 -18
  15. data/docs/FittingsApi.md +17 -16
  16. data/docs/FleetsApi.md +58 -58
  17. data/docs/GetAlliancesAllianceIdContacts200Ok.md +11 -0
  18. data/docs/GetAlliancesAllianceIdIconsOk.md +1 -1
  19. data/docs/GetAlliancesAllianceIdNotFound.md +1 -1
  20. data/docs/GetAlliancesAllianceIdOk.md +6 -3
  21. data/docs/GetCharactersCharacterIdAgentsResearch200Ok.md +2 -2
  22. data/docs/GetCharactersCharacterIdAssets200Ok.md +5 -5
  23. data/docs/GetCharactersCharacterIdAttributesOk.md +3 -3
  24. data/docs/GetCharactersCharacterIdBlueprints200Ok.md +4 -4
  25. data/docs/GetCharactersCharacterIdBookmarks200Ok.md +7 -6
  26. data/docs/GetCharactersCharacterIdBookmarksFolders200Ok.md +2 -3
  27. data/docs/GetCharactersCharacterIdCalendar200Ok.md +3 -3
  28. data/docs/GetCharactersCharacterIdCalendarEventIdOk.md +5 -5
  29. data/docs/GetCharactersCharacterIdChatChannels200Ok.md +5 -5
  30. data/docs/GetCharactersCharacterIdChatChannelsBlocked.md +1 -1
  31. data/docs/GetCharactersCharacterIdChatChannelsMuted.md +1 -1
  32. data/docs/GetCharactersCharacterIdClonesJumpClone.md +5 -3
  33. data/docs/GetCharactersCharacterIdClonesOk.md +2 -1
  34. data/docs/GetCharactersCharacterIdContacts200Ok.md +3 -3
  35. data/docs/GetCharactersCharacterIdContracts200Ok.md +15 -15
  36. data/docs/GetCharactersCharacterIdContractsContractIdBids200Ok.md +1 -1
  37. data/docs/GetCharactersCharacterIdContractsContractIdItems200Ok.md +4 -4
  38. data/docs/GetCharactersCharacterIdCorporationhistory200Ok.md +1 -1
  39. data/docs/GetCharactersCharacterIdFatigueOk.md +1 -1
  40. data/docs/GetCharactersCharacterIdFittings200Ok.md +2 -2
  41. data/docs/GetCharactersCharacterIdFittingsItem.md +1 -1
  42. data/docs/GetCharactersCharacterIdFleetOk.md +2 -2
  43. data/docs/GetCharactersCharacterIdFwStatsKills.md +10 -0
  44. data/docs/GetCharactersCharacterIdFwStatsOk.md +13 -0
  45. data/docs/GetCharactersCharacterIdFwStatsVictoryPoints.md +10 -0
  46. data/docs/GetCharactersCharacterIdIndustryJobs200Ok.md +13 -13
  47. data/docs/GetCharactersCharacterIdKillmailsRecent200Ok.md +1 -1
  48. data/docs/GetCharactersCharacterIdMail200Ok.md +4 -4
  49. data/docs/GetCharactersCharacterIdMailLabelsLabel.md +2 -2
  50. data/docs/GetCharactersCharacterIdMailLabelsOk.md +1 -1
  51. data/docs/GetCharactersCharacterIdMailMailIdOk.md +4 -4
  52. data/docs/GetCharactersCharacterIdMailMailIdRecipient.md +1 -1
  53. data/docs/GetCharactersCharacterIdMailRecipient.md +1 -1
  54. data/docs/GetCharactersCharacterIdMedals200Ok.md +5 -5
  55. data/docs/GetCharactersCharacterIdMedalsGraphic.md +3 -3
  56. data/docs/GetCharactersCharacterIdMining200Ok.md +11 -0
  57. data/docs/GetCharactersCharacterIdNotifications200Ok.md +2 -2
  58. data/docs/GetCharactersCharacterIdNotificationsContacts200Ok.md +2 -2
  59. data/docs/GetCharactersCharacterIdOk.md +6 -5
  60. data/docs/GetCharactersCharacterIdOnlineOk.md +11 -0
  61. data/docs/GetCharactersCharacterIdOpportunities200Ok.md +1 -1
  62. data/docs/GetCharactersCharacterIdOrders200Ok.md +13 -13
  63. data/docs/GetCharactersCharacterIdOrdersHistory200Ok.md +22 -0
  64. data/docs/GetCharactersCharacterIdPlanets200Ok.md +5 -5
  65. data/docs/GetCharactersCharacterIdPlanetsPlanetIdContent.md +1 -1
  66. data/docs/GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails.md +2 -2
  67. data/docs/GetCharactersCharacterIdPlanetsPlanetIdLink.md +1 -1
  68. data/docs/GetCharactersCharacterIdPlanetsPlanetIdPin.md +7 -7
  69. data/docs/GetCharactersCharacterIdPlanetsPlanetIdRoute.md +3 -3
  70. data/docs/GetCharactersCharacterIdPortraitOk.md +1 -1
  71. data/docs/GetCharactersCharacterIdRolesOk.md +11 -0
  72. data/docs/GetCharactersCharacterIdSearchOk.md +2 -3
  73. data/docs/GetCharactersCharacterIdShipOk.md +1 -1
  74. data/docs/GetCharactersCharacterIdSkillqueue200Ok.md +4 -4
  75. data/docs/GetCharactersCharacterIdSkillsOk.md +3 -2
  76. data/docs/GetCharactersCharacterIdSkillsSkill.md +4 -3
  77. data/docs/GetCharactersCharacterIdStats200Ok.md +20 -0
  78. data/docs/GetCharactersCharacterIdStatsCharacter.md +10 -0
  79. data/docs/GetCharactersCharacterIdStatsCombat.md +101 -0
  80. data/docs/GetCharactersCharacterIdStatsIndustry.md +43 -0
  81. data/docs/GetCharactersCharacterIdStatsInventory.md +9 -0
  82. data/docs/GetCharactersCharacterIdStatsIsk.md +9 -0
  83. data/docs/GetCharactersCharacterIdStatsMarket.md +20 -0
  84. data/docs/GetCharactersCharacterIdStatsMining.md +26 -0
  85. data/docs/GetCharactersCharacterIdStatsModule.md +76 -0
  86. data/docs/GetCharactersCharacterIdStatsOrbital.md +10 -0
  87. data/docs/GetCharactersCharacterIdStatsPve.md +11 -0
  88. data/docs/GetCharactersCharacterIdStatsSocial.md +32 -0
  89. data/docs/GetCharactersCharacterIdStatsTravel.md +28 -0
  90. data/docs/GetCharactersCharacterIdTitles200Ok.md +9 -0
  91. data/docs/GetCharactersCharacterIdWalletJournal200Ok.md +7 -7
  92. data/docs/GetCharactersCharacterIdWalletJournalExtraInfo.md +8 -8
  93. data/docs/GetCharactersCharacterIdWalletTransactions200Ok.md +6 -6
  94. data/docs/GetCorporationCorporationIdMiningExtractions200Ok.md +12 -0
  95. data/docs/GetCorporationCorporationIdMiningObservers200Ok.md +10 -0
  96. data/docs/GetCorporationCorporationIdMiningObserversObserverId200Ok.md +12 -0
  97. data/docs/GetCorporationsCorporationIdAlliancehistory200Ok.md +1 -1
  98. data/docs/GetCorporationsCorporationIdAssets200Ok.md +5 -5
  99. data/docs/GetCorporationsCorporationIdBlueprints200Ok.md +4 -4
  100. data/docs/GetCorporationsCorporationIdBookmarks200Ok.md +4 -4
  101. data/docs/GetCorporationsCorporationIdBookmarksFolders200Ok.md +1 -1
  102. data/docs/GetCorporationsCorporationIdContacts200Ok.md +2 -2
  103. data/docs/GetCorporationsCorporationIdContainersLogs200Ok.md +7 -7
  104. data/docs/GetCorporationsCorporationIdContracts200Ok.md +15 -15
  105. data/docs/GetCorporationsCorporationIdContractsContractIdBids200Ok.md +1 -1
  106. data/docs/GetCorporationsCorporationIdContractsContractIdItems200Ok.md +4 -4
  107. data/docs/GetCorporationsCorporationIdCustomsOffices200Ok.md +21 -0
  108. data/docs/GetCorporationsCorporationIdFacilities200Ok.md +10 -0
  109. data/docs/GetCorporationsCorporationIdFwStatsKills.md +10 -0
  110. data/docs/GetCorporationsCorporationIdFwStatsOk.md +12 -0
  111. data/docs/GetCorporationsCorporationIdFwStatsVictoryPoints.md +10 -0
  112. data/docs/GetCorporationsCorporationIdIconsOk.md +1 -1
  113. data/docs/GetCorporationsCorporationIdIndustryJobs200Ok.md +13 -13
  114. data/docs/GetCorporationsCorporationIdKillmailsRecent200Ok.md +1 -1
  115. data/docs/GetCorporationsCorporationIdMedals200Ok.md +12 -0
  116. data/docs/GetCorporationsCorporationIdMedalsIssued200Ok.md +13 -0
  117. data/docs/GetCorporationsCorporationIdMembersTitles200Ok.md +9 -0
  118. data/docs/GetCorporationsCorporationIdMembertracking200Ok.md +4 -4
  119. data/docs/GetCorporationsCorporationIdOk.md +11 -9
  120. data/docs/GetCorporationsCorporationIdOrders200Ok.md +12 -12
  121. data/docs/GetCorporationsCorporationIdOrdersHistory200Ok.md +22 -0
  122. data/docs/GetCorporationsCorporationIdOutpostsOutpostIdCoordinates.md +10 -0
  123. data/docs/GetCorporationsCorporationIdOutpostsOutpostIdOk.md +17 -0
  124. data/docs/GetCorporationsCorporationIdOutpostsOutpostIdService.md +11 -0
  125. data/docs/GetCorporationsCorporationIdRoles200Ok.md +4 -4
  126. data/docs/GetCorporationsCorporationIdRolesHistory200Ok.md +13 -0
  127. data/docs/GetCorporationsCorporationIdShareholders200Ok.md +1 -1
  128. data/docs/GetCorporationsCorporationIdStarbases200Ok.md +15 -0
  129. data/docs/GetCorporationsCorporationIdStarbasesStarbaseIdFuel.md +9 -0
  130. data/docs/GetCorporationsCorporationIdStarbasesStarbaseIdOk.md +21 -0
  131. data/docs/GetCorporationsCorporationIdStructures200Ok.md +13 -9
  132. data/docs/GetCorporationsCorporationIdTitles200Ok.md +6 -6
  133. data/docs/GetCorporationsCorporationIdWallets200Ok.md +1 -1
  134. data/docs/GetCorporationsCorporationIdWalletsDivisionJournal200Ok.md +7 -7
  135. data/docs/GetCorporationsCorporationIdWalletsDivisionJournalExtraInfo.md +8 -8
  136. data/docs/GetCorporationsCorporationIdWalletsDivisionTransactions200Ok.md +6 -6
  137. data/docs/GetDogmaAttributesAttributeIdOk.md +5 -5
  138. data/docs/GetDogmaEffectsEffectIdModifier.md +2 -2
  139. data/docs/GetDogmaEffectsEffectIdOk.md +15 -15
  140. data/docs/GetFleetsFleetIdMembers200Ok.md +5 -5
  141. data/docs/GetFleetsFleetIdOk.md +1 -1
  142. data/docs/GetFleetsFleetIdWings200Ok.md +1 -1
  143. data/docs/GetFleetsFleetIdWingsSquad.md +1 -1
  144. data/docs/GetFwLeaderboardsActiveTotal.md +1 -1
  145. data/docs/GetFwLeaderboardsActiveTotal1.md +1 -1
  146. data/docs/GetFwLeaderboardsCharactersActiveTotal.md +1 -1
  147. data/docs/GetFwLeaderboardsCharactersActiveTotal1.md +1 -1
  148. data/docs/GetFwLeaderboardsCharactersKills.md +2 -2
  149. data/docs/GetFwLeaderboardsCharactersLastWeek.md +1 -1
  150. data/docs/GetFwLeaderboardsCharactersLastWeek1.md +1 -1
  151. data/docs/GetFwLeaderboardsCharactersOk.md +2 -2
  152. data/docs/GetFwLeaderboardsCharactersVictoryPoints.md +2 -2
  153. data/docs/GetFwLeaderboardsCharactersYesterday.md +1 -1
  154. data/docs/GetFwLeaderboardsCharactersYesterday1.md +1 -1
  155. data/docs/GetFwLeaderboardsCorporationsActiveTotal.md +1 -1
  156. data/docs/GetFwLeaderboardsCorporationsActiveTotal1.md +1 -1
  157. data/docs/GetFwLeaderboardsCorporationsKills.md +2 -2
  158. data/docs/GetFwLeaderboardsCorporationsLastWeek.md +1 -1
  159. data/docs/GetFwLeaderboardsCorporationsLastWeek1.md +1 -1
  160. data/docs/GetFwLeaderboardsCorporationsOk.md +2 -2
  161. data/docs/GetFwLeaderboardsCorporationsVictoryPoints.md +2 -2
  162. data/docs/GetFwLeaderboardsCorporationsYesterday.md +1 -1
  163. data/docs/GetFwLeaderboardsCorporationsYesterday1.md +1 -1
  164. data/docs/GetFwLeaderboardsKills.md +2 -2
  165. data/docs/GetFwLeaderboardsLastWeek.md +1 -1
  166. data/docs/GetFwLeaderboardsLastWeek1.md +1 -1
  167. data/docs/GetFwLeaderboardsOk.md +2 -2
  168. data/docs/GetFwLeaderboardsVictoryPoints.md +2 -2
  169. data/docs/GetFwLeaderboardsYesterday.md +1 -1
  170. data/docs/GetFwLeaderboardsYesterday1.md +1 -1
  171. data/docs/GetFwStats200Ok.md +2 -2
  172. data/docs/GetFwStatsKills.md +1 -1
  173. data/docs/GetFwStatsVictoryPoints.md +1 -1
  174. data/docs/GetFwSystems200Ok.md +3 -3
  175. data/docs/GetFwWars200Ok.md +1 -1
  176. data/docs/GetIncursions200Ok.md +6 -6
  177. data/docs/GetIndustryFacilities200Ok.md +3 -3
  178. data/docs/GetIndustrySystems200Ok.md +1 -1
  179. data/docs/GetInsurancePrices200Ok.md +1 -1
  180. data/docs/GetInsurancePricesLevel.md +1 -1
  181. data/docs/GetKillmailsKillmailIdKillmailHashAttacker.md +3 -3
  182. data/docs/GetKillmailsKillmailIdKillmailHashItem.md +1 -1
  183. data/docs/GetKillmailsKillmailIdKillmailHashItem1.md +2 -2
  184. data/docs/GetKillmailsKillmailIdKillmailHashOk.md +3 -3
  185. data/docs/GetKillmailsKillmailIdKillmailHashVictim.md +3 -3
  186. data/docs/GetLoyaltyStoresCorporationIdOffers200Ok.md +4 -3
  187. data/docs/GetLoyaltyStoresCorporationIdOffersNotFound.md +8 -0
  188. data/docs/GetLoyaltyStoresCorporationIdOffersRequiredItem.md +1 -1
  189. data/docs/GetMarketsGroupsMarketGroupIdOk.md +2 -2
  190. data/docs/GetMarketsPrices200Ok.md +2 -2
  191. data/docs/GetMarketsRegionIdHistory200Ok.md +3 -3
  192. data/docs/GetMarketsRegionIdOrders200Ok.md +7 -7
  193. data/docs/GetMarketsStructuresStructureId200Ok.md +7 -7
  194. data/docs/GetOpportunitiesGroupsGroupIdOk.md +2 -2
  195. data/docs/GetOpportunitiesTasksTaskIdOk.md +2 -2
  196. data/docs/GetSearchOk.md +2 -3
  197. data/docs/GetSovereigntyCampaigns200Ok.md +5 -5
  198. data/docs/GetSovereigntyMap200Ok.md +1 -1
  199. data/docs/GetSovereigntyStructures200Ok.md +1 -1
  200. data/docs/GetStatusOk.md +1 -1
  201. data/docs/GetUniverseAncestries200Ok.md +13 -0
  202. data/docs/GetUniverseBloodlines200Ok.md +6 -6
  203. data/docs/GetUniverseCategoriesCategoryIdOk.md +1 -1
  204. data/docs/GetUniverseConstellationsConstellationIdOk.md +1 -1
  205. data/docs/GetUniverseFactions200Ok.md +5 -5
  206. data/docs/GetUniverseGraphicsGraphicIdOk.md +5 -5
  207. data/docs/GetUniverseGroupsGroupIdOk.md +1 -1
  208. data/docs/GetUniverseMoonsMoonIdOk.md +1 -1
  209. data/docs/GetUniversePlanetsPlanetIdOk.md +3 -3
  210. data/docs/GetUniverseRaces200Ok.md +3 -3
  211. data/docs/GetUniverseRegionsRegionIdOk.md +3 -3
  212. data/docs/GetUniverseSchematicsSchematicIdOk.md +1 -1
  213. data/docs/GetUniverseStargatesStargateIdDestination.md +1 -1
  214. data/docs/GetUniverseStargatesStargateIdOk.md +4 -4
  215. data/docs/GetUniverseStarsStarIdOk.md +3 -3
  216. data/docs/GetUniverseStationsStationIdOk.md +6 -6
  217. data/docs/GetUniverseStructuresStructureIdOk.md +1 -1
  218. data/docs/GetUniverseSystemJumps200Ok.md +1 -1
  219. data/docs/GetUniverseSystemKills200Ok.md +2 -2
  220. data/docs/GetUniverseSystemsSystemIdOk.md +6 -6
  221. data/docs/GetUniverseSystemsSystemIdPlanet.md +1 -1
  222. data/docs/GetUniverseTypesTypeIdOk.md +11 -11
  223. data/docs/GetWarsWarIdAggressor.md +2 -2
  224. data/docs/GetWarsWarIdAlly.md +1 -1
  225. data/docs/GetWarsWarIdDefender.md +2 -2
  226. data/docs/GetWarsWarIdKillmails200Ok.md +1 -1
  227. data/docs/GetWarsWarIdOk.md +6 -6
  228. data/docs/IncursionsApi.md +3 -3
  229. data/docs/IndustryApi.md +278 -17
  230. data/docs/InsuranceApi.md +4 -4
  231. data/docs/KillmailsApi.md +16 -16
  232. data/docs/LocationApi.md +15 -15
  233. data/docs/LoyaltyApi.md +9 -9
  234. data/docs/MailApi.md +41 -40
  235. data/docs/MarketApi.md +172 -42
  236. data/docs/OpportunitiesApi.md +17 -17
  237. data/docs/PlanetaryInteractionApi.md +76 -11
  238. data/docs/PostCharactersAffiliation200Ok.md +1 -1
  239. data/docs/PostCharactersCharacterIdAssetsLocations200Ok.md +1 -3
  240. data/docs/PostCharactersCharacterIdAssetsLocationsPosition.md +10 -0
  241. data/docs/PostCharactersCharacterIdFittingsFitting.md +2 -2
  242. data/docs/PostCharactersCharacterIdFittingsItem.md +1 -1
  243. data/docs/PostCharactersCharacterIdMailLabelsLabel.md +1 -1
  244. data/docs/PostCharactersCharacterIdMailMail.md +2 -2
  245. data/docs/PostCharactersCharacterIdMailRecipient.md +1 -1
  246. data/docs/PostCorporationsCorporationIdAssetsLocations200Ok.md +1 -3
  247. data/docs/PostCorporationsCorporationIdAssetsLocationsPosition.md +10 -0
  248. data/docs/PostFleetsFleetIdMembersInvitation.md +1 -1
  249. data/docs/PostUiOpenwindowNewmailNewMail.md +2 -2
  250. data/docs/PostUniverseIdsAgent.md +9 -0
  251. data/docs/PostUniverseIdsAlliance.md +9 -0
  252. data/docs/PostUniverseIdsCharacter.md +9 -0
  253. data/docs/PostUniverseIdsConstellation.md +9 -0
  254. data/docs/PostUniverseIdsCorporation.md +9 -0
  255. data/docs/PostUniverseIdsFaction.md +9 -0
  256. data/docs/PostUniverseIdsInventoryType.md +9 -0
  257. data/docs/PostUniverseIdsOk.md +17 -0
  258. data/docs/PostUniverseIdsRegion.md +9 -0
  259. data/docs/PostUniverseIdsServiceUnavailable.md +8 -0
  260. data/docs/PostUniverseIdsStation.md +9 -0
  261. data/docs/PostUniverseIdsSystem.md +9 -0
  262. data/docs/PostUniverseNames200Ok.md +1 -1
  263. data/docs/PutCharactersCharacterIdMailMailIdContents.md +1 -1
  264. data/docs/PutFleetsFleetIdMembersMemberIdMovement.md +1 -1
  265. data/docs/PutFleetsFleetIdNewSettings.md +1 -1
  266. data/docs/RoutesApi.md +4 -4
  267. data/docs/SearchApi.md +15 -15
  268. data/docs/SkillsApi.md +13 -13
  269. data/docs/SovereigntyApi.md +9 -9
  270. data/docs/StatusApi.md +3 -3
  271. data/docs/UniverseApi.md +205 -92
  272. data/docs/UserInterfaceApi.md +20 -20
  273. data/docs/WalletApi.md +35 -35
  274. data/docs/WarsApi.md +9 -9
  275. data/esi_client-1.3.0.gem +0 -0
  276. data/git_push.sh +1 -1
  277. data/lib/esi_client.rb +59 -9
  278. data/lib/esi_client/api/alliance_api.rb +30 -23
  279. data/lib/esi_client/api/assets_api.rb +51 -33
  280. data/lib/esi_client/api/bookmarks_api.rb +41 -23
  281. data/lib/esi_client/api/calendar_api.rb +31 -19
  282. data/lib/esi_client/api/character_api.rb +249 -70
  283. data/lib/esi_client/api/clones_api.rb +19 -13
  284. data/lib/esi_client/api/contacts_api.rb +128 -27
  285. data/lib/esi_client/api/contracts_api.rb +53 -29
  286. data/lib/esi_client/api/corporation_api.rb +897 -263
  287. data/lib/esi_client/api/dogma_api.rb +15 -19
  288. data/lib/esi_client/api/faction_warfare_api.rb +162 -26
  289. data/lib/esi_client/api/fittings_api.rb +34 -21
  290. data/lib/esi_client/api/fleets_api.rb +49 -59
  291. data/lib/esi_client/api/incursions_api.rb +6 -7
  292. data/lib/esi_client/api/industry_api.rb +323 -20
  293. data/lib/esi_client/api/insurance_api.rb +6 -7
  294. data/lib/esi_client/api/killmails_api.rb +24 -19
  295. data/lib/esi_client/api/location_api.rb +27 -18
  296. data/lib/esi_client/api/loyalty_api.rb +17 -11
  297. data/lib/esi_client/api/mail_api.rb +76 -45
  298. data/lib/esi_client/api/market_api.rb +192 -45
  299. data/lib/esi_client/api/opportunities_api.rb +22 -23
  300. data/lib/esi_client/api/planetary_interaction_api.rb +93 -14
  301. data/lib/esi_client/api/routes_api.rb +6 -7
  302. data/lib/esi_client/api/search_api.rb +15 -13
  303. data/lib/esi_client/api/skills_api.rb +24 -15
  304. data/lib/esi_client/api/sovereignty_api.rb +12 -15
  305. data/lib/esi_client/api/status_api.rb +6 -7
  306. data/lib/esi_client/api/universe_api.rb +216 -109
  307. data/lib/esi_client/api/user_interface_api.rb +18 -23
  308. data/lib/esi_client/api/wallet_api.rb +51 -33
  309. data/lib/esi_client/api/wars_api.rb +12 -15
  310. data/lib/esi_client/api_client.rb +10 -10
  311. data/lib/esi_client/api_error.rb +2 -2
  312. data/lib/esi_client/configuration.rb +3 -3
  313. data/lib/esi_client/models/delete_characters_character_id_mail_labels_label_id_unprocessable_entity.rb +8 -12
  314. data/lib/esi_client/models/delete_fleets_fleet_id_members_member_id_not_found.rb +8 -12
  315. data/lib/esi_client/models/delete_fleets_fleet_id_squads_squad_id_not_found.rb +8 -12
  316. data/lib/esi_client/models/delete_fleets_fleet_id_wings_wing_id_not_found.rb +8 -12
  317. data/lib/esi_client/models/forbidden.rb +9 -13
  318. data/lib/esi_client/models/get_alliances_alliance_id_contacts_200_ok.rb +264 -0
  319. data/lib/esi_client/models/get_alliances_alliance_id_icons_not_found.rb +8 -12
  320. data/lib/esi_client/models/get_alliances_alliance_id_icons_ok.rb +20 -24
  321. data/lib/esi_client/models/get_alliances_alliance_id_not_found.rb +10 -14
  322. data/lib/esi_client/models/get_alliances_alliance_id_ok.rb +74 -38
  323. data/lib/esi_client/models/get_alliances_names_200_ok.rb +10 -14
  324. data/lib/esi_client/models/get_characters_character_id_agents_research_200_ok.rb +41 -45
  325. data/lib/esi_client/models/get_characters_character_id_assets_200_ok.rb +82 -80
  326. data/lib/esi_client/models/get_characters_character_id_attributes_ok.rb +45 -49
  327. data/lib/esi_client/models/get_characters_character_id_blueprints_200_ok.rb +111 -114
  328. data/lib/esi_client/models/get_characters_character_id_bookmarks_200_ok.rb +76 -71
  329. data/lib/esi_client/models/get_characters_character_id_bookmarks_coordinates.rb +12 -16
  330. data/lib/esi_client/models/get_characters_character_id_bookmarks_folders_200_ok.rb +22 -26
  331. data/lib/esi_client/models/get_characters_character_id_bookmarks_item.rb +11 -15
  332. data/lib/esi_client/models/get_characters_character_id_calendar_200_ok.rb +36 -39
  333. data/lib/esi_client/models/get_characters_character_id_calendar_event_id_attendees_200_ok.rb +11 -14
  334. data/lib/esi_client/models/get_characters_character_id_calendar_event_id_ok.rb +80 -83
  335. data/lib/esi_client/models/get_characters_character_id_chat_channels_200_ok.rb +76 -80
  336. data/lib/esi_client/models/get_characters_character_id_chat_channels_allowed.rb +13 -16
  337. data/lib/esi_client/models/get_characters_character_id_chat_channels_blocked.rb +26 -29
  338. data/lib/esi_client/models/get_characters_character_id_chat_channels_muted.rb +26 -29
  339. data/lib/esi_client/models/get_characters_character_id_chat_channels_operator.rb +13 -16
  340. data/lib/esi_client/models/get_characters_character_id_clones_home_location.rb +11 -14
  341. data/lib/esi_client/models/get_characters_character_id_clones_jump_clone.rb +63 -26
  342. data/lib/esi_client/models/get_characters_character_id_clones_ok.rb +33 -27
  343. data/lib/esi_client/models/get_characters_character_id_contacts_200_ok.rb +46 -49
  344. data/lib/esi_client/models/get_characters_character_id_contacts_labels_200_ok.rb +10 -14
  345. data/lib/esi_client/models/get_characters_character_id_contracts_200_ok.rb +180 -183
  346. data/lib/esi_client/models/get_characters_character_id_contracts_contract_id_bids_200_ok.rb +28 -32
  347. data/lib/esi_client/models/get_characters_character_id_contracts_contract_id_items_200_ok.rb +49 -53
  348. data/lib/esi_client/models/get_characters_character_id_corporationhistory_200_ok.rb +29 -33
  349. data/lib/esi_client/models/get_characters_character_id_fatigue_ok.rb +19 -23
  350. data/lib/esi_client/models/get_characters_character_id_fittings_200_ok.rb +44 -48
  351. data/lib/esi_client/models/get_characters_character_id_fittings_item.rb +29 -33
  352. data/lib/esi_client/models/get_characters_character_id_fleet_not_found.rb +8 -12
  353. data/lib/esi_client/models/get_characters_character_id_fleet_ok.rb +34 -37
  354. data/lib/esi_client/models/get_characters_character_id_fw_stats_kills.rb +220 -0
  355. data/lib/esi_client/models/get_characters_character_id_fw_stats_ok.rb +291 -0
  356. data/lib/esi_client/models/get_characters_character_id_fw_stats_victory_points.rb +220 -0
  357. data/lib/esi_client/models/get_characters_character_id_industry_jobs_200_ok.rb +161 -164
  358. data/lib/esi_client/models/get_characters_character_id_killmails_recent_200_ok.rb +25 -29
  359. data/lib/esi_client/models/get_characters_character_id_location_ok.rb +9 -13
  360. data/lib/esi_client/models/get_characters_character_id_loyalty_points_200_ok.rb +10 -14
  361. data/lib/esi_client/models/get_characters_character_id_mail_200_ok.rb +43 -47
  362. data/lib/esi_client/models/get_characters_character_id_mail_labels_label.rb +50 -56
  363. data/lib/esi_client/models/get_characters_character_id_mail_labels_ok.rb +23 -28
  364. data/lib/esi_client/models/get_characters_character_id_mail_lists_200_ok.rb +10 -14
  365. data/lib/esi_client/models/get_characters_character_id_mail_mail_id_not_found.rb +8 -12
  366. data/lib/esi_client/models/get_characters_character_id_mail_mail_id_ok.rb +47 -51
  367. data/lib/esi_client/models/get_characters_character_id_mail_mail_id_recipient.rb +29 -32
  368. data/lib/esi_client/models/get_characters_character_id_mail_recipient.rb +29 -32
  369. data/lib/esi_client/models/get_characters_character_id_medals_200_ok.rb +68 -71
  370. data/lib/esi_client/models/get_characters_character_id_medals_graphic.rb +38 -42
  371. data/lib/esi_client/models/get_characters_character_id_mining_200_ok.rb +235 -0
  372. data/lib/esi_client/models/get_characters_character_id_not_found.rb +8 -12
  373. data/lib/esi_client/models/get_characters_character_id_notifications_200_ok.rb +40 -43
  374. data/lib/esi_client/models/get_characters_character_id_notifications_contacts_200_ok.rb +42 -46
  375. data/lib/esi_client/models/get_characters_character_id_ok.rb +90 -84
  376. data/lib/esi_client/models/get_characters_character_id_online_ok.rb +220 -0
  377. data/lib/esi_client/models/get_characters_character_id_opportunities_200_ok.rb +25 -29
  378. data/lib/esi_client/models/get_characters_character_id_orders_200_ok.rb +159 -162
  379. data/lib/esi_client/models/get_characters_character_id_orders_history_200_ok.rb +431 -0
  380. data/lib/esi_client/models/get_characters_character_id_planets_200_ok.rb +101 -104
  381. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_content.rb +25 -29
  382. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_extractor_details.rb +30 -34
  383. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_factory_details.rb +9 -13
  384. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_head.rb +16 -20
  385. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_link.rb +34 -38
  386. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_not_found.rb +8 -12
  387. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_ok.rb +11 -15
  388. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_pin.rb +75 -79
  389. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_route.rb +49 -53
  390. data/lib/esi_client/models/get_characters_character_id_portrait_not_found.rb +8 -12
  391. data/lib/esi_client/models/get_characters_character_id_portrait_ok.rb +22 -26
  392. data/lib/esi_client/models/get_characters_character_id_roles_ok.rb +245 -0
  393. data/lib/esi_client/models/get_characters_character_id_search_ok.rb +28 -44
  394. data/lib/esi_client/models/get_characters_character_id_ship_ok.rb +29 -33
  395. data/lib/esi_client/models/get_characters_character_id_skillqueue_200_ok.rb +61 -65
  396. data/lib/esi_client/models/get_characters_character_id_skills_ok.rb +30 -14
  397. data/lib/esi_client/models/get_characters_character_id_skills_skill.rb +50 -24
  398. data/lib/esi_client/models/get_characters_character_id_standings_200_ok.rb +19 -22
  399. data/lib/esi_client/models/get_characters_character_id_stats_200_ok.rb +298 -0
  400. data/lib/esi_client/models/get_characters_character_id_stats_character.rb +205 -0
  401. data/lib/esi_client/models/get_characters_character_id_stats_combat.rb +1115 -0
  402. data/lib/esi_client/models/get_characters_character_id_stats_industry.rb +535 -0
  403. data/lib/esi_client/models/get_characters_character_id_stats_inventory.rb +195 -0
  404. data/lib/esi_client/models/get_characters_character_id_stats_isk.rb +195 -0
  405. data/lib/esi_client/models/get_characters_character_id_stats_market.rb +305 -0
  406. data/lib/esi_client/models/get_characters_character_id_stats_mining.rb +365 -0
  407. data/lib/esi_client/models/get_characters_character_id_stats_module.rb +865 -0
  408. data/lib/esi_client/models/get_characters_character_id_stats_orbital.rb +205 -0
  409. data/lib/esi_client/models/get_characters_character_id_stats_pve.rb +215 -0
  410. data/lib/esi_client/models/get_characters_character_id_stats_social.rb +425 -0
  411. data/lib/esi_client/models/get_characters_character_id_stats_travel.rb +385 -0
  412. data/lib/esi_client/models/get_characters_character_id_titles_200_ok.rb +195 -0
  413. data/lib/esi_client/models/get_characters_character_id_wallet_journal_200_ok.rb +91 -94
  414. data/lib/esi_client/models/get_characters_character_id_wallet_journal_extra_info.rb +73 -77
  415. data/lib/esi_client/models/get_characters_character_id_wallet_transactions_200_ok.rb +87 -91
  416. data/lib/esi_client/models/get_characters_names_200_ok.rb +10 -14
  417. data/lib/esi_client/models/get_corporation_corporation_id_mining_extractions_200_ok.rb +250 -0
  418. data/lib/esi_client/models/get_corporation_corporation_id_mining_observers_200_ok.rb +254 -0
  419. data/lib/esi_client/models/get_corporation_corporation_id_mining_observers_observer_id_200_ok.rb +250 -0
  420. data/lib/esi_client/models/get_corporations_corporation_id_alliancehistory_200_ok.rb +27 -31
  421. data/lib/esi_client/models/get_corporations_corporation_id_assets_200_ok.rb +82 -80
  422. data/lib/esi_client/models/get_corporations_corporation_id_blueprints_200_ok.rb +117 -120
  423. data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_200_ok.rb +51 -55
  424. data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_coordinates.rb +11 -15
  425. data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_folders_200_ok.rb +22 -26
  426. data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_item.rb +10 -14
  427. data/lib/esi_client/models/get_corporations_corporation_id_contacts_200_ok.rb +39 -42
  428. data/lib/esi_client/models/get_corporations_corporation_id_containers_logs_200_ok.rb +102 -105
  429. data/lib/esi_client/models/get_corporations_corporation_id_contracts_200_ok.rb +180 -183
  430. data/lib/esi_client/models/get_corporations_corporation_id_contracts_contract_id_bids_200_ok.rb +28 -32
  431. data/lib/esi_client/models/get_corporations_corporation_id_contracts_contract_id_items_200_ok.rb +49 -53
  432. data/lib/esi_client/models/get_corporations_corporation_id_customs_offices_200_ok.rb +435 -0
  433. data/lib/esi_client/models/get_corporations_corporation_id_divisions_hangar.rb +14 -20
  434. data/lib/esi_client/models/get_corporations_corporation_id_divisions_ok.rb +8 -12
  435. data/lib/esi_client/models/get_corporations_corporation_id_divisions_wallet.rb +14 -20
  436. data/lib/esi_client/models/get_corporations_corporation_id_facilities_200_ok.rb +220 -0
  437. data/lib/esi_client/models/get_corporations_corporation_id_fw_stats_kills.rb +220 -0
  438. data/lib/esi_client/models/get_corporations_corporation_id_fw_stats_ok.rb +233 -0
  439. data/lib/esi_client/models/get_corporations_corporation_id_fw_stats_victory_points.rb +220 -0
  440. data/lib/esi_client/models/get_corporations_corporation_id_icons_not_found.rb +8 -12
  441. data/lib/esi_client/models/get_corporations_corporation_id_icons_ok.rb +22 -26
  442. data/lib/esi_client/models/get_corporations_corporation_id_industry_jobs_200_ok.rb +163 -166
  443. data/lib/esi_client/models/get_corporations_corporation_id_killmails_recent_200_ok.rb +25 -29
  444. data/lib/esi_client/models/get_corporations_corporation_id_medals_200_ok.rb +288 -0
  445. data/lib/esi_client/models/get_corporations_corporation_id_medals_issued_200_ok.rb +318 -0
  446. data/lib/esi_client/models/get_corporations_corporation_id_members_titles_200_ok.rb +207 -0
  447. data/lib/esi_client/models/get_corporations_corporation_id_membertracking_200_ok.rb +46 -50
  448. data/lib/esi_client/models/get_corporations_corporation_id_not_found.rb +8 -12
  449. data/lib/esi_client/models/get_corporations_corporation_id_ok.rb +114 -141
  450. data/lib/esi_client/models/get_corporations_corporation_id_orders_200_ok.rb +149 -152
  451. data/lib/esi_client/models/get_corporations_corporation_id_orders_history_200_ok.rb +459 -0
  452. data/lib/esi_client/models/get_corporations_corporation_id_outposts_outpost_id_coordinates.rb +220 -0
  453. data/lib/esi_client/models/get_corporations_corporation_id_outposts_outpost_id_ok.rb +326 -0
  454. data/lib/esi_client/models/get_corporations_corporation_id_outposts_outpost_id_service.rb +269 -0
  455. data/lib/esi_client/models/get_corporations_corporation_id_roles_200_ok.rb +52 -55
  456. data/lib/esi_client/models/get_corporations_corporation_id_roles_history_200_ok.rb +303 -0
  457. data/lib/esi_client/models/get_corporations_corporation_id_shareholders_200_ok.rb +31 -34
  458. data/lib/esi_client/models/get_corporations_corporation_id_standings_200_ok.rb +19 -22
  459. data/lib/esi_client/models/get_corporations_corporation_id_starbases_200_ok.rb +304 -0
  460. data/lib/esi_client/models/get_corporations_corporation_id_starbases_starbase_id_fuel.rb +205 -0
  461. data/lib/esi_client/models/get_corporations_corporation_id_starbases_starbase_id_ok.rb +466 -0
  462. data/lib/esi_client/models/get_corporations_corporation_id_structures_200_ok.rb +269 -94
  463. data/lib/esi_client/models/get_corporations_corporation_id_structures_service.rb +13 -16
  464. data/lib/esi_client/models/get_corporations_corporation_id_titles_200_ok.rb +66 -69
  465. data/lib/esi_client/models/get_corporations_corporation_id_wallets_200_ok.rb +31 -35
  466. data/lib/esi_client/models/get_corporations_corporation_id_wallets_division_journal_200_ok.rb +91 -94
  467. data/lib/esi_client/models/get_corporations_corporation_id_wallets_division_journal_extra_info.rb +73 -77
  468. data/lib/esi_client/models/get_corporations_corporation_id_wallets_division_transactions_200_ok.rb +76 -80
  469. data/lib/esi_client/models/get_corporations_names_200_ok.rb +10 -14
  470. data/lib/esi_client/models/get_dogma_attributes_attribute_id_not_found.rb +8 -12
  471. data/lib/esi_client/models/get_dogma_attributes_attribute_id_ok.rb +49 -53
  472. data/lib/esi_client/models/get_dogma_effects_effect_id_modifier.rb +30 -34
  473. data/lib/esi_client/models/get_dogma_effects_effect_id_not_found.rb +8 -12
  474. data/lib/esi_client/models/get_dogma_effects_effect_id_ok.rb +130 -134
  475. data/lib/esi_client/models/get_fleets_fleet_id_members_200_ok.rb +80 -83
  476. data/lib/esi_client/models/get_fleets_fleet_id_members_not_found.rb +8 -12
  477. data/lib/esi_client/models/get_fleets_fleet_id_not_found.rb +8 -12
  478. data/lib/esi_client/models/get_fleets_fleet_id_ok.rb +30 -34
  479. data/lib/esi_client/models/get_fleets_fleet_id_wings_200_ok.rb +25 -29
  480. data/lib/esi_client/models/get_fleets_fleet_id_wings_not_found.rb +8 -12
  481. data/lib/esi_client/models/get_fleets_fleet_id_wings_squad.rb +25 -29
  482. data/lib/esi_client/models/get_fw_leaderboards_active_total.rb +20 -24
  483. data/lib/esi_client/models/get_fw_leaderboards_active_total_1.rb +20 -24
  484. data/lib/esi_client/models/get_fw_leaderboards_characters_active_total.rb +20 -24
  485. data/lib/esi_client/models/get_fw_leaderboards_characters_active_total_1.rb +20 -24
  486. data/lib/esi_client/models/get_fw_leaderboards_characters_kills.rb +32 -36
  487. data/lib/esi_client/models/get_fw_leaderboards_characters_last_week.rb +20 -24
  488. data/lib/esi_client/models/get_fw_leaderboards_characters_last_week_1.rb +20 -24
  489. data/lib/esi_client/models/get_fw_leaderboards_characters_ok.rb +18 -12
  490. data/lib/esi_client/models/get_fw_leaderboards_characters_victory_points.rb +32 -36
  491. data/lib/esi_client/models/get_fw_leaderboards_characters_yesterday.rb +20 -24
  492. data/lib/esi_client/models/get_fw_leaderboards_characters_yesterday_1.rb +20 -24
  493. data/lib/esi_client/models/get_fw_leaderboards_corporations_active_total.rb +20 -24
  494. data/lib/esi_client/models/get_fw_leaderboards_corporations_active_total_1.rb +20 -24
  495. data/lib/esi_client/models/get_fw_leaderboards_corporations_kills.rb +32 -36
  496. data/lib/esi_client/models/get_fw_leaderboards_corporations_last_week.rb +20 -24
  497. data/lib/esi_client/models/get_fw_leaderboards_corporations_last_week_1.rb +20 -24
  498. data/lib/esi_client/models/get_fw_leaderboards_corporations_ok.rb +18 -12
  499. data/lib/esi_client/models/get_fw_leaderboards_corporations_victory_points.rb +32 -36
  500. data/lib/esi_client/models/get_fw_leaderboards_corporations_yesterday.rb +20 -24
  501. data/lib/esi_client/models/get_fw_leaderboards_corporations_yesterday_1.rb +20 -24
  502. data/lib/esi_client/models/get_fw_leaderboards_kills.rb +32 -36
  503. data/lib/esi_client/models/get_fw_leaderboards_last_week.rb +20 -24
  504. data/lib/esi_client/models/get_fw_leaderboards_last_week_1.rb +20 -24
  505. data/lib/esi_client/models/get_fw_leaderboards_ok.rb +18 -12
  506. data/lib/esi_client/models/get_fw_leaderboards_victory_points.rb +32 -36
  507. data/lib/esi_client/models/get_fw_leaderboards_yesterday.rb +20 -24
  508. data/lib/esi_client/models/get_fw_leaderboards_yesterday_1.rb +20 -24
  509. data/lib/esi_client/models/get_fw_stats_200_ok.rb +31 -25
  510. data/lib/esi_client/models/get_fw_stats_kills.rb +29 -33
  511. data/lib/esi_client/models/get_fw_stats_victory_points.rb +29 -33
  512. data/lib/esi_client/models/get_fw_systems_200_ok.rb +48 -52
  513. data/lib/esi_client/models/get_fw_wars_200_ok.rb +25 -29
  514. data/lib/esi_client/models/get_incursions_200_ok.rb +82 -85
  515. data/lib/esi_client/models/get_industry_facilities_200_ok.rb +42 -46
  516. data/lib/esi_client/models/get_industry_systems_200_ok.rb +26 -30
  517. data/lib/esi_client/models/get_industry_systems_cost_indice.rb +13 -16
  518. data/lib/esi_client/models/get_insurance_prices_200_ok.rb +26 -30
  519. data/lib/esi_client/models/get_insurance_prices_level.rb +26 -30
  520. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_attacker.rb +40 -44
  521. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_item.rb +27 -31
  522. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_item_1.rb +39 -43
  523. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_ok.rb +47 -46
  524. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_position.rb +11 -15
  525. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_unprocessable_entity.rb +8 -12
  526. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_victim.rb +41 -45
  527. data/lib/esi_client/models/get_loyalty_stores_corporation_id_offers_200_ok.rb +65 -59
  528. data/lib/esi_client/models/get_loyalty_stores_corporation_id_offers_not_found.rb +185 -0
  529. data/lib/esi_client/models/get_loyalty_stores_corporation_id_offers_required_item.rb +25 -29
  530. data/lib/esi_client/models/get_markets_groups_market_group_id_not_found.rb +8 -12
  531. data/lib/esi_client/models/get_markets_groups_market_group_id_ok.rb +35 -39
  532. data/lib/esi_client/models/get_markets_prices_200_ok.rb +24 -28
  533. data/lib/esi_client/models/get_markets_region_id_history_200_ok.rb +55 -59
  534. data/lib/esi_client/models/get_markets_region_id_history_unprocessable_entity.rb +8 -12
  535. data/lib/esi_client/models/get_markets_region_id_orders_200_ok.rb +102 -105
  536. data/lib/esi_client/models/get_markets_region_id_orders_unprocessable_entity.rb +8 -12
  537. data/lib/esi_client/models/get_markets_structures_structure_id_200_ok.rb +102 -105
  538. data/lib/esi_client/models/get_opportunities_groups_group_id_ok.rb +46 -50
  539. data/lib/esi_client/models/get_opportunities_tasks_task_id_ok.rb +38 -42
  540. data/lib/esi_client/models/get_route_origin_destination_not_found.rb +8 -12
  541. data/lib/esi_client/models/get_search_ok.rb +28 -44
  542. data/lib/esi_client/models/get_sovereignty_campaigns_200_ok.rb +75 -78
  543. data/lib/esi_client/models/get_sovereignty_campaigns_participant.rb +10 -14
  544. data/lib/esi_client/models/get_sovereignty_map_200_ok.rb +23 -27
  545. data/lib/esi_client/models/get_sovereignty_structures_200_ok.rb +24 -28
  546. data/lib/esi_client/models/get_status_ok.rb +26 -30
  547. data/lib/esi_client/models/get_universe_ancestries_200_ok.rb +255 -0
  548. data/lib/esi_client/models/get_universe_bloodlines_200_ok.rb +90 -94
  549. data/lib/esi_client/models/get_universe_categories_category_id_not_found.rb +8 -12
  550. data/lib/esi_client/models/get_universe_categories_category_id_ok.rb +30 -34
  551. data/lib/esi_client/models/get_universe_constellations_constellation_id_not_found.rb +8 -12
  552. data/lib/esi_client/models/get_universe_constellations_constellation_id_ok.rb +17 -16
  553. data/lib/esi_client/models/get_universe_constellations_constellation_id_position.rb +11 -15
  554. data/lib/esi_client/models/get_universe_factions_200_ok.rb +65 -79
  555. data/lib/esi_client/models/get_universe_graphics_graphic_id_not_found.rb +8 -12
  556. data/lib/esi_client/models/get_universe_graphics_graphic_id_ok.rb +46 -50
  557. data/lib/esi_client/models/get_universe_groups_group_id_not_found.rb +8 -12
  558. data/lib/esi_client/models/get_universe_groups_group_id_ok.rb +28 -32
  559. data/lib/esi_client/models/get_universe_moons_moon_id_not_found.rb +8 -12
  560. data/lib/esi_client/models/get_universe_moons_moon_id_ok.rb +16 -15
  561. data/lib/esi_client/models/get_universe_moons_moon_id_position.rb +11 -15
  562. data/lib/esi_client/models/get_universe_planets_planet_id_not_found.rb +8 -12
  563. data/lib/esi_client/models/get_universe_planets_planet_id_ok.rb +43 -42
  564. data/lib/esi_client/models/get_universe_planets_planet_id_position.rb +11 -15
  565. data/lib/esi_client/models/get_universe_races_200_ok.rb +42 -46
  566. data/lib/esi_client/models/get_universe_regions_region_id_not_found.rb +8 -12
  567. data/lib/esi_client/models/get_universe_regions_region_id_ok.rb +40 -44
  568. data/lib/esi_client/models/get_universe_schematics_schematic_id_not_found.rb +8 -12
  569. data/lib/esi_client/models/get_universe_schematics_schematic_id_ok.rb +25 -29
  570. data/lib/esi_client/models/get_universe_stargates_stargate_id_destination.rb +25 -29
  571. data/lib/esi_client/models/get_universe_stargates_stargate_id_not_found.rb +8 -12
  572. data/lib/esi_client/models/get_universe_stargates_stargate_id_ok.rb +50 -44
  573. data/lib/esi_client/models/get_universe_stargates_stargate_id_position.rb +11 -15
  574. data/lib/esi_client/models/get_universe_stars_star_id_ok.rb +64 -67
  575. data/lib/esi_client/models/get_universe_stations_station_id_not_found.rb +8 -12
  576. data/lib/esi_client/models/get_universe_stations_station_id_ok.rb +92 -90
  577. data/lib/esi_client/models/get_universe_stations_station_id_position.rb +11 -15
  578. data/lib/esi_client/models/get_universe_structures_structure_id_not_found.rb +8 -12
  579. data/lib/esi_client/models/get_universe_structures_structure_id_ok.rb +21 -25
  580. data/lib/esi_client/models/get_universe_structures_structure_id_position.rb +11 -15
  581. data/lib/esi_client/models/get_universe_system_jumps_200_ok.rb +25 -29
  582. data/lib/esi_client/models/get_universe_system_kills_200_ok.rb +41 -45
  583. data/lib/esi_client/models/get_universe_systems_system_id_not_found.rb +8 -12
  584. data/lib/esi_client/models/get_universe_systems_system_id_ok.rb +74 -73
  585. data/lib/esi_client/models/get_universe_systems_system_id_planet.rb +22 -26
  586. data/lib/esi_client/models/get_universe_systems_system_id_position.rb +11 -15
  587. data/lib/esi_client/models/get_universe_types_type_id_dogma_attribute.rb +10 -14
  588. data/lib/esi_client/models/get_universe_types_type_id_dogma_effect.rb +10 -14
  589. data/lib/esi_client/models/get_universe_types_type_id_not_found.rb +8 -12
  590. data/lib/esi_client/models/get_universe_types_type_id_ok.rb +111 -115
  591. data/lib/esi_client/models/get_wars_war_id_aggressor.rb +32 -36
  592. data/lib/esi_client/models/get_wars_war_id_ally.rb +20 -24
  593. data/lib/esi_client/models/get_wars_war_id_defender.rb +32 -36
  594. data/lib/esi_client/models/get_wars_war_id_killmails_200_ok.rb +25 -29
  595. data/lib/esi_client/models/get_wars_war_id_killmails_unprocessable_entity.rb +8 -12
  596. data/lib/esi_client/models/get_wars_war_id_ok.rb +72 -66
  597. data/lib/esi_client/models/get_wars_war_id_unprocessable_entity.rb +8 -12
  598. data/lib/esi_client/models/internal_server_error.rb +9 -13
  599. data/lib/esi_client/models/post_characters_affiliation_200_ok.rb +21 -25
  600. data/lib/esi_client/models/post_characters_affiliation_not_found.rb +8 -12
  601. data/lib/esi_client/models/post_characters_character_id_assets_locations_200_ok.rb +19 -54
  602. data/lib/esi_client/models/post_characters_character_id_assets_locations_position.rb +220 -0
  603. data/lib/esi_client/models/post_characters_character_id_assets_names_200_ok.rb +10 -14
  604. data/lib/esi_client/models/post_characters_character_id_fittings_created.rb +9 -13
  605. data/lib/esi_client/models/post_characters_character_id_fittings_fitting.rb +69 -73
  606. data/lib/esi_client/models/post_characters_character_id_fittings_item.rb +29 -33
  607. data/lib/esi_client/models/post_characters_character_id_mail_bad_request.rb +8 -12
  608. data/lib/esi_client/models/post_characters_character_id_mail_labels_label.rb +41 -44
  609. data/lib/esi_client/models/post_characters_character_id_mail_mail.rb +59 -63
  610. data/lib/esi_client/models/post_characters_character_id_mail_recipient.rb +29 -32
  611. data/lib/esi_client/models/post_corporations_corporation_id_assets_locations_200_ok.rb +19 -54
  612. data/lib/esi_client/models/post_corporations_corporation_id_assets_locations_position.rb +220 -0
  613. data/lib/esi_client/models/post_corporations_corporation_id_assets_names_200_ok.rb +10 -14
  614. data/lib/esi_client/models/post_fleets_fleet_id_members_invitation.rb +41 -46
  615. data/lib/esi_client/models/post_fleets_fleet_id_members_not_found.rb +8 -12
  616. data/lib/esi_client/models/post_fleets_fleet_id_members_unprocessable_entity.rb +8 -12
  617. data/lib/esi_client/models/post_fleets_fleet_id_wings_created.rb +9 -13
  618. data/lib/esi_client/models/post_fleets_fleet_id_wings_not_found.rb +8 -12
  619. data/lib/esi_client/models/post_fleets_fleet_id_wings_wing_id_squads_created.rb +9 -13
  620. data/lib/esi_client/models/post_fleets_fleet_id_wings_wing_id_squads_not_found.rb +8 -12
  621. data/lib/esi_client/models/post_ui_openwindow_newmail_new_mail.rb +55 -59
  622. data/lib/esi_client/models/post_ui_openwindow_newmail_unprocessable_entity.rb +8 -12
  623. data/lib/esi_client/models/post_universe_ids_agent.rb +195 -0
  624. data/lib/esi_client/models/post_universe_ids_alliance.rb +195 -0
  625. data/lib/esi_client/models/post_universe_ids_character.rb +195 -0
  626. data/lib/esi_client/models/post_universe_ids_constellation.rb +195 -0
  627. data/lib/esi_client/models/post_universe_ids_corporation.rb +195 -0
  628. data/lib/esi_client/models/post_universe_ids_faction.rb +195 -0
  629. data/lib/esi_client/models/post_universe_ids_inventory_type.rb +195 -0
  630. data/lib/esi_client/models/post_universe_ids_ok.rb +295 -0
  631. data/lib/esi_client/models/post_universe_ids_region.rb +195 -0
  632. data/lib/esi_client/models/post_universe_ids_service_unavailable.rb +185 -0
  633. data/lib/esi_client/models/post_universe_ids_station.rb +195 -0
  634. data/lib/esi_client/models/post_universe_ids_system.rb +195 -0
  635. data/lib/esi_client/models/post_universe_names_200_ok.rb +32 -35
  636. data/lib/esi_client/models/post_universe_names_not_found.rb +8 -12
  637. data/lib/esi_client/models/put_characters_character_id_calendar_event_id_response.rb +13 -16
  638. data/lib/esi_client/models/put_characters_character_id_mail_mail_id_bad_request.rb +8 -12
  639. data/lib/esi_client/models/put_characters_character_id_mail_mail_id_contents.rb +21 -25
  640. data/lib/esi_client/models/put_fleets_fleet_id_bad_request.rb +8 -12
  641. data/lib/esi_client/models/put_fleets_fleet_id_members_member_id_movement.rb +40 -45
  642. data/lib/esi_client/models/put_fleets_fleet_id_members_member_id_not_found.rb +8 -12
  643. data/lib/esi_client/models/put_fleets_fleet_id_members_member_id_unprocessable_entity.rb +8 -12
  644. data/lib/esi_client/models/put_fleets_fleet_id_new_settings.rb +20 -24
  645. data/lib/esi_client/models/put_fleets_fleet_id_not_found.rb +8 -12
  646. data/lib/esi_client/models/put_fleets_fleet_id_squads_squad_id_naming.rb +12 -16
  647. data/lib/esi_client/models/put_fleets_fleet_id_squads_squad_id_not_found.rb +8 -12
  648. data/lib/esi_client/models/put_fleets_fleet_id_wings_wing_id_naming.rb +12 -16
  649. data/lib/esi_client/models/put_fleets_fleet_id_wings_wing_id_not_found.rb +8 -12
  650. data/lib/esi_client/version.rb +3 -3
  651. data/spec/models/get_alliances_alliance_id_contacts_200_ok_spec.rb +63 -0
  652. data/spec/models/get_characters_character_id_fw_stats_kills_spec.rb +53 -0
  653. data/spec/models/get_characters_character_id_fw_stats_ok_spec.rb +71 -0
  654. data/spec/models/get_characters_character_id_fw_stats_victory_points_spec.rb +53 -0
  655. data/spec/models/get_characters_character_id_mining_200_ok_spec.rb +59 -0
  656. data/spec/models/get_characters_character_id_online_ok_spec.rb +59 -0
  657. data/spec/models/get_characters_character_id_orders_history_200_ok_spec.rb +133 -0
  658. data/spec/models/get_characters_character_id_roles_ok_spec.rb +75 -0
  659. data/spec/models/get_characters_character_id_stats_200_ok_spec.rb +113 -0
  660. data/spec/models/get_characters_character_id_stats_character_spec.rb +53 -0
  661. data/spec/models/get_characters_character_id_stats_combat_spec.rb +599 -0
  662. data/spec/models/get_characters_character_id_stats_industry_spec.rb +251 -0
  663. data/spec/models/get_characters_character_id_stats_inventory_spec.rb +47 -0
  664. data/spec/models/get_characters_character_id_stats_isk_spec.rb +47 -0
  665. data/spec/models/get_characters_character_id_stats_market_spec.rb +113 -0
  666. data/spec/models/get_characters_character_id_stats_mining_spec.rb +149 -0
  667. data/spec/models/get_characters_character_id_stats_module_spec.rb +449 -0
  668. data/spec/models/get_characters_character_id_stats_orbital_spec.rb +53 -0
  669. data/spec/models/get_characters_character_id_stats_pve_spec.rb +59 -0
  670. data/spec/models/get_characters_character_id_stats_social_spec.rb +185 -0
  671. data/spec/models/get_characters_character_id_stats_travel_spec.rb +161 -0
  672. data/spec/models/get_characters_character_id_titles_200_ok_spec.rb +47 -0
  673. data/spec/models/get_corporation_corporation_id_mining_extractions_200_ok_spec.rb +65 -0
  674. data/spec/models/get_corporation_corporation_id_mining_observers_200_ok_spec.rb +57 -0
  675. data/spec/models/get_corporation_corporation_id_mining_observers_observer_id_200_ok_spec.rb +65 -0
  676. data/spec/models/get_corporations_corporation_id_customs_offices_200_ok_spec.rb +123 -0
  677. data/spec/models/get_corporations_corporation_id_facilities_200_ok_spec.rb +53 -0
  678. data/spec/models/get_corporations_corporation_id_fw_stats_kills_spec.rb +53 -0
  679. data/spec/models/get_corporations_corporation_id_fw_stats_ok_spec.rb +65 -0
  680. data/spec/models/get_corporations_corporation_id_fw_stats_victory_points_spec.rb +53 -0
  681. data/spec/models/get_corporations_corporation_id_medals_200_ok_spec.rb +65 -0
  682. data/spec/models/get_corporations_corporation_id_medals_issued_200_ok_spec.rb +75 -0
  683. data/spec/models/get_corporations_corporation_id_members_titles_200_ok_spec.rb +47 -0
  684. data/spec/models/get_corporations_corporation_id_orders_history_200_ok_spec.rb +133 -0
  685. data/spec/models/get_corporations_corporation_id_outposts_outpost_id_coordinates_spec.rb +53 -0
  686. data/spec/models/get_corporations_corporation_id_outposts_outpost_id_ok_spec.rb +95 -0
  687. data/spec/models/get_corporations_corporation_id_outposts_outpost_id_service_spec.rb +63 -0
  688. data/spec/models/get_corporations_corporation_id_roles_history_200_ok_spec.rb +83 -0
  689. data/spec/models/get_corporations_corporation_id_starbases_200_ok_spec.rb +87 -0
  690. data/spec/models/get_corporations_corporation_id_starbases_starbase_id_fuel_spec.rb +47 -0
  691. data/spec/models/get_corporations_corporation_id_starbases_starbase_id_ok_spec.rb +143 -0
  692. data/spec/models/get_loyalty_stores_corporation_id_offers_not_found_spec.rb +41 -0
  693. data/spec/models/get_universe_ancestries_200_ok_spec.rb +71 -0
  694. data/spec/models/post_characters_character_id_assets_locations_position_spec.rb +53 -0
  695. data/spec/models/post_corporations_corporation_id_assets_locations_position_spec.rb +53 -0
  696. data/spec/models/post_universe_ids_agent_spec.rb +47 -0
  697. data/spec/models/post_universe_ids_alliance_spec.rb +47 -0
  698. data/spec/models/post_universe_ids_character_spec.rb +47 -0
  699. data/spec/models/post_universe_ids_constellation_spec.rb +47 -0
  700. data/spec/models/post_universe_ids_corporation_spec.rb +47 -0
  701. data/spec/models/post_universe_ids_faction_spec.rb +47 -0
  702. data/spec/models/post_universe_ids_inventory_type_spec.rb +47 -0
  703. data/spec/models/post_universe_ids_ok_spec.rb +95 -0
  704. data/spec/models/post_universe_ids_region_spec.rb +47 -0
  705. data/spec/models/post_universe_ids_service_unavailable_spec.rb +41 -0
  706. data/spec/models/post_universe_ids_station_spec.rb +47 -0
  707. data/spec/models/post_universe_ids_system_spec.rb +47 -0
  708. metadata +232 -3
@@ -0,0 +1,291 @@
1
+ =begin
2
+ #EVE Swagger Interface
3
+
4
+ #An OpenAPI for EVE Online
5
+
6
+ OpenAPI spec version: 0.7.5
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module ESIClient
16
+ # 200 ok object
17
+ class GetCharactersCharacterIdFwStatsOk
18
+ # The faction the given character is enlisted to fight for. Will not be included if character is not enlisted in faction warfare
19
+ attr_accessor :faction_id
20
+
21
+ # The enlistment date of the given character into faction warfare. Will not be included if character is not enlisted in faction warfare
22
+ attr_accessor :enlisted_on
23
+
24
+ # The given character's current faction rank
25
+ attr_accessor :current_rank
26
+
27
+ # The given character's highest faction rank achieved
28
+ attr_accessor :highest_rank
29
+
30
+ attr_accessor :kills
31
+
32
+ attr_accessor :victory_points
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+ :'faction_id' => :'faction_id',
38
+ :'enlisted_on' => :'enlisted_on',
39
+ :'current_rank' => :'current_rank',
40
+ :'highest_rank' => :'highest_rank',
41
+ :'kills' => :'kills',
42
+ :'victory_points' => :'victory_points'
43
+ }
44
+ end
45
+
46
+ # Attribute type mapping.
47
+ def self.swagger_types
48
+ {
49
+ :'faction_id' => :'Integer',
50
+ :'enlisted_on' => :'DateTime',
51
+ :'current_rank' => :'Integer',
52
+ :'highest_rank' => :'Integer',
53
+ :'kills' => :'GetCharactersCharacterIdFwStatsKills',
54
+ :'victory_points' => :'GetCharactersCharacterIdFwStatsVictoryPoints'
55
+ }
56
+ end
57
+
58
+ # Initializes the object
59
+ # @param [Hash] attributes Model attributes in the form of hash
60
+ def initialize(attributes = {})
61
+ return unless attributes.is_a?(Hash)
62
+
63
+ # convert string to symbol for hash key
64
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
65
+
66
+ if attributes.has_key?(:'faction_id')
67
+ self.faction_id = attributes[:'faction_id']
68
+ end
69
+
70
+ if attributes.has_key?(:'enlisted_on')
71
+ self.enlisted_on = attributes[:'enlisted_on']
72
+ end
73
+
74
+ if attributes.has_key?(:'current_rank')
75
+ self.current_rank = attributes[:'current_rank']
76
+ end
77
+
78
+ if attributes.has_key?(:'highest_rank')
79
+ self.highest_rank = attributes[:'highest_rank']
80
+ end
81
+
82
+ if attributes.has_key?(:'kills')
83
+ self.kills = attributes[:'kills']
84
+ end
85
+
86
+ if attributes.has_key?(:'victory_points')
87
+ self.victory_points = attributes[:'victory_points']
88
+ end
89
+ end
90
+
91
+ # Show invalid properties with the reasons. Usually used together with valid?
92
+ # @return Array for valid properties with the reasons
93
+ def list_invalid_properties
94
+ invalid_properties = Array.new
95
+ if !@current_rank.nil? && @current_rank > 9
96
+ invalid_properties.push('invalid value for "current_rank", must be smaller than or equal to 9.')
97
+ end
98
+
99
+ if !@current_rank.nil? && @current_rank < 0
100
+ invalid_properties.push('invalid value for "current_rank", must be greater than or equal to 0.')
101
+ end
102
+
103
+ if !@highest_rank.nil? && @highest_rank > 9
104
+ invalid_properties.push('invalid value for "highest_rank", must be smaller than or equal to 9.')
105
+ end
106
+
107
+ if !@highest_rank.nil? && @highest_rank < 0
108
+ invalid_properties.push('invalid value for "highest_rank", must be greater than or equal to 0.')
109
+ end
110
+
111
+ if @kills.nil?
112
+ invalid_properties.push('invalid value for "kills", kills cannot be nil.')
113
+ end
114
+
115
+ if @victory_points.nil?
116
+ invalid_properties.push('invalid value for "victory_points", victory_points cannot be nil.')
117
+ end
118
+
119
+ invalid_properties
120
+ end
121
+
122
+ # Check to see if the all the properties in the model are valid
123
+ # @return true if the model is valid
124
+ def valid?
125
+ return false if !@current_rank.nil? && @current_rank > 9
126
+ return false if !@current_rank.nil? && @current_rank < 0
127
+ return false if !@highest_rank.nil? && @highest_rank > 9
128
+ return false if !@highest_rank.nil? && @highest_rank < 0
129
+ return false if @kills.nil?
130
+ return false if @victory_points.nil?
131
+ true
132
+ end
133
+
134
+ # Custom attribute writer method with validation
135
+ # @param [Object] current_rank Value to be assigned
136
+ def current_rank=(current_rank)
137
+ if !current_rank.nil? && current_rank > 9
138
+ fail ArgumentError, 'invalid value for "current_rank", must be smaller than or equal to 9.'
139
+ end
140
+
141
+ if !current_rank.nil? && current_rank < 0
142
+ fail ArgumentError, 'invalid value for "current_rank", must be greater than or equal to 0.'
143
+ end
144
+
145
+ @current_rank = current_rank
146
+ end
147
+
148
+ # Custom attribute writer method with validation
149
+ # @param [Object] highest_rank Value to be assigned
150
+ def highest_rank=(highest_rank)
151
+ if !highest_rank.nil? && highest_rank > 9
152
+ fail ArgumentError, 'invalid value for "highest_rank", must be smaller than or equal to 9.'
153
+ end
154
+
155
+ if !highest_rank.nil? && highest_rank < 0
156
+ fail ArgumentError, 'invalid value for "highest_rank", must be greater than or equal to 0.'
157
+ end
158
+
159
+ @highest_rank = highest_rank
160
+ end
161
+
162
+ # Checks equality by comparing each attribute.
163
+ # @param [Object] Object to be compared
164
+ def ==(o)
165
+ return true if self.equal?(o)
166
+ self.class == o.class &&
167
+ faction_id == o.faction_id &&
168
+ enlisted_on == o.enlisted_on &&
169
+ current_rank == o.current_rank &&
170
+ highest_rank == o.highest_rank &&
171
+ kills == o.kills &&
172
+ victory_points == o.victory_points
173
+ end
174
+
175
+ # @see the `==` method
176
+ # @param [Object] Object to be compared
177
+ def eql?(o)
178
+ self == o
179
+ end
180
+
181
+ # Calculates hash code according to all attributes.
182
+ # @return [Fixnum] Hash code
183
+ def hash
184
+ [faction_id, enlisted_on, current_rank, highest_rank, kills, victory_points].hash
185
+ end
186
+
187
+ # Builds the object from hash
188
+ # @param [Hash] attributes Model attributes in the form of hash
189
+ # @return [Object] Returns the model itself
190
+ def build_from_hash(attributes)
191
+ return nil unless attributes.is_a?(Hash)
192
+ self.class.swagger_types.each_pair do |key, type|
193
+ if type =~ /\AArray<(.*)>/i
194
+ # check to ensure the input is an array given that the the attribute
195
+ # is documented as an array but the input is not
196
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
197
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
198
+ end
199
+ elsif !attributes[self.class.attribute_map[key]].nil?
200
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
201
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
202
+ end
203
+
204
+ self
205
+ end
206
+
207
+ # Deserializes the data based on type
208
+ # @param string type Data type
209
+ # @param string value Value to be deserialized
210
+ # @return [Object] Deserialized data
211
+ def _deserialize(type, value)
212
+ case type.to_sym
213
+ when :DateTime
214
+ DateTime.parse(value)
215
+ when :Date
216
+ Date.parse(value)
217
+ when :String
218
+ value.to_s
219
+ when :Integer
220
+ value.to_i
221
+ when :Float
222
+ value.to_f
223
+ when :BOOLEAN
224
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
225
+ true
226
+ else
227
+ false
228
+ end
229
+ when :Object
230
+ # generic object (usually a Hash), return directly
231
+ value
232
+ when /\AArray<(?<inner_type>.+)>\z/
233
+ inner_type = Regexp.last_match[:inner_type]
234
+ value.map { |v| _deserialize(inner_type, v) }
235
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
236
+ k_type = Regexp.last_match[:k_type]
237
+ v_type = Regexp.last_match[:v_type]
238
+ {}.tap do |hash|
239
+ value.each do |k, v|
240
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
241
+ end
242
+ end
243
+ else # model
244
+ temp_model = ESIClient.const_get(type).new
245
+ temp_model.build_from_hash(value)
246
+ end
247
+ end
248
+
249
+ # Returns the string representation of the object
250
+ # @return [String] String presentation of the object
251
+ def to_s
252
+ to_hash.to_s
253
+ end
254
+
255
+ # to_body is an alias to to_hash (backward compatibility)
256
+ # @return [Hash] Returns the object in the form of hash
257
+ def to_body
258
+ to_hash
259
+ end
260
+
261
+ # Returns the object in the form of hash
262
+ # @return [Hash] Returns the object in the form of hash
263
+ def to_hash
264
+ hash = {}
265
+ self.class.attribute_map.each_pair do |attr, param|
266
+ value = self.send(attr)
267
+ next if value.nil?
268
+ hash[param] = _to_hash(value)
269
+ end
270
+ hash
271
+ end
272
+
273
+ # Outputs non-array value in the form of hash
274
+ # For object, use to_hash. Otherwise, just return the value
275
+ # @param [Object] value Any valid value
276
+ # @return [Hash] Returns the value in the form of hash
277
+ def _to_hash(value)
278
+ if value.is_a?(Array)
279
+ value.compact.map { |v| _to_hash(v) }
280
+ elsif value.is_a?(Hash)
281
+ {}.tap do |hash|
282
+ value.each { |k, v| hash[k] = _to_hash(v) }
283
+ end
284
+ elsif value.respond_to? :to_hash
285
+ value.to_hash
286
+ else
287
+ value
288
+ end
289
+ end
290
+ end
291
+ end
@@ -0,0 +1,220 @@
1
+ =begin
2
+ #EVE Swagger Interface
3
+
4
+ #An OpenAPI for EVE Online
5
+
6
+ OpenAPI spec version: 0.7.5
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module ESIClient
16
+ # Summary of victory points gained by the given character for the enlisted faction
17
+ class GetCharactersCharacterIdFwStatsVictoryPoints
18
+ # Yesterday's victory points gained by the given character
19
+ attr_accessor :yesterday
20
+
21
+ # Last week's victory points gained by the given character
22
+ attr_accessor :last_week
23
+
24
+ # Total victory points gained since the given character enlisted
25
+ attr_accessor :total
26
+
27
+ # Attribute mapping from ruby-style variable name to JSON key.
28
+ def self.attribute_map
29
+ {
30
+ :'yesterday' => :'yesterday',
31
+ :'last_week' => :'last_week',
32
+ :'total' => :'total'
33
+ }
34
+ end
35
+
36
+ # Attribute type mapping.
37
+ def self.swagger_types
38
+ {
39
+ :'yesterday' => :'Integer',
40
+ :'last_week' => :'Integer',
41
+ :'total' => :'Integer'
42
+ }
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ return unless attributes.is_a?(Hash)
49
+
50
+ # convert string to symbol for hash key
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
52
+
53
+ if attributes.has_key?(:'yesterday')
54
+ self.yesterday = attributes[:'yesterday']
55
+ end
56
+
57
+ if attributes.has_key?(:'last_week')
58
+ self.last_week = attributes[:'last_week']
59
+ end
60
+
61
+ if attributes.has_key?(:'total')
62
+ self.total = attributes[:'total']
63
+ end
64
+ end
65
+
66
+ # Show invalid properties with the reasons. Usually used together with valid?
67
+ # @return Array for valid properties with the reasons
68
+ def list_invalid_properties
69
+ invalid_properties = Array.new
70
+ if @yesterday.nil?
71
+ invalid_properties.push('invalid value for "yesterday", yesterday cannot be nil.')
72
+ end
73
+
74
+ if @last_week.nil?
75
+ invalid_properties.push('invalid value for "last_week", last_week cannot be nil.')
76
+ end
77
+
78
+ if @total.nil?
79
+ invalid_properties.push('invalid value for "total", total cannot be nil.')
80
+ end
81
+
82
+ invalid_properties
83
+ end
84
+
85
+ # Check to see if the all the properties in the model are valid
86
+ # @return true if the model is valid
87
+ def valid?
88
+ return false if @yesterday.nil?
89
+ return false if @last_week.nil?
90
+ return false if @total.nil?
91
+ true
92
+ end
93
+
94
+ # Checks equality by comparing each attribute.
95
+ # @param [Object] Object to be compared
96
+ def ==(o)
97
+ return true if self.equal?(o)
98
+ self.class == o.class &&
99
+ yesterday == o.yesterday &&
100
+ last_week == o.last_week &&
101
+ total == o.total
102
+ end
103
+
104
+ # @see the `==` method
105
+ # @param [Object] Object to be compared
106
+ def eql?(o)
107
+ self == o
108
+ end
109
+
110
+ # Calculates hash code according to all attributes.
111
+ # @return [Fixnum] Hash code
112
+ def hash
113
+ [yesterday, last_week, total].hash
114
+ end
115
+
116
+ # Builds the object from hash
117
+ # @param [Hash] attributes Model attributes in the form of hash
118
+ # @return [Object] Returns the model itself
119
+ def build_from_hash(attributes)
120
+ return nil unless attributes.is_a?(Hash)
121
+ self.class.swagger_types.each_pair do |key, type|
122
+ if type =~ /\AArray<(.*)>/i
123
+ # check to ensure the input is an array given that the the attribute
124
+ # is documented as an array but the input is not
125
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
126
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
127
+ end
128
+ elsif !attributes[self.class.attribute_map[key]].nil?
129
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
130
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
131
+ end
132
+
133
+ self
134
+ end
135
+
136
+ # Deserializes the data based on type
137
+ # @param string type Data type
138
+ # @param string value Value to be deserialized
139
+ # @return [Object] Deserialized data
140
+ def _deserialize(type, value)
141
+ case type.to_sym
142
+ when :DateTime
143
+ DateTime.parse(value)
144
+ when :Date
145
+ Date.parse(value)
146
+ when :String
147
+ value.to_s
148
+ when :Integer
149
+ value.to_i
150
+ when :Float
151
+ value.to_f
152
+ when :BOOLEAN
153
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
154
+ true
155
+ else
156
+ false
157
+ end
158
+ when :Object
159
+ # generic object (usually a Hash), return directly
160
+ value
161
+ when /\AArray<(?<inner_type>.+)>\z/
162
+ inner_type = Regexp.last_match[:inner_type]
163
+ value.map { |v| _deserialize(inner_type, v) }
164
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
165
+ k_type = Regexp.last_match[:k_type]
166
+ v_type = Regexp.last_match[:v_type]
167
+ {}.tap do |hash|
168
+ value.each do |k, v|
169
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
170
+ end
171
+ end
172
+ else # model
173
+ temp_model = ESIClient.const_get(type).new
174
+ temp_model.build_from_hash(value)
175
+ end
176
+ end
177
+
178
+ # Returns the string representation of the object
179
+ # @return [String] String presentation of the object
180
+ def to_s
181
+ to_hash.to_s
182
+ end
183
+
184
+ # to_body is an alias to to_hash (backward compatibility)
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_body
187
+ to_hash
188
+ end
189
+
190
+ # Returns the object in the form of hash
191
+ # @return [Hash] Returns the object in the form of hash
192
+ def to_hash
193
+ hash = {}
194
+ self.class.attribute_map.each_pair do |attr, param|
195
+ value = self.send(attr)
196
+ next if value.nil?
197
+ hash[param] = _to_hash(value)
198
+ end
199
+ hash
200
+ end
201
+
202
+ # Outputs non-array value in the form of hash
203
+ # For object, use to_hash. Otherwise, just return the value
204
+ # @param [Object] value Any valid value
205
+ # @return [Hash] Returns the value in the form of hash
206
+ def _to_hash(value)
207
+ if value.is_a?(Array)
208
+ value.compact.map { |v| _to_hash(v) }
209
+ elsif value.is_a?(Hash)
210
+ {}.tap do |hash|
211
+ value.each { |k, v| hash[k] = _to_hash(v) }
212
+ end
213
+ elsif value.respond_to? :to_hash
214
+ value.to_hash
215
+ else
216
+ value
217
+ end
218
+ end
219
+ end
220
+ end