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,254 @@
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 GetCorporationCorporationIdMiningObservers200Ok
18
+ # last_updated string
19
+ attr_accessor :last_updated
20
+
21
+ # The entity that was observing the asteroid field when it was mined.
22
+ attr_accessor :observer_id
23
+
24
+ # The category of the observing entity
25
+ attr_accessor :observer_type
26
+
27
+ class EnumAttributeValidator
28
+ attr_reader :datatype
29
+ attr_reader :allowable_values
30
+
31
+ def initialize(datatype, allowable_values)
32
+ @allowable_values = allowable_values.map do |value|
33
+ case datatype.to_s
34
+ when /Integer/i
35
+ value.to_i
36
+ when /Float/i
37
+ value.to_f
38
+ else
39
+ value
40
+ end
41
+ end
42
+ end
43
+
44
+ def valid?(value)
45
+ !value || allowable_values.include?(value)
46
+ end
47
+ end
48
+
49
+ # Attribute mapping from ruby-style variable name to JSON key.
50
+ def self.attribute_map
51
+ {
52
+ :'last_updated' => :'last_updated',
53
+ :'observer_id' => :'observer_id',
54
+ :'observer_type' => :'observer_type'
55
+ }
56
+ end
57
+
58
+ # Attribute type mapping.
59
+ def self.swagger_types
60
+ {
61
+ :'last_updated' => :'Date',
62
+ :'observer_id' => :'Integer',
63
+ :'observer_type' => :'String'
64
+ }
65
+ end
66
+
67
+ # Initializes the object
68
+ # @param [Hash] attributes Model attributes in the form of hash
69
+ def initialize(attributes = {})
70
+ return unless attributes.is_a?(Hash)
71
+
72
+ # convert string to symbol for hash key
73
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
74
+
75
+ if attributes.has_key?(:'last_updated')
76
+ self.last_updated = attributes[:'last_updated']
77
+ end
78
+
79
+ if attributes.has_key?(:'observer_id')
80
+ self.observer_id = attributes[:'observer_id']
81
+ end
82
+
83
+ if attributes.has_key?(:'observer_type')
84
+ self.observer_type = attributes[:'observer_type']
85
+ end
86
+ end
87
+
88
+ # Show invalid properties with the reasons. Usually used together with valid?
89
+ # @return Array for valid properties with the reasons
90
+ def list_invalid_properties
91
+ invalid_properties = Array.new
92
+ if @last_updated.nil?
93
+ invalid_properties.push('invalid value for "last_updated", last_updated cannot be nil.')
94
+ end
95
+
96
+ if @observer_id.nil?
97
+ invalid_properties.push('invalid value for "observer_id", observer_id cannot be nil.')
98
+ end
99
+
100
+ if @observer_type.nil?
101
+ invalid_properties.push('invalid value for "observer_type", observer_type cannot be nil.')
102
+ end
103
+
104
+ invalid_properties
105
+ end
106
+
107
+ # Check to see if the all the properties in the model are valid
108
+ # @return true if the model is valid
109
+ def valid?
110
+ return false if @last_updated.nil?
111
+ return false if @observer_id.nil?
112
+ return false if @observer_type.nil?
113
+ observer_type_validator = EnumAttributeValidator.new('String', ['structure'])
114
+ return false unless observer_type_validator.valid?(@observer_type)
115
+ true
116
+ end
117
+
118
+ # Custom attribute writer method checking allowed values (enum).
119
+ # @param [Object] observer_type Object to be assigned
120
+ def observer_type=(observer_type)
121
+ validator = EnumAttributeValidator.new('String', ['structure'])
122
+ unless validator.valid?(observer_type)
123
+ fail ArgumentError, 'invalid value for "observer_type", must be one of #{validator.allowable_values}.'
124
+ end
125
+ @observer_type = observer_type
126
+ end
127
+
128
+ # Checks equality by comparing each attribute.
129
+ # @param [Object] Object to be compared
130
+ def ==(o)
131
+ return true if self.equal?(o)
132
+ self.class == o.class &&
133
+ last_updated == o.last_updated &&
134
+ observer_id == o.observer_id &&
135
+ observer_type == o.observer_type
136
+ end
137
+
138
+ # @see the `==` method
139
+ # @param [Object] Object to be compared
140
+ def eql?(o)
141
+ self == o
142
+ end
143
+
144
+ # Calculates hash code according to all attributes.
145
+ # @return [Fixnum] Hash code
146
+ def hash
147
+ [last_updated, observer_id, observer_type].hash
148
+ end
149
+
150
+ # Builds the object from hash
151
+ # @param [Hash] attributes Model attributes in the form of hash
152
+ # @return [Object] Returns the model itself
153
+ def build_from_hash(attributes)
154
+ return nil unless attributes.is_a?(Hash)
155
+ self.class.swagger_types.each_pair do |key, type|
156
+ if type =~ /\AArray<(.*)>/i
157
+ # check to ensure the input is an array given that the the attribute
158
+ # is documented as an array but the input is not
159
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
160
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
161
+ end
162
+ elsif !attributes[self.class.attribute_map[key]].nil?
163
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
164
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
165
+ end
166
+
167
+ self
168
+ end
169
+
170
+ # Deserializes the data based on type
171
+ # @param string type Data type
172
+ # @param string value Value to be deserialized
173
+ # @return [Object] Deserialized data
174
+ def _deserialize(type, value)
175
+ case type.to_sym
176
+ when :DateTime
177
+ DateTime.parse(value)
178
+ when :Date
179
+ Date.parse(value)
180
+ when :String
181
+ value.to_s
182
+ when :Integer
183
+ value.to_i
184
+ when :Float
185
+ value.to_f
186
+ when :BOOLEAN
187
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
188
+ true
189
+ else
190
+ false
191
+ end
192
+ when :Object
193
+ # generic object (usually a Hash), return directly
194
+ value
195
+ when /\AArray<(?<inner_type>.+)>\z/
196
+ inner_type = Regexp.last_match[:inner_type]
197
+ value.map { |v| _deserialize(inner_type, v) }
198
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
199
+ k_type = Regexp.last_match[:k_type]
200
+ v_type = Regexp.last_match[:v_type]
201
+ {}.tap do |hash|
202
+ value.each do |k, v|
203
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
204
+ end
205
+ end
206
+ else # model
207
+ temp_model = ESIClient.const_get(type).new
208
+ temp_model.build_from_hash(value)
209
+ end
210
+ end
211
+
212
+ # Returns the string representation of the object
213
+ # @return [String] String presentation of the object
214
+ def to_s
215
+ to_hash.to_s
216
+ end
217
+
218
+ # to_body is an alias to to_hash (backward compatibility)
219
+ # @return [Hash] Returns the object in the form of hash
220
+ def to_body
221
+ to_hash
222
+ end
223
+
224
+ # Returns the object in the form of hash
225
+ # @return [Hash] Returns the object in the form of hash
226
+ def to_hash
227
+ hash = {}
228
+ self.class.attribute_map.each_pair do |attr, param|
229
+ value = self.send(attr)
230
+ next if value.nil?
231
+ hash[param] = _to_hash(value)
232
+ end
233
+ hash
234
+ end
235
+
236
+ # Outputs non-array value in the form of hash
237
+ # For object, use to_hash. Otherwise, just return the value
238
+ # @param [Object] value Any valid value
239
+ # @return [Hash] Returns the value in the form of hash
240
+ def _to_hash(value)
241
+ if value.is_a?(Array)
242
+ value.compact.map { |v| _to_hash(v) }
243
+ elsif value.is_a?(Hash)
244
+ {}.tap do |hash|
245
+ value.each { |k, v| hash[k] = _to_hash(v) }
246
+ end
247
+ elsif value.respond_to? :to_hash
248
+ value.to_hash
249
+ else
250
+ value
251
+ end
252
+ end
253
+ end
254
+ end
@@ -0,0 +1,250 @@
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 GetCorporationCorporationIdMiningObserversObserverId200Ok
18
+ # last_updated string
19
+ attr_accessor :last_updated
20
+
21
+ # The character that did the mining
22
+ attr_accessor :character_id
23
+
24
+ # The corporation id of the character at the time data was recorded.
25
+ attr_accessor :recorded_corporation_id
26
+
27
+ # type_id integer
28
+ attr_accessor :type_id
29
+
30
+ # quantity integer
31
+ attr_accessor :quantity
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ def self.attribute_map
35
+ {
36
+ :'last_updated' => :'last_updated',
37
+ :'character_id' => :'character_id',
38
+ :'recorded_corporation_id' => :'recorded_corporation_id',
39
+ :'type_id' => :'type_id',
40
+ :'quantity' => :'quantity'
41
+ }
42
+ end
43
+
44
+ # Attribute type mapping.
45
+ def self.swagger_types
46
+ {
47
+ :'last_updated' => :'Date',
48
+ :'character_id' => :'Integer',
49
+ :'recorded_corporation_id' => :'Integer',
50
+ :'type_id' => :'Integer',
51
+ :'quantity' => :'Integer'
52
+ }
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ return unless attributes.is_a?(Hash)
59
+
60
+ # convert string to symbol for hash key
61
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
62
+
63
+ if attributes.has_key?(:'last_updated')
64
+ self.last_updated = attributes[:'last_updated']
65
+ end
66
+
67
+ if attributes.has_key?(:'character_id')
68
+ self.character_id = attributes[:'character_id']
69
+ end
70
+
71
+ if attributes.has_key?(:'recorded_corporation_id')
72
+ self.recorded_corporation_id = attributes[:'recorded_corporation_id']
73
+ end
74
+
75
+ if attributes.has_key?(:'type_id')
76
+ self.type_id = attributes[:'type_id']
77
+ end
78
+
79
+ if attributes.has_key?(:'quantity')
80
+ self.quantity = attributes[:'quantity']
81
+ end
82
+ end
83
+
84
+ # Show invalid properties with the reasons. Usually used together with valid?
85
+ # @return Array for valid properties with the reasons
86
+ def list_invalid_properties
87
+ invalid_properties = Array.new
88
+ if @last_updated.nil?
89
+ invalid_properties.push('invalid value for "last_updated", last_updated cannot be nil.')
90
+ end
91
+
92
+ if @character_id.nil?
93
+ invalid_properties.push('invalid value for "character_id", character_id cannot be nil.')
94
+ end
95
+
96
+ if @recorded_corporation_id.nil?
97
+ invalid_properties.push('invalid value for "recorded_corporation_id", recorded_corporation_id cannot be nil.')
98
+ end
99
+
100
+ if @type_id.nil?
101
+ invalid_properties.push('invalid value for "type_id", type_id cannot be nil.')
102
+ end
103
+
104
+ if @quantity.nil?
105
+ invalid_properties.push('invalid value for "quantity", quantity cannot be nil.')
106
+ end
107
+
108
+ invalid_properties
109
+ end
110
+
111
+ # Check to see if the all the properties in the model are valid
112
+ # @return true if the model is valid
113
+ def valid?
114
+ return false if @last_updated.nil?
115
+ return false if @character_id.nil?
116
+ return false if @recorded_corporation_id.nil?
117
+ return false if @type_id.nil?
118
+ return false if @quantity.nil?
119
+ true
120
+ end
121
+
122
+ # Checks equality by comparing each attribute.
123
+ # @param [Object] Object to be compared
124
+ def ==(o)
125
+ return true if self.equal?(o)
126
+ self.class == o.class &&
127
+ last_updated == o.last_updated &&
128
+ character_id == o.character_id &&
129
+ recorded_corporation_id == o.recorded_corporation_id &&
130
+ type_id == o.type_id &&
131
+ quantity == o.quantity
132
+ end
133
+
134
+ # @see the `==` method
135
+ # @param [Object] Object to be compared
136
+ def eql?(o)
137
+ self == o
138
+ end
139
+
140
+ # Calculates hash code according to all attributes.
141
+ # @return [Fixnum] Hash code
142
+ def hash
143
+ [last_updated, character_id, recorded_corporation_id, type_id, quantity].hash
144
+ end
145
+
146
+ # Builds the object from hash
147
+ # @param [Hash] attributes Model attributes in the form of hash
148
+ # @return [Object] Returns the model itself
149
+ def build_from_hash(attributes)
150
+ return nil unless attributes.is_a?(Hash)
151
+ self.class.swagger_types.each_pair do |key, type|
152
+ if type =~ /\AArray<(.*)>/i
153
+ # check to ensure the input is an array given that the the attribute
154
+ # is documented as an array but the input is not
155
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
156
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
157
+ end
158
+ elsif !attributes[self.class.attribute_map[key]].nil?
159
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
160
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
161
+ end
162
+
163
+ self
164
+ end
165
+
166
+ # Deserializes the data based on type
167
+ # @param string type Data type
168
+ # @param string value Value to be deserialized
169
+ # @return [Object] Deserialized data
170
+ def _deserialize(type, value)
171
+ case type.to_sym
172
+ when :DateTime
173
+ DateTime.parse(value)
174
+ when :Date
175
+ Date.parse(value)
176
+ when :String
177
+ value.to_s
178
+ when :Integer
179
+ value.to_i
180
+ when :Float
181
+ value.to_f
182
+ when :BOOLEAN
183
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
184
+ true
185
+ else
186
+ false
187
+ end
188
+ when :Object
189
+ # generic object (usually a Hash), return directly
190
+ value
191
+ when /\AArray<(?<inner_type>.+)>\z/
192
+ inner_type = Regexp.last_match[:inner_type]
193
+ value.map { |v| _deserialize(inner_type, v) }
194
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
195
+ k_type = Regexp.last_match[:k_type]
196
+ v_type = Regexp.last_match[:v_type]
197
+ {}.tap do |hash|
198
+ value.each do |k, v|
199
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
200
+ end
201
+ end
202
+ else # model
203
+ temp_model = ESIClient.const_get(type).new
204
+ temp_model.build_from_hash(value)
205
+ end
206
+ end
207
+
208
+ # Returns the string representation of the object
209
+ # @return [String] String presentation of the object
210
+ def to_s
211
+ to_hash.to_s
212
+ end
213
+
214
+ # to_body is an alias to to_hash (backward compatibility)
215
+ # @return [Hash] Returns the object in the form of hash
216
+ def to_body
217
+ to_hash
218
+ end
219
+
220
+ # Returns the object in the form of hash
221
+ # @return [Hash] Returns the object in the form of hash
222
+ def to_hash
223
+ hash = {}
224
+ self.class.attribute_map.each_pair do |attr, param|
225
+ value = self.send(attr)
226
+ next if value.nil?
227
+ hash[param] = _to_hash(value)
228
+ end
229
+ hash
230
+ end
231
+
232
+ # Outputs non-array value in the form of hash
233
+ # For object, use to_hash. Otherwise, just return the value
234
+ # @param [Object] value Any valid value
235
+ # @return [Hash] Returns the value in the form of hash
236
+ def _to_hash(value)
237
+ if value.is_a?(Array)
238
+ value.compact.map { |v| _to_hash(v) }
239
+ elsif value.is_a?(Hash)
240
+ {}.tap do |hash|
241
+ value.each { |k, v| hash[k] = _to_hash(v) }
242
+ end
243
+ elsif value.respond_to? :to_hash
244
+ value.to_hash
245
+ else
246
+ value
247
+ end
248
+ end
249
+ end
250
+ end