esi_client 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (533) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +157 -232
  3. data/docs/AllianceApi.md +3 -3
  4. data/docs/AssetsApi.md +336 -5
  5. data/docs/BookmarksApi.md +135 -5
  6. data/docs/CalendarApi.md +84 -18
  7. data/docs/CharacterApi.md +225 -34
  8. data/docs/ClonesApi.md +66 -3
  9. data/docs/ContactsApi.md +94 -29
  10. data/docs/ContractsApi.md +400 -0
  11. data/docs/CorporationApi.md +536 -24
  12. data/docs/DogmaApi.md +2 -2
  13. data/docs/FactionWarfareApi.md +326 -0
  14. data/docs/FittingsApi.md +15 -15
  15. data/docs/FleetsApi.md +91 -28
  16. data/docs/Forbidden.md +9 -0
  17. data/docs/GetCharactersCharacterIdAttributesOk.md +15 -0
  18. data/docs/GetCharactersCharacterIdBlueprints200Ok.md +6 -6
  19. data/docs/GetCharactersCharacterIdCalendarEventIdAttendees200Ok.md +9 -0
  20. data/docs/GetCharactersCharacterIdChatChannels200Ok.md +1 -1
  21. data/docs/GetCharactersCharacterIdContracts200Ok.md +29 -0
  22. data/docs/GetCharactersCharacterIdContractsContractIdBids200Ok.md +11 -0
  23. data/docs/GetCharactersCharacterIdContractsContractIdItems200Ok.md +13 -0
  24. data/docs/GetCharactersCharacterIdCorporationhistory200Ok.md +3 -3
  25. data/docs/GetCharactersCharacterIdFatigueOk.md +10 -0
  26. data/docs/GetCharactersCharacterIdFleetNotFound.md +8 -0
  27. data/docs/GetCharactersCharacterIdFleetOk.md +11 -0
  28. data/docs/GetCharactersCharacterIdNotifications200Ok.md +14 -0
  29. data/docs/GetCharactersCharacterIdNotificationsContacts200Ok.md +12 -0
  30. data/docs/GetCharactersCharacterIdPlanetsPlanetIdContent.md +9 -0
  31. data/docs/GetCharactersCharacterIdPlanetsPlanetIdPin.md +1 -0
  32. data/docs/GetCharactersCharacterIdPlanetsPlanetIdRoute.md +1 -1
  33. data/docs/GetCharactersCharacterIdWalletJournal200Ok.md +20 -0
  34. data/docs/GetCharactersCharacterIdWalletJournalExtraInfo.md +19 -0
  35. data/docs/GetCharactersCharacterIdWalletTransactions200Ok.md +17 -0
  36. data/docs/GetCorporationsCorporationIdAlliancehistory200Ok.md +2 -1
  37. data/docs/GetCorporationsCorporationIdAssets200Ok.md +14 -0
  38. data/docs/GetCorporationsCorporationIdBlueprints200Ok.md +15 -0
  39. data/docs/GetCorporationsCorporationIdBookmarks200Ok.md +16 -0
  40. data/docs/GetCorporationsCorporationIdBookmarksCoordinates.md +10 -0
  41. data/docs/GetCorporationsCorporationIdBookmarksFolders200Ok.md +10 -0
  42. data/docs/GetCorporationsCorporationIdBookmarksItem.md +9 -0
  43. data/docs/GetCorporationsCorporationIdContacts200Ok.md +12 -0
  44. data/docs/GetCorporationsCorporationIdContainersLogs200Ok.md +19 -0
  45. data/docs/GetCorporationsCorporationIdContracts200Ok.md +29 -0
  46. data/docs/GetCorporationsCorporationIdContractsContractIdBids200Ok.md +11 -0
  47. data/docs/GetCorporationsCorporationIdContractsContractIdItems200Ok.md +13 -0
  48. data/docs/GetCorporationsCorporationIdDivisionsHangar.md +9 -0
  49. data/docs/GetCorporationsCorporationIdDivisionsOk.md +9 -0
  50. data/docs/GetCorporationsCorporationIdDivisionsWallet.md +9 -0
  51. data/docs/GetCorporationsCorporationIdIndustryJobs200Ok.md +29 -0
  52. data/docs/GetCorporationsCorporationIdKillmailsRecent200Ok.md +9 -0
  53. data/docs/GetCorporationsCorporationIdMembertracking200Ok.md +14 -0
  54. data/docs/GetCorporationsCorporationIdOrders200Ok.md +22 -0
  55. data/docs/GetCorporationsCorporationIdShareholders200Ok.md +10 -0
  56. data/docs/GetCorporationsCorporationIdStandings200Ok.md +10 -0
  57. data/docs/GetCorporationsCorporationIdTitles200Ok.md +17 -0
  58. data/docs/GetCorporationsCorporationIdWallets200Ok.md +9 -0
  59. data/docs/GetCorporationsCorporationIdWalletsDivisionJournal200Ok.md +20 -0
  60. data/docs/GetCorporationsCorporationIdWalletsDivisionJournalExtraInfo.md +19 -0
  61. data/docs/GetCorporationsCorporationIdWalletsDivisionTransactions200Ok.md +16 -0
  62. data/docs/GetDogmaEffectsEffectIdModifier.md +5 -4
  63. data/docs/GetFwLeaderboardsActiveTotal.md +9 -0
  64. data/docs/GetFwLeaderboardsActiveTotal1.md +9 -0
  65. data/docs/GetFwLeaderboardsCharactersActiveTotal.md +9 -0
  66. data/docs/GetFwLeaderboardsCharactersActiveTotal1.md +9 -0
  67. data/docs/GetFwLeaderboardsCharactersKills.md +10 -0
  68. data/docs/GetFwLeaderboardsCharactersLastWeek.md +9 -0
  69. data/docs/GetFwLeaderboardsCharactersLastWeek1.md +9 -0
  70. data/docs/GetFwLeaderboardsCharactersOk.md +9 -0
  71. data/docs/GetFwLeaderboardsCharactersVictoryPoints.md +10 -0
  72. data/docs/GetFwLeaderboardsCharactersYesterday.md +9 -0
  73. data/docs/GetFwLeaderboardsCharactersYesterday1.md +9 -0
  74. data/docs/GetFwLeaderboardsCorporationsActiveTotal.md +9 -0
  75. data/docs/GetFwLeaderboardsCorporationsActiveTotal1.md +9 -0
  76. data/docs/GetFwLeaderboardsCorporationsKills.md +10 -0
  77. data/docs/GetFwLeaderboardsCorporationsLastWeek.md +9 -0
  78. data/docs/GetFwLeaderboardsCorporationsLastWeek1.md +9 -0
  79. data/docs/GetFwLeaderboardsCorporationsOk.md +9 -0
  80. data/docs/GetFwLeaderboardsCorporationsVictoryPoints.md +10 -0
  81. data/docs/GetFwLeaderboardsCorporationsYesterday.md +9 -0
  82. data/docs/GetFwLeaderboardsCorporationsYesterday1.md +9 -0
  83. data/docs/GetFwLeaderboardsKills.md +10 -0
  84. data/docs/GetFwLeaderboardsLastWeek.md +9 -0
  85. data/docs/GetFwLeaderboardsLastWeek1.md +9 -0
  86. data/docs/GetFwLeaderboardsOk.md +9 -0
  87. data/docs/GetFwLeaderboardsVictoryPoints.md +10 -0
  88. data/docs/GetFwLeaderboardsYesterday.md +9 -0
  89. data/docs/GetFwLeaderboardsYesterday1.md +9 -0
  90. data/docs/GetFwStats200Ok.md +12 -0
  91. data/docs/GetFwStatsKills.md +10 -0
  92. data/docs/GetFwStatsVictoryPoints.md +10 -0
  93. data/docs/GetFwSystems200Ok.md +13 -0
  94. data/docs/GetFwWars200Ok.md +9 -0
  95. data/docs/GetUniverseStarsStarIdOk.md +15 -0
  96. data/docs/GetUniverseSystemKills200Ok.md +1 -1
  97. data/docs/GetUniverseSystemsSystemIdOk.md +3 -1
  98. data/docs/GetUniverseTypesTypeIdOk.md +2 -0
  99. data/docs/IncursionsApi.md +1 -1
  100. data/docs/IndustryApi.md +70 -3
  101. data/docs/InsuranceApi.md +1 -1
  102. data/docs/InternalServerError.md +8 -0
  103. data/docs/KillmailsApi.md +71 -6
  104. data/docs/LocationApi.md +7 -7
  105. data/docs/LoyaltyApi.md +8 -8
  106. data/docs/MailApi.md +31 -31
  107. data/docs/MarketApi.md +134 -11
  108. data/docs/OpportunitiesApi.md +5 -5
  109. data/docs/PlanetaryInteractionApi.md +12 -12
  110. data/docs/PostCharactersAffiliationNotFound.md +8 -0
  111. data/docs/PostCharactersCharacterIdAssetsLocations200Ok.md +11 -0
  112. data/docs/PostCharactersCharacterIdAssetsNames200Ok.md +9 -0
  113. data/docs/PostCharactersCharacterIdMailLabelsLabel.md +1 -1
  114. data/docs/PostCorporationsCorporationIdAssetsLocations200Ok.md +11 -0
  115. data/docs/PostCorporationsCorporationIdAssetsNames200Ok.md +9 -0
  116. data/docs/PostFleetsFleetIdMembersInvitation.md +1 -1
  117. data/docs/PutFleetsFleetIdMembersMemberIdMovement.md +1 -1
  118. data/docs/RoutesApi.md +1 -1
  119. data/docs/SearchApi.md +9 -9
  120. data/docs/SkillsApi.md +70 -7
  121. data/docs/SovereigntyApi.md +1 -1
  122. data/docs/StatusApi.md +1 -1
  123. data/docs/UniverseApi.md +66 -10
  124. data/docs/UserInterfaceApi.md +11 -11
  125. data/docs/WalletApi.md +341 -12
  126. data/docs/WarsApi.md +3 -3
  127. data/esi_client-1.2.0.gem +0 -0
  128. data/lib/esi_client.rb +83 -212
  129. data/lib/esi_client/api/alliance_api.rb +28 -19
  130. data/lib/esi_client/api/assets_api.rb +381 -8
  131. data/lib/esi_client/api/bookmarks_api.rb +158 -11
  132. data/lib/esi_client/api/calendar_api.rb +114 -27
  133. data/lib/esi_client/api/character_api.rb +306 -72
  134. data/lib/esi_client/api/clones_api.rb +77 -6
  135. data/lib/esi_client/api/contacts_api.rb +139 -51
  136. data/lib/esi_client/api/contracts_api.rb +458 -0
  137. data/lib/esi_client/api/corporation_api.rb +629 -56
  138. data/lib/esi_client/api/dogma_api.rb +16 -11
  139. data/lib/esi_client/api/faction_warfare_api.rb +377 -0
  140. data/lib/esi_client/api/fittings_api.rb +32 -23
  141. data/lib/esi_client/api/fleets_api.rb +201 -82
  142. data/lib/esi_client/api/incursions_api.rb +4 -3
  143. data/lib/esi_client/api/industry_api.rb +87 -10
  144. data/lib/esi_client/api/insurance_api.rb +5 -4
  145. data/lib/esi_client/api/killmails_api.rb +91 -13
  146. data/lib/esi_client/api/location_api.rb +23 -16
  147. data/lib/esi_client/api/loyalty_api.rb +20 -15
  148. data/lib/esi_client/api/mail_api.rb +87 -56
  149. data/lib/esi_client/api/market_api.rb +188 -34
  150. data/lib/esi_client/api/opportunities_api.rb +26 -19
  151. data/lib/esi_client/api/planetary_interaction_api.rb +28 -19
  152. data/lib/esi_client/api/routes_api.rb +13 -8
  153. data/lib/esi_client/api/search_api.rb +37 -26
  154. data/lib/esi_client/api/skills_api.rb +86 -13
  155. data/lib/esi_client/api/sovereignty_api.rb +8 -7
  156. data/lib/esi_client/api/status_api.rb +4 -3
  157. data/lib/esi_client/api/universe_api.rb +173 -89
  158. data/lib/esi_client/api/user_interface_api.rb +43 -28
  159. data/lib/esi_client/api/wallet_api.rb +401 -18
  160. data/lib/esi_client/api/wars_api.rb +16 -11
  161. data/lib/esi_client/api_client.rb +40 -27
  162. data/lib/esi_client/api_error.rb +2 -1
  163. data/lib/esi_client/configuration.rb +9 -2
  164. data/lib/esi_client/models/delete_characters_character_id_mail_labels_label_id_unprocessable_entity.rb +2 -1
  165. data/lib/esi_client/models/delete_fleets_fleet_id_members_member_id_not_found.rb +2 -1
  166. data/lib/esi_client/models/delete_fleets_fleet_id_squads_squad_id_not_found.rb +2 -1
  167. data/lib/esi_client/models/delete_fleets_fleet_id_wings_wing_id_not_found.rb +2 -1
  168. data/lib/esi_client/models/forbidden.rb +204 -0
  169. data/lib/esi_client/models/get_alliances_alliance_id_icons_not_found.rb +2 -1
  170. data/lib/esi_client/models/get_alliances_alliance_id_icons_ok.rb +2 -1
  171. data/lib/esi_client/models/get_alliances_alliance_id_not_found.rb +2 -1
  172. data/lib/esi_client/models/get_alliances_alliance_id_ok.rb +2 -1
  173. data/lib/esi_client/models/get_alliances_names_200_ok.rb +2 -1
  174. data/lib/esi_client/models/get_characters_character_id_agents_research_200_ok.rb +2 -1
  175. data/lib/esi_client/models/get_characters_character_id_assets_200_ok.rb +4 -3
  176. data/lib/esi_client/models/get_characters_character_id_attributes_ok.rb +284 -0
  177. data/lib/esi_client/models/get_characters_character_id_blueprints_200_ok.rb +102 -7
  178. data/lib/esi_client/models/get_characters_character_id_bookmarks_200_ok.rb +2 -1
  179. data/lib/esi_client/models/get_characters_character_id_bookmarks_coordinates.rb +2 -1
  180. data/lib/esi_client/models/get_characters_character_id_bookmarks_folders_200_ok.rb +2 -1
  181. data/lib/esi_client/models/get_characters_character_id_bookmarks_item.rb +2 -1
  182. data/lib/esi_client/models/get_characters_character_id_bookmarks_target.rb +2 -1
  183. data/lib/esi_client/models/get_characters_character_id_calendar_200_ok.rb +2 -1
  184. data/lib/esi_client/models/get_characters_character_id_calendar_event_id_attendees_200_ok.rb +232 -0
  185. data/lib/esi_client/models/get_characters_character_id_calendar_event_id_ok.rb +2 -1
  186. data/lib/esi_client/models/get_characters_character_id_chat_channels_200_ok.rb +3 -2
  187. data/lib/esi_client/models/get_characters_character_id_chat_channels_allowed.rb +2 -1
  188. data/lib/esi_client/models/get_characters_character_id_chat_channels_blocked.rb +2 -1
  189. data/lib/esi_client/models/get_characters_character_id_chat_channels_muted.rb +2 -1
  190. data/lib/esi_client/models/get_characters_character_id_chat_channels_operator.rb +2 -1
  191. data/lib/esi_client/models/get_characters_character_id_clones_home_location.rb +2 -1
  192. data/lib/esi_client/models/get_characters_character_id_clones_jump_clone.rb +2 -1
  193. data/lib/esi_client/models/get_characters_character_id_clones_ok.rb +2 -1
  194. data/lib/esi_client/models/get_characters_character_id_contacts_200_ok.rb +2 -1
  195. data/lib/esi_client/models/get_characters_character_id_contacts_labels_200_ok.rb +2 -1
  196. data/lib/esi_client/models/get_characters_character_id_contracts_200_ok.rb +511 -0
  197. data/lib/esi_client/models/get_characters_character_id_contracts_contract_id_bids_200_ok.rb +239 -0
  198. data/lib/esi_client/models/get_characters_character_id_contracts_contract_id_items_200_ok.rb +264 -0
  199. data/lib/esi_client/models/get_characters_character_id_corporationhistory_200_ok.rb +17 -1
  200. data/lib/esi_client/models/get_characters_character_id_fatigue_ok.rb +209 -0
  201. data/lib/esi_client/models/get_characters_character_id_fittings_200_ok.rb +2 -1
  202. data/lib/esi_client/models/get_characters_character_id_fittings_item.rb +2 -1
  203. data/lib/esi_client/models/get_characters_character_id_fleet_not_found.rb +189 -0
  204. data/lib/esi_client/models/get_characters_character_id_fleet_ok.rb +272 -0
  205. data/lib/esi_client/models/get_characters_character_id_industry_jobs_200_ok.rb +2 -1
  206. data/lib/esi_client/models/get_characters_character_id_killmails_recent_200_ok.rb +2 -1
  207. data/lib/esi_client/models/get_characters_character_id_location_ok.rb +2 -1
  208. data/lib/esi_client/models/get_characters_character_id_loyalty_points_200_ok.rb +2 -1
  209. data/lib/esi_client/models/get_characters_character_id_mail_200_ok.rb +2 -1
  210. data/lib/esi_client/models/get_characters_character_id_mail_labels_label.rb +4 -3
  211. data/lib/esi_client/models/get_characters_character_id_mail_labels_ok.rb +2 -1
  212. data/lib/esi_client/models/get_characters_character_id_mail_lists_200_ok.rb +2 -1
  213. data/lib/esi_client/models/get_characters_character_id_mail_mail_id_not_found.rb +2 -1
  214. data/lib/esi_client/models/get_characters_character_id_mail_mail_id_ok.rb +2 -1
  215. data/lib/esi_client/models/get_characters_character_id_mail_mail_id_recipient.rb +2 -1
  216. data/lib/esi_client/models/get_characters_character_id_mail_recipient.rb +2 -1
  217. data/lib/esi_client/models/get_characters_character_id_medals_200_ok.rb +2 -1
  218. data/lib/esi_client/models/get_characters_character_id_medals_graphic.rb +2 -1
  219. data/lib/esi_client/models/get_characters_character_id_not_found.rb +2 -1
  220. data/lib/esi_client/models/get_characters_character_id_notifications_200_ok.rb +319 -0
  221. data/lib/esi_client/models/get_characters_character_id_notifications_contacts_200_ok.rb +254 -0
  222. data/lib/esi_client/models/get_characters_character_id_ok.rb +2 -1
  223. data/lib/esi_client/models/get_characters_character_id_opportunities_200_ok.rb +2 -1
  224. data/lib/esi_client/models/get_characters_character_id_orders_200_ok.rb +6 -5
  225. data/lib/esi_client/models/get_characters_character_id_planets_200_ok.rb +2 -1
  226. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_content.rb +209 -0
  227. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_extractor_details.rb +2 -1
  228. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_factory_details.rb +2 -1
  229. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_head.rb +2 -1
  230. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_link.rb +2 -1
  231. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_not_found.rb +2 -1
  232. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_ok.rb +2 -1
  233. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_pin.rb +15 -2
  234. data/lib/esi_client/models/get_characters_character_id_planets_planet_id_route.rb +4 -3
  235. data/lib/esi_client/models/get_characters_character_id_portrait_not_found.rb +2 -1
  236. data/lib/esi_client/models/get_characters_character_id_portrait_ok.rb +2 -1
  237. data/lib/esi_client/models/get_characters_character_id_search_ok.rb +2 -1
  238. data/lib/esi_client/models/get_characters_character_id_ship_ok.rb +2 -1
  239. data/lib/esi_client/models/get_characters_character_id_skillqueue_200_ok.rb +2 -1
  240. data/lib/esi_client/models/get_characters_character_id_skills_ok.rb +2 -1
  241. data/lib/esi_client/models/get_characters_character_id_skills_skill.rb +2 -1
  242. data/lib/esi_client/models/get_characters_character_id_standings_200_ok.rb +2 -1
  243. data/lib/esi_client/models/get_characters_character_id_wallet_journal_200_ok.rb +380 -0
  244. data/lib/esi_client/models/get_characters_character_id_wallet_journal_extra_info.rb +299 -0
  245. data/lib/esi_client/models/get_characters_character_id_wallet_transactions_200_ok.rb +329 -0
  246. data/lib/esi_client/models/get_characters_names_200_ok.rb +2 -1
  247. data/lib/esi_client/models/get_corporations_corporation_id_alliancehistory_200_ok.rb +20 -8
  248. data/lib/esi_client/models/get_corporations_corporation_id_assets_200_ok.rb +324 -0
  249. data/lib/esi_client/models/get_corporations_corporation_id_blueprints_200_ok.rb +426 -0
  250. data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_200_ok.rb +297 -0
  251. data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_coordinates.rb +224 -0
  252. data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_folders_200_ok.rb +219 -0
  253. data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_item.rb +209 -0
  254. data/lib/esi_client/models/get_corporations_corporation_id_contacts_200_ok.rb +277 -0
  255. data/lib/esi_client/models/get_corporations_corporation_id_containers_logs_200_ok.rb +391 -0
  256. data/lib/esi_client/models/get_corporations_corporation_id_contracts_200_ok.rb +511 -0
  257. data/lib/esi_client/models/get_corporations_corporation_id_contracts_contract_id_bids_200_ok.rb +239 -0
  258. data/lib/esi_client/models/get_corporations_corporation_id_contracts_contract_id_items_200_ok.rb +264 -0
  259. data/lib/esi_client/models/get_corporations_corporation_id_divisions_hangar.rb +240 -0
  260. data/lib/esi_client/models/get_corporations_corporation_id_divisions_ok.rb +203 -0
  261. data/lib/esi_client/models/get_corporations_corporation_id_divisions_wallet.rb +240 -0
  262. data/lib/esi_client/models/get_corporations_corporation_id_icons_not_found.rb +2 -1
  263. data/lib/esi_client/models/get_corporations_corporation_id_icons_ok.rb +2 -1
  264. data/lib/esi_client/models/get_corporations_corporation_id_industry_jobs_200_ok.rb +502 -0
  265. data/lib/esi_client/models/get_corporations_corporation_id_killmails_recent_200_ok.rb +209 -0
  266. data/lib/esi_client/models/get_corporations_corporation_id_members_200_ok.rb +2 -1
  267. data/lib/esi_client/models/get_corporations_corporation_id_membertracking_200_ok.rb +254 -0
  268. data/lib/esi_client/models/get_corporations_corporation_id_not_found.rb +2 -1
  269. data/lib/esi_client/models/get_corporations_corporation_id_ok.rb +2 -1
  270. data/lib/esi_client/models/get_corporations_corporation_id_orders_200_ok.rb +477 -0
  271. data/lib/esi_client/models/get_corporations_corporation_id_roles_200_ok.rb +2 -1
  272. data/lib/esi_client/models/get_corporations_corporation_id_shareholders_200_ok.rb +257 -0
  273. data/lib/esi_client/models/get_corporations_corporation_id_standings_200_ok.rb +285 -0
  274. data/lib/esi_client/models/get_corporations_corporation_id_structures_200_ok.rb +2 -1
  275. data/lib/esi_client/models/get_corporations_corporation_id_structures_current_vul.rb +2 -1
  276. data/lib/esi_client/models/get_corporations_corporation_id_structures_next_vul.rb +2 -1
  277. data/lib/esi_client/models/get_corporations_corporation_id_structures_service.rb +2 -1
  278. data/lib/esi_client/models/get_corporations_corporation_id_titles_200_ok.rb +316 -0
  279. data/lib/esi_client/models/get_corporations_corporation_id_wallets_200_ok.rb +237 -0
  280. data/lib/esi_client/models/get_corporations_corporation_id_wallets_division_journal_200_ok.rb +380 -0
  281. data/lib/esi_client/models/get_corporations_corporation_id_wallets_division_journal_extra_info.rb +299 -0
  282. data/lib/esi_client/models/get_corporations_corporation_id_wallets_division_transactions_200_ok.rb +314 -0
  283. data/lib/esi_client/models/get_corporations_names_200_ok.rb +2 -1
  284. data/lib/esi_client/models/get_dogma_attributes_attribute_id_not_found.rb +2 -1
  285. data/lib/esi_client/models/get_dogma_attributes_attribute_id_ok.rb +2 -1
  286. data/lib/esi_client/models/get_dogma_effects_effect_id_modifier.rb +13 -22
  287. data/lib/esi_client/models/get_dogma_effects_effect_id_not_found.rb +2 -1
  288. data/lib/esi_client/models/get_dogma_effects_effect_id_ok.rb +2 -1
  289. data/lib/esi_client/models/get_fleets_fleet_id_members_200_ok.rb +2 -1
  290. data/lib/esi_client/models/get_fleets_fleet_id_members_not_found.rb +2 -1
  291. data/lib/esi_client/models/get_fleets_fleet_id_not_found.rb +2 -1
  292. data/lib/esi_client/models/get_fleets_fleet_id_ok.rb +2 -1
  293. data/lib/esi_client/models/get_fleets_fleet_id_wings_200_ok.rb +2 -1
  294. data/lib/esi_client/models/get_fleets_fleet_id_wings_not_found.rb +2 -1
  295. data/lib/esi_client/models/get_fleets_fleet_id_wings_squad.rb +2 -1
  296. data/lib/esi_client/models/get_fw_leaderboards_active_total.rb +199 -0
  297. data/lib/esi_client/models/get_fw_leaderboards_active_total_1.rb +199 -0
  298. data/lib/esi_client/models/get_fw_leaderboards_characters_active_total.rb +199 -0
  299. data/lib/esi_client/models/get_fw_leaderboards_characters_active_total_1.rb +199 -0
  300. data/lib/esi_client/models/get_fw_leaderboards_characters_kills.rb +230 -0
  301. data/lib/esi_client/models/get_fw_leaderboards_characters_last_week.rb +199 -0
  302. data/lib/esi_client/models/get_fw_leaderboards_characters_last_week_1.rb +199 -0
  303. data/lib/esi_client/models/get_fw_leaderboards_characters_ok.rb +197 -0
  304. data/lib/esi_client/models/get_fw_leaderboards_characters_victory_points.rb +230 -0
  305. data/lib/esi_client/models/get_fw_leaderboards_characters_yesterday.rb +199 -0
  306. data/lib/esi_client/models/get_fw_leaderboards_characters_yesterday_1.rb +199 -0
  307. data/lib/esi_client/models/get_fw_leaderboards_corporations_active_total.rb +199 -0
  308. data/lib/esi_client/models/get_fw_leaderboards_corporations_active_total_1.rb +199 -0
  309. data/lib/esi_client/models/get_fw_leaderboards_corporations_kills.rb +230 -0
  310. data/lib/esi_client/models/get_fw_leaderboards_corporations_last_week.rb +199 -0
  311. data/lib/esi_client/models/get_fw_leaderboards_corporations_last_week_1.rb +199 -0
  312. data/lib/esi_client/models/get_fw_leaderboards_corporations_ok.rb +197 -0
  313. data/lib/esi_client/models/get_fw_leaderboards_corporations_victory_points.rb +230 -0
  314. data/lib/esi_client/models/get_fw_leaderboards_corporations_yesterday.rb +199 -0
  315. data/lib/esi_client/models/get_fw_leaderboards_corporations_yesterday_1.rb +199 -0
  316. data/lib/esi_client/models/get_fw_leaderboards_kills.rb +230 -0
  317. data/lib/esi_client/models/get_fw_leaderboards_last_week.rb +199 -0
  318. data/lib/esi_client/models/get_fw_leaderboards_last_week_1.rb +199 -0
  319. data/lib/esi_client/models/get_fw_leaderboards_ok.rb +197 -0
  320. data/lib/esi_client/models/get_fw_leaderboards_victory_points.rb +230 -0
  321. data/lib/esi_client/models/get_fw_leaderboards_yesterday.rb +199 -0
  322. data/lib/esi_client/models/get_fw_leaderboards_yesterday_1.rb +199 -0
  323. data/lib/esi_client/models/get_fw_stats_200_ok.rb +242 -0
  324. data/lib/esi_client/models/get_fw_stats_kills.rb +224 -0
  325. data/lib/esi_client/models/get_fw_stats_victory_points.rb +224 -0
  326. data/lib/esi_client/models/get_fw_systems_200_ok.rb +269 -0
  327. data/lib/esi_client/models/get_fw_wars_200_ok.rb +209 -0
  328. data/lib/esi_client/models/get_incursions_200_ok.rb +2 -1
  329. data/lib/esi_client/models/get_industry_facilities_200_ok.rb +2 -1
  330. data/lib/esi_client/models/get_industry_systems_200_ok.rb +2 -1
  331. data/lib/esi_client/models/get_industry_systems_cost_indice.rb +2 -1
  332. data/lib/esi_client/models/get_insurance_prices_200_ok.rb +2 -1
  333. data/lib/esi_client/models/get_insurance_prices_level.rb +2 -1
  334. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_attacker.rb +2 -1
  335. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_item.rb +2 -1
  336. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_item_1.rb +2 -1
  337. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_ok.rb +2 -1
  338. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_position.rb +2 -1
  339. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_unprocessable_entity.rb +2 -1
  340. data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_victim.rb +2 -1
  341. data/lib/esi_client/models/get_loyalty_stores_corporation_id_offers_200_ok.rb +2 -1
  342. data/lib/esi_client/models/get_loyalty_stores_corporation_id_offers_required_item.rb +2 -1
  343. data/lib/esi_client/models/get_markets_groups_market_group_id_not_found.rb +2 -1
  344. data/lib/esi_client/models/get_markets_groups_market_group_id_ok.rb +2 -1
  345. data/lib/esi_client/models/get_markets_prices_200_ok.rb +2 -1
  346. data/lib/esi_client/models/get_markets_region_id_history_200_ok.rb +2 -1
  347. data/lib/esi_client/models/get_markets_region_id_history_unprocessable_entity.rb +2 -1
  348. data/lib/esi_client/models/get_markets_region_id_orders_200_ok.rb +2 -1
  349. data/lib/esi_client/models/get_markets_region_id_orders_unprocessable_entity.rb +2 -1
  350. data/lib/esi_client/models/get_markets_structures_structure_id_200_ok.rb +2 -1
  351. data/lib/esi_client/models/get_opportunities_groups_group_id_ok.rb +2 -1
  352. data/lib/esi_client/models/get_opportunities_tasks_task_id_ok.rb +2 -1
  353. data/lib/esi_client/models/get_route_origin_destination_not_found.rb +2 -1
  354. data/lib/esi_client/models/get_search_ok.rb +2 -1
  355. data/lib/esi_client/models/get_sovereignty_campaigns_200_ok.rb +2 -1
  356. data/lib/esi_client/models/get_sovereignty_campaigns_participant.rb +2 -1
  357. data/lib/esi_client/models/get_sovereignty_map_200_ok.rb +2 -1
  358. data/lib/esi_client/models/get_sovereignty_structures_200_ok.rb +2 -1
  359. data/lib/esi_client/models/get_status_ok.rb +2 -1
  360. data/lib/esi_client/models/get_universe_bloodlines_200_ok.rb +2 -1
  361. data/lib/esi_client/models/get_universe_categories_category_id_not_found.rb +2 -1
  362. data/lib/esi_client/models/get_universe_categories_category_id_ok.rb +2 -1
  363. data/lib/esi_client/models/get_universe_constellations_constellation_id_not_found.rb +2 -1
  364. data/lib/esi_client/models/get_universe_constellations_constellation_id_ok.rb +2 -1
  365. data/lib/esi_client/models/get_universe_constellations_constellation_id_position.rb +2 -1
  366. data/lib/esi_client/models/get_universe_factions_200_ok.rb +2 -1
  367. data/lib/esi_client/models/get_universe_graphics_graphic_id_not_found.rb +2 -1
  368. data/lib/esi_client/models/get_universe_graphics_graphic_id_ok.rb +2 -1
  369. data/lib/esi_client/models/get_universe_groups_group_id_not_found.rb +2 -1
  370. data/lib/esi_client/models/get_universe_groups_group_id_ok.rb +2 -1
  371. data/lib/esi_client/models/get_universe_moons_moon_id_not_found.rb +2 -1
  372. data/lib/esi_client/models/get_universe_moons_moon_id_ok.rb +2 -1
  373. data/lib/esi_client/models/get_universe_moons_moon_id_position.rb +2 -1
  374. data/lib/esi_client/models/get_universe_planets_planet_id_not_found.rb +2 -1
  375. data/lib/esi_client/models/get_universe_planets_planet_id_ok.rb +2 -1
  376. data/lib/esi_client/models/get_universe_planets_planet_id_position.rb +2 -1
  377. data/lib/esi_client/models/get_universe_races_200_ok.rb +2 -1
  378. data/lib/esi_client/models/get_universe_regions_region_id_not_found.rb +2 -1
  379. data/lib/esi_client/models/get_universe_regions_region_id_ok.rb +2 -1
  380. data/lib/esi_client/models/get_universe_schematics_schematic_id_not_found.rb +2 -1
  381. data/lib/esi_client/models/get_universe_schematics_schematic_id_ok.rb +2 -1
  382. data/lib/esi_client/models/get_universe_stargates_stargate_id_destination.rb +2 -1
  383. data/lib/esi_client/models/get_universe_stargates_stargate_id_not_found.rb +2 -1
  384. data/lib/esi_client/models/get_universe_stargates_stargate_id_ok.rb +2 -1
  385. data/lib/esi_client/models/get_universe_stargates_stargate_id_position.rb +2 -1
  386. data/lib/esi_client/models/get_universe_stars_star_id_ok.rb +332 -0
  387. data/lib/esi_client/models/get_universe_stations_station_id_not_found.rb +2 -1
  388. data/lib/esi_client/models/get_universe_stations_station_id_ok.rb +2 -1
  389. data/lib/esi_client/models/get_universe_stations_station_id_position.rb +2 -1
  390. data/lib/esi_client/models/get_universe_structures_structure_id_not_found.rb +2 -1
  391. data/lib/esi_client/models/get_universe_structures_structure_id_ok.rb +2 -1
  392. data/lib/esi_client/models/get_universe_structures_structure_id_position.rb +2 -1
  393. data/lib/esi_client/models/get_universe_system_jumps_200_ok.rb +2 -1
  394. data/lib/esi_client/models/get_universe_system_kills_200_ok.rb +3 -2
  395. data/lib/esi_client/models/get_universe_systems_system_id_not_found.rb +2 -1
  396. data/lib/esi_client/models/get_universe_systems_system_id_ok.rb +28 -5
  397. data/lib/esi_client/models/get_universe_systems_system_id_planet.rb +2 -1
  398. data/lib/esi_client/models/get_universe_systems_system_id_position.rb +2 -1
  399. data/lib/esi_client/models/get_universe_types_type_id_dogma_attribute.rb +2 -1
  400. data/lib/esi_client/models/get_universe_types_type_id_dogma_effect.rb +2 -1
  401. data/lib/esi_client/models/get_universe_types_type_id_not_found.rb +2 -1
  402. data/lib/esi_client/models/get_universe_types_type_id_ok.rb +23 -2
  403. data/lib/esi_client/models/get_wars_war_id_aggressor.rb +2 -1
  404. data/lib/esi_client/models/get_wars_war_id_ally.rb +2 -1
  405. data/lib/esi_client/models/get_wars_war_id_defender.rb +2 -1
  406. data/lib/esi_client/models/get_wars_war_id_killmails_200_ok.rb +2 -1
  407. data/lib/esi_client/models/get_wars_war_id_killmails_unprocessable_entity.rb +2 -1
  408. data/lib/esi_client/models/get_wars_war_id_ok.rb +2 -1
  409. data/lib/esi_client/models/get_wars_war_id_unprocessable_entity.rb +2 -1
  410. data/lib/esi_client/models/internal_server_error.rb +194 -0
  411. data/lib/esi_client/models/post_characters_affiliation_200_ok.rb +2 -1
  412. data/lib/esi_client/models/post_characters_affiliation_not_found.rb +189 -0
  413. data/lib/esi_client/models/post_characters_character_id_assets_locations_200_ok.rb +239 -0
  414. data/lib/esi_client/models/post_characters_character_id_assets_names_200_ok.rb +209 -0
  415. data/lib/esi_client/models/post_characters_character_id_cspa_characters.rb +2 -1
  416. data/lib/esi_client/models/post_characters_character_id_cspa_created.rb +2 -1
  417. data/lib/esi_client/models/post_characters_character_id_fittings_created.rb +2 -1
  418. data/lib/esi_client/models/post_characters_character_id_fittings_fitting.rb +2 -1
  419. data/lib/esi_client/models/post_characters_character_id_fittings_item.rb +2 -1
  420. data/lib/esi_client/models/post_characters_character_id_mail_bad_request.rb +2 -1
  421. data/lib/esi_client/models/post_characters_character_id_mail_labels_label.rb +5 -4
  422. data/lib/esi_client/models/post_characters_character_id_mail_mail.rb +2 -1
  423. data/lib/esi_client/models/post_characters_character_id_mail_recipient.rb +2 -1
  424. data/lib/esi_client/models/post_corporations_corporation_id_assets_locations_200_ok.rb +239 -0
  425. data/lib/esi_client/models/post_corporations_corporation_id_assets_names_200_ok.rb +209 -0
  426. data/lib/esi_client/models/post_fleets_fleet_id_members_invitation.rb +3 -2
  427. data/lib/esi_client/models/post_fleets_fleet_id_members_not_found.rb +2 -1
  428. data/lib/esi_client/models/post_fleets_fleet_id_members_unprocessable_entity.rb +2 -1
  429. data/lib/esi_client/models/post_fleets_fleet_id_wings_created.rb +2 -1
  430. data/lib/esi_client/models/post_fleets_fleet_id_wings_not_found.rb +2 -1
  431. data/lib/esi_client/models/post_fleets_fleet_id_wings_wing_id_squads_created.rb +2 -1
  432. data/lib/esi_client/models/post_fleets_fleet_id_wings_wing_id_squads_not_found.rb +2 -1
  433. data/lib/esi_client/models/post_ui_openwindow_newmail_new_mail.rb +2 -1
  434. data/lib/esi_client/models/post_ui_openwindow_newmail_unprocessable_entity.rb +2 -1
  435. data/lib/esi_client/models/post_universe_names_200_ok.rb +2 -1
  436. data/lib/esi_client/models/post_universe_names_not_found.rb +2 -1
  437. data/lib/esi_client/models/put_characters_character_id_calendar_event_id_response.rb +2 -1
  438. data/lib/esi_client/models/put_characters_character_id_mail_mail_id_bad_request.rb +2 -1
  439. data/lib/esi_client/models/put_characters_character_id_mail_mail_id_contents.rb +2 -1
  440. data/lib/esi_client/models/put_corporations_corporation_id_structures_structure_id_new_schedule.rb +2 -1
  441. data/lib/esi_client/models/put_fleets_fleet_id_bad_request.rb +2 -1
  442. data/lib/esi_client/models/put_fleets_fleet_id_members_member_id_movement.rb +3 -2
  443. data/lib/esi_client/models/put_fleets_fleet_id_members_member_id_not_found.rb +2 -1
  444. data/lib/esi_client/models/put_fleets_fleet_id_members_member_id_unprocessable_entity.rb +2 -1
  445. data/lib/esi_client/models/put_fleets_fleet_id_new_settings.rb +2 -1
  446. data/lib/esi_client/models/put_fleets_fleet_id_not_found.rb +2 -1
  447. data/lib/esi_client/models/put_fleets_fleet_id_squads_squad_id_naming.rb +2 -1
  448. data/lib/esi_client/models/put_fleets_fleet_id_squads_squad_id_not_found.rb +2 -1
  449. data/lib/esi_client/models/put_fleets_fleet_id_wings_wing_id_naming.rb +2 -1
  450. data/lib/esi_client/models/put_fleets_fleet_id_wings_wing_id_not_found.rb +2 -1
  451. data/lib/esi_client/version.rb +3 -2
  452. data/spec/api/contracts_api_spec.rb +136 -0
  453. data/spec/api/faction_warfare_api_spec.rb +119 -0
  454. data/spec/models/forbidden_spec.rb +48 -0
  455. data/spec/models/get_characters_character_id_attributes_ok_spec.rb +84 -0
  456. data/spec/models/get_characters_character_id_calendar_event_id_attendees_200_ok_spec.rb +52 -0
  457. data/spec/models/get_characters_character_id_contracts_200_ok_spec.rb +180 -0
  458. data/spec/models/get_characters_character_id_contracts_contract_id_bids_200_ok_spec.rb +60 -0
  459. data/spec/models/get_characters_character_id_contracts_contract_id_items_200_ok_spec.rb +72 -0
  460. data/spec/models/get_characters_character_id_fatigue_ok_spec.rb +54 -0
  461. data/spec/models/get_characters_character_id_fleet_not_found_spec.rb +42 -0
  462. data/spec/models/get_characters_character_id_fleet_ok_spec.rb +64 -0
  463. data/spec/models/get_characters_character_id_notifications_200_ok_spec.rb +86 -0
  464. data/spec/models/get_characters_character_id_notifications_contacts_200_ok_spec.rb +66 -0
  465. data/spec/models/get_characters_character_id_planets_planet_id_content_spec.rb +48 -0
  466. data/spec/models/get_characters_character_id_wallet_journal_200_ok_spec.rb +126 -0
  467. data/spec/models/get_characters_character_id_wallet_journal_extra_info_spec.rb +108 -0
  468. data/spec/models/get_characters_character_id_wallet_transactions_200_ok_spec.rb +96 -0
  469. data/spec/models/get_corporations_corporation_id_assets_200_ok_spec.rb +86 -0
  470. data/spec/models/get_corporations_corporation_id_blueprints_200_ok_spec.rb +88 -0
  471. data/spec/models/get_corporations_corporation_id_bookmarks_200_ok_spec.rb +90 -0
  472. data/spec/models/get_corporations_corporation_id_bookmarks_coordinates_spec.rb +54 -0
  473. data/spec/models/get_corporations_corporation_id_bookmarks_folders_200_ok_spec.rb +54 -0
  474. data/spec/models/get_corporations_corporation_id_bookmarks_item_spec.rb +48 -0
  475. data/spec/models/get_corporations_corporation_id_contacts_200_ok_spec.rb +70 -0
  476. data/spec/models/get_corporations_corporation_id_containers_logs_200_ok_spec.rb +120 -0
  477. data/spec/models/get_corporations_corporation_id_contracts_200_ok_spec.rb +180 -0
  478. data/spec/models/get_corporations_corporation_id_contracts_contract_id_bids_200_ok_spec.rb +60 -0
  479. data/spec/models/get_corporations_corporation_id_contracts_contract_id_items_200_ok_spec.rb +72 -0
  480. data/spec/models/get_corporations_corporation_id_divisions_hangar_spec.rb +48 -0
  481. data/spec/models/get_corporations_corporation_id_divisions_ok_spec.rb +48 -0
  482. data/spec/models/get_corporations_corporation_id_divisions_wallet_spec.rb +48 -0
  483. data/spec/models/get_corporations_corporation_id_industry_jobs_200_ok_spec.rb +172 -0
  484. data/spec/models/get_corporations_corporation_id_killmails_recent_200_ok_spec.rb +48 -0
  485. data/spec/models/get_corporations_corporation_id_membertracking_200_ok_spec.rb +78 -0
  486. data/spec/models/get_corporations_corporation_id_orders_200_ok_spec.rb +134 -0
  487. data/spec/models/get_corporations_corporation_id_shareholders_200_ok_spec.rb +58 -0
  488. data/spec/models/get_corporations_corporation_id_standings_200_ok_spec.rb +58 -0
  489. data/spec/models/get_corporations_corporation_id_titles_200_ok_spec.rb +128 -0
  490. data/spec/models/get_corporations_corporation_id_wallets_200_ok_spec.rb +48 -0
  491. data/spec/models/get_corporations_corporation_id_wallets_division_journal_200_ok_spec.rb +126 -0
  492. data/spec/models/get_corporations_corporation_id_wallets_division_journal_extra_info_spec.rb +108 -0
  493. data/spec/models/get_corporations_corporation_id_wallets_division_transactions_200_ok_spec.rb +90 -0
  494. data/spec/models/get_fw_leaderboards_active_total_1_spec.rb +48 -0
  495. data/spec/models/get_fw_leaderboards_active_total_spec.rb +48 -0
  496. data/spec/models/get_fw_leaderboards_characters_active_total_1_spec.rb +48 -0
  497. data/spec/models/get_fw_leaderboards_characters_active_total_spec.rb +48 -0
  498. data/spec/models/get_fw_leaderboards_characters_kills_spec.rb +54 -0
  499. data/spec/models/get_fw_leaderboards_characters_last_week_1_spec.rb +48 -0
  500. data/spec/models/get_fw_leaderboards_characters_last_week_spec.rb +48 -0
  501. data/spec/models/get_fw_leaderboards_characters_ok_spec.rb +48 -0
  502. data/spec/models/get_fw_leaderboards_characters_victory_points_spec.rb +54 -0
  503. data/spec/models/get_fw_leaderboards_characters_yesterday_1_spec.rb +48 -0
  504. data/spec/models/get_fw_leaderboards_characters_yesterday_spec.rb +48 -0
  505. data/spec/models/get_fw_leaderboards_corporations_active_total_1_spec.rb +48 -0
  506. data/spec/models/get_fw_leaderboards_corporations_active_total_spec.rb +48 -0
  507. data/spec/models/get_fw_leaderboards_corporations_kills_spec.rb +54 -0
  508. data/spec/models/get_fw_leaderboards_corporations_last_week_1_spec.rb +48 -0
  509. data/spec/models/get_fw_leaderboards_corporations_last_week_spec.rb +48 -0
  510. data/spec/models/get_fw_leaderboards_corporations_ok_spec.rb +48 -0
  511. data/spec/models/get_fw_leaderboards_corporations_victory_points_spec.rb +54 -0
  512. data/spec/models/get_fw_leaderboards_corporations_yesterday_1_spec.rb +48 -0
  513. data/spec/models/get_fw_leaderboards_corporations_yesterday_spec.rb +48 -0
  514. data/spec/models/get_fw_leaderboards_kills_spec.rb +54 -0
  515. data/spec/models/get_fw_leaderboards_last_week_1_spec.rb +48 -0
  516. data/spec/models/get_fw_leaderboards_last_week_spec.rb +48 -0
  517. data/spec/models/get_fw_leaderboards_ok_spec.rb +48 -0
  518. data/spec/models/get_fw_leaderboards_victory_points_spec.rb +54 -0
  519. data/spec/models/get_fw_leaderboards_yesterday_1_spec.rb +48 -0
  520. data/spec/models/get_fw_leaderboards_yesterday_spec.rb +48 -0
  521. data/spec/models/get_fw_stats_200_ok_spec.rb +66 -0
  522. data/spec/models/get_fw_stats_kills_spec.rb +54 -0
  523. data/spec/models/get_fw_stats_victory_points_spec.rb +54 -0
  524. data/spec/models/get_fw_systems_200_ok_spec.rb +72 -0
  525. data/spec/models/get_fw_wars_200_ok_spec.rb +48 -0
  526. data/spec/models/get_universe_stars_star_id_ok_spec.rb +88 -0
  527. data/spec/models/internal_server_error_spec.rb +42 -0
  528. data/spec/models/post_characters_affiliation_not_found_spec.rb +42 -0
  529. data/spec/models/post_characters_character_id_assets_locations_200_ok_spec.rb +60 -0
  530. data/spec/models/post_characters_character_id_assets_names_200_ok_spec.rb +48 -0
  531. data/spec/models/post_corporations_corporation_id_assets_locations_200_ok_spec.rb +60 -0
  532. data/spec/models/post_corporations_corporation_id_assets_names_200_ok_spec.rb +48 -0
  533. metadata +327 -2
@@ -3,9 +3,10 @@
3
3
 
4
4
  #An OpenAPI for EVE Online
5
5
 
6
- OpenAPI spec version: 0.5.0
6
+ OpenAPI spec version: 0.6.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -3,9 +3,10 @@
3
3
 
4
4
  #An OpenAPI for EVE Online
5
5
 
6
- OpenAPI spec version: 0.5.0
6
+ OpenAPI spec version: 0.6.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
@@ -14,7 +15,11 @@ require 'date'
14
15
  module ESIClient
15
16
  # 200 ok object
16
17
  class GetCorporationsCorporationIdAlliancehistory200Ok
17
- attr_accessor :alliance
18
+ # alliance_id integer
19
+ attr_accessor :alliance_id
20
+
21
+ # True if the alliance has been closed
22
+ attr_accessor :is_deleted
18
23
 
19
24
  # An incrementing ID that can be used to canonically establish order of records in cases where dates may be ambiguous
20
25
  attr_accessor :record_id
@@ -26,7 +31,8 @@ module ESIClient
26
31
  # Attribute mapping from ruby-style variable name to JSON key.
27
32
  def self.attribute_map
28
33
  {
29
- :'alliance' => :'alliance',
34
+ :'alliance_id' => :'alliance_id',
35
+ :'is_deleted' => :'is_deleted',
30
36
  :'record_id' => :'record_id',
31
37
  :'start_date' => :'start_date'
32
38
  }
@@ -35,7 +41,8 @@ module ESIClient
35
41
  # Attribute type mapping.
36
42
  def self.swagger_types
37
43
  {
38
- :'alliance' => :'GetCorporationsCorporationIdAlliancehistoryAlliance',
44
+ :'alliance_id' => :'Integer',
45
+ :'is_deleted' => :'BOOLEAN',
39
46
  :'record_id' => :'Integer',
40
47
  :'start_date' => :'DateTime'
41
48
  }
@@ -49,8 +56,12 @@ module ESIClient
49
56
  # convert string to symbol for hash key
50
57
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
51
58
 
52
- if attributes.has_key?(:'alliance')
53
- self.alliance = attributes[:'alliance']
59
+ if attributes.has_key?(:'alliance_id')
60
+ self.alliance_id = attributes[:'alliance_id']
61
+ end
62
+
63
+ if attributes.has_key?(:'is_deleted')
64
+ self.is_deleted = attributes[:'is_deleted']
54
65
  end
55
66
 
56
67
  if attributes.has_key?(:'record_id')
@@ -91,7 +102,8 @@ module ESIClient
91
102
  def ==(o)
92
103
  return true if self.equal?(o)
93
104
  self.class == o.class &&
94
- alliance == o.alliance &&
105
+ alliance_id == o.alliance_id &&
106
+ is_deleted == o.is_deleted &&
95
107
  record_id == o.record_id &&
96
108
  start_date == o.start_date
97
109
  end
@@ -105,7 +117,7 @@ module ESIClient
105
117
  # Calculates hash code according to all attributes.
106
118
  # @return [Fixnum] Hash code
107
119
  def hash
108
- [alliance, record_id, start_date].hash
120
+ [alliance_id, is_deleted, record_id, start_date].hash
109
121
  end
110
122
 
111
123
  # Builds the object from hash
@@ -0,0 +1,324 @@
1
+ =begin
2
+ #EVE Swagger Interface
3
+
4
+ #An OpenAPI for EVE Online
5
+
6
+ OpenAPI spec version: 0.6.2
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module ESIClient
16
+ # 200 ok object
17
+ class GetCorporationsCorporationIdAssets200Ok
18
+ # is_singleton boolean
19
+ attr_accessor :is_singleton
20
+
21
+ # item_id integer
22
+ attr_accessor :item_id
23
+
24
+ # location_flag string
25
+ attr_accessor :location_flag
26
+
27
+ # location_id integer
28
+ attr_accessor :location_id
29
+
30
+ # location_type string
31
+ attr_accessor :location_type
32
+
33
+ # quantity integer
34
+ attr_accessor :quantity
35
+
36
+ # type_id integer
37
+ attr_accessor :type_id
38
+
39
+ class EnumAttributeValidator
40
+ attr_reader :datatype
41
+ attr_reader :allowable_values
42
+
43
+ def initialize(datatype, allowable_values)
44
+ @allowable_values = allowable_values.map do |value|
45
+ case datatype.to_s
46
+ when /Integer/i
47
+ value.to_i
48
+ when /Float/i
49
+ value.to_f
50
+ else
51
+ value
52
+ end
53
+ end
54
+ end
55
+
56
+ def valid?(value)
57
+ !value || allowable_values.include?(value)
58
+ end
59
+ end
60
+
61
+ # Attribute mapping from ruby-style variable name to JSON key.
62
+ def self.attribute_map
63
+ {
64
+ :'is_singleton' => :'is_singleton',
65
+ :'item_id' => :'item_id',
66
+ :'location_flag' => :'location_flag',
67
+ :'location_id' => :'location_id',
68
+ :'location_type' => :'location_type',
69
+ :'quantity' => :'quantity',
70
+ :'type_id' => :'type_id'
71
+ }
72
+ end
73
+
74
+ # Attribute type mapping.
75
+ def self.swagger_types
76
+ {
77
+ :'is_singleton' => :'BOOLEAN',
78
+ :'item_id' => :'Integer',
79
+ :'location_flag' => :'String',
80
+ :'location_id' => :'Integer',
81
+ :'location_type' => :'String',
82
+ :'quantity' => :'Integer',
83
+ :'type_id' => :'Integer'
84
+ }
85
+ end
86
+
87
+ # Initializes the object
88
+ # @param [Hash] attributes Model attributes in the form of hash
89
+ def initialize(attributes = {})
90
+ return unless attributes.is_a?(Hash)
91
+
92
+ # convert string to symbol for hash key
93
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
94
+
95
+ if attributes.has_key?(:'is_singleton')
96
+ self.is_singleton = attributes[:'is_singleton']
97
+ end
98
+
99
+ if attributes.has_key?(:'item_id')
100
+ self.item_id = attributes[:'item_id']
101
+ end
102
+
103
+ if attributes.has_key?(:'location_flag')
104
+ self.location_flag = attributes[:'location_flag']
105
+ end
106
+
107
+ if attributes.has_key?(:'location_id')
108
+ self.location_id = attributes[:'location_id']
109
+ end
110
+
111
+ if attributes.has_key?(:'location_type')
112
+ self.location_type = attributes[:'location_type']
113
+ end
114
+
115
+ if attributes.has_key?(:'quantity')
116
+ self.quantity = attributes[:'quantity']
117
+ end
118
+
119
+ if attributes.has_key?(:'type_id')
120
+ self.type_id = attributes[:'type_id']
121
+ end
122
+
123
+ end
124
+
125
+ # Show invalid properties with the reasons. Usually used together with valid?
126
+ # @return Array for valid properies with the reasons
127
+ def list_invalid_properties
128
+ invalid_properties = Array.new
129
+ if @is_singleton.nil?
130
+ invalid_properties.push("invalid value for 'is_singleton', is_singleton cannot be nil.")
131
+ end
132
+
133
+ if @item_id.nil?
134
+ invalid_properties.push("invalid value for 'item_id', item_id cannot be nil.")
135
+ end
136
+
137
+ if @location_flag.nil?
138
+ invalid_properties.push("invalid value for 'location_flag', location_flag cannot be nil.")
139
+ end
140
+
141
+ if @location_id.nil?
142
+ invalid_properties.push("invalid value for 'location_id', location_id cannot be nil.")
143
+ end
144
+
145
+ if @location_type.nil?
146
+ invalid_properties.push("invalid value for 'location_type', location_type cannot be nil.")
147
+ end
148
+
149
+ if @type_id.nil?
150
+ invalid_properties.push("invalid value for 'type_id', type_id cannot be nil.")
151
+ end
152
+
153
+ return invalid_properties
154
+ end
155
+
156
+ # Check to see if the all the properties in the model are valid
157
+ # @return true if the model is valid
158
+ def valid?
159
+ return false if @is_singleton.nil?
160
+ return false if @item_id.nil?
161
+ return false if @location_flag.nil?
162
+ location_flag_validator = EnumAttributeValidator.new('String', ["AssetSafety", "AutoFit", "Bonus", "Booster", "BoosterBay", "Capsule", "Cargo", "CorpDeliveries", "CorpSAG1", "CorpSAG2", "CorpSAG3", "CorpSAG4", "CorpSAG5", "CorpSAG6", "CorpSAG7", "CrateLoot", "Deliveries", "DroneBay", "DustBattle", "DustDatabank", "FighterBay", "FighterTube0", "FighterTube1", "FighterTube2", "FighterTube3", "FighterTube4", "FleetHangar", "Hangar", "HangarAll", "HiSlot0", "HiSlot1", "HiSlot2", "HiSlot3", "HiSlot4", "HiSlot5", "HiSlot6", "HiSlot7", "HiddenModifers", "Implant", "Impounded", "JunkyardReprocessed", "JunkyardTrashed", "LoSlot0", "LoSlot1", "LoSlot2", "LoSlot3", "LoSlot4", "LoSlot5", "LoSlot6", "LoSlot7", "Locked", "MedSlot0", "MedSlot1", "MedSlot2", "MedSlot3", "MedSlot4", "MedSlot5", "MedSlot6", "MedSlot7", "OfficeFolder", "Pilot", "PlanetSurface", "QuafeBay", "Reward", "RigSlot0", "RigSlot1", "RigSlot2", "RigSlot3", "RigSlot4", "RigSlot5", "RigSlot6", "RigSlot7", "SecondaryStorage", "ServiceSlot0", "ServiceSlot1", "ServiceSlot2", "ServiceSlot3", "ServiceSlot4", "ServiceSlot5", "ServiceSlot6", "ServiceSlot7", "ShipHangar", "ShipOffline", "Skill", "SkillInTraining", "SpecializedAmmoHold", "SpecializedCommandCenterHold", "SpecializedFuelBay", "SpecializedGasHold", "SpecializedIndustrialShipHold", "SpecializedLargeShipHold", "SpecializedMaterialBay", "SpecializedMediumShipHold", "SpecializedMineralHold", "SpecializedOreHold", "SpecializedPlanetaryCommoditiesHold", "SpecializedSalvageHold", "SpecializedShipHold", "SpecializedSmallShipHold", "StructureActive", "StructureFuel", "StructureInactive", "StructureOffline", "SubSystemSlot0", "SubSystemSlot1", "SubSystemSlot2", "SubSystemSlot3", "SubSystemSlot4", "SubSystemSlot5", "SubSystemSlot6", "SubSystemSlot7", "SubsystemBay", "Unlocked", "Wallet", "Wardrobe"])
163
+ return false unless location_flag_validator.valid?(@location_flag)
164
+ return false if @location_id.nil?
165
+ return false if @location_type.nil?
166
+ location_type_validator = EnumAttributeValidator.new('String', ["station", "solar_system", "other"])
167
+ return false unless location_type_validator.valid?(@location_type)
168
+ return false if @type_id.nil?
169
+ return true
170
+ end
171
+
172
+ # Custom attribute writer method checking allowed values (enum).
173
+ # @param [Object] location_flag Object to be assigned
174
+ def location_flag=(location_flag)
175
+ validator = EnumAttributeValidator.new('String', ["AssetSafety", "AutoFit", "Bonus", "Booster", "BoosterBay", "Capsule", "Cargo", "CorpDeliveries", "CorpSAG1", "CorpSAG2", "CorpSAG3", "CorpSAG4", "CorpSAG5", "CorpSAG6", "CorpSAG7", "CrateLoot", "Deliveries", "DroneBay", "DustBattle", "DustDatabank", "FighterBay", "FighterTube0", "FighterTube1", "FighterTube2", "FighterTube3", "FighterTube4", "FleetHangar", "Hangar", "HangarAll", "HiSlot0", "HiSlot1", "HiSlot2", "HiSlot3", "HiSlot4", "HiSlot5", "HiSlot6", "HiSlot7", "HiddenModifers", "Implant", "Impounded", "JunkyardReprocessed", "JunkyardTrashed", "LoSlot0", "LoSlot1", "LoSlot2", "LoSlot3", "LoSlot4", "LoSlot5", "LoSlot6", "LoSlot7", "Locked", "MedSlot0", "MedSlot1", "MedSlot2", "MedSlot3", "MedSlot4", "MedSlot5", "MedSlot6", "MedSlot7", "OfficeFolder", "Pilot", "PlanetSurface", "QuafeBay", "Reward", "RigSlot0", "RigSlot1", "RigSlot2", "RigSlot3", "RigSlot4", "RigSlot5", "RigSlot6", "RigSlot7", "SecondaryStorage", "ServiceSlot0", "ServiceSlot1", "ServiceSlot2", "ServiceSlot3", "ServiceSlot4", "ServiceSlot5", "ServiceSlot6", "ServiceSlot7", "ShipHangar", "ShipOffline", "Skill", "SkillInTraining", "SpecializedAmmoHold", "SpecializedCommandCenterHold", "SpecializedFuelBay", "SpecializedGasHold", "SpecializedIndustrialShipHold", "SpecializedLargeShipHold", "SpecializedMaterialBay", "SpecializedMediumShipHold", "SpecializedMineralHold", "SpecializedOreHold", "SpecializedPlanetaryCommoditiesHold", "SpecializedSalvageHold", "SpecializedShipHold", "SpecializedSmallShipHold", "StructureActive", "StructureFuel", "StructureInactive", "StructureOffline", "SubSystemSlot0", "SubSystemSlot1", "SubSystemSlot2", "SubSystemSlot3", "SubSystemSlot4", "SubSystemSlot5", "SubSystemSlot6", "SubSystemSlot7", "SubsystemBay", "Unlocked", "Wallet", "Wardrobe"])
176
+ unless validator.valid?(location_flag)
177
+ fail ArgumentError, "invalid value for 'location_flag', must be one of #{validator.allowable_values}."
178
+ end
179
+ @location_flag = location_flag
180
+ end
181
+
182
+ # Custom attribute writer method checking allowed values (enum).
183
+ # @param [Object] location_type Object to be assigned
184
+ def location_type=(location_type)
185
+ validator = EnumAttributeValidator.new('String', ["station", "solar_system", "other"])
186
+ unless validator.valid?(location_type)
187
+ fail ArgumentError, "invalid value for 'location_type', must be one of #{validator.allowable_values}."
188
+ end
189
+ @location_type = location_type
190
+ end
191
+
192
+ # Checks equality by comparing each attribute.
193
+ # @param [Object] Object to be compared
194
+ def ==(o)
195
+ return true if self.equal?(o)
196
+ self.class == o.class &&
197
+ is_singleton == o.is_singleton &&
198
+ item_id == o.item_id &&
199
+ location_flag == o.location_flag &&
200
+ location_id == o.location_id &&
201
+ location_type == o.location_type &&
202
+ quantity == o.quantity &&
203
+ type_id == o.type_id
204
+ end
205
+
206
+ # @see the `==` method
207
+ # @param [Object] Object to be compared
208
+ def eql?(o)
209
+ self == o
210
+ end
211
+
212
+ # Calculates hash code according to all attributes.
213
+ # @return [Fixnum] Hash code
214
+ def hash
215
+ [is_singleton, item_id, location_flag, location_id, location_type, quantity, type_id].hash
216
+ end
217
+
218
+ # Builds the object from hash
219
+ # @param [Hash] attributes Model attributes in the form of hash
220
+ # @return [Object] Returns the model itself
221
+ def build_from_hash(attributes)
222
+ return nil unless attributes.is_a?(Hash)
223
+ self.class.swagger_types.each_pair do |key, type|
224
+ if type =~ /\AArray<(.*)>/i
225
+ # check to ensure the input is an array given that the the attribute
226
+ # is documented as an array but the input is not
227
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
228
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
229
+ end
230
+ elsif !attributes[self.class.attribute_map[key]].nil?
231
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
232
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
233
+ end
234
+
235
+ self
236
+ end
237
+
238
+ # Deserializes the data based on type
239
+ # @param string type Data type
240
+ # @param string value Value to be deserialized
241
+ # @return [Object] Deserialized data
242
+ def _deserialize(type, value)
243
+ case type.to_sym
244
+ when :DateTime
245
+ DateTime.parse(value)
246
+ when :Date
247
+ Date.parse(value)
248
+ when :String
249
+ value.to_s
250
+ when :Integer
251
+ value.to_i
252
+ when :Float
253
+ value.to_f
254
+ when :BOOLEAN
255
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
256
+ true
257
+ else
258
+ false
259
+ end
260
+ when :Object
261
+ # generic object (usually a Hash), return directly
262
+ value
263
+ when /\AArray<(?<inner_type>.+)>\z/
264
+ inner_type = Regexp.last_match[:inner_type]
265
+ value.map { |v| _deserialize(inner_type, v) }
266
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
267
+ k_type = Regexp.last_match[:k_type]
268
+ v_type = Regexp.last_match[:v_type]
269
+ {}.tap do |hash|
270
+ value.each do |k, v|
271
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
272
+ end
273
+ end
274
+ else # model
275
+ temp_model = ESIClient.const_get(type).new
276
+ temp_model.build_from_hash(value)
277
+ end
278
+ end
279
+
280
+ # Returns the string representation of the object
281
+ # @return [String] String presentation of the object
282
+ def to_s
283
+ to_hash.to_s
284
+ end
285
+
286
+ # to_body is an alias to to_hash (backward compatibility)
287
+ # @return [Hash] Returns the object in the form of hash
288
+ def to_body
289
+ to_hash
290
+ end
291
+
292
+ # Returns the object in the form of hash
293
+ # @return [Hash] Returns the object in the form of hash
294
+ def to_hash
295
+ hash = {}
296
+ self.class.attribute_map.each_pair do |attr, param|
297
+ value = self.send(attr)
298
+ next if value.nil?
299
+ hash[param] = _to_hash(value)
300
+ end
301
+ hash
302
+ end
303
+
304
+ # Outputs non-array value in the form of hash
305
+ # For object, use to_hash. Otherwise, just return the value
306
+ # @param [Object] value Any valid value
307
+ # @return [Hash] Returns the value in the form of hash
308
+ def _to_hash(value)
309
+ if value.is_a?(Array)
310
+ value.compact.map{ |v| _to_hash(v) }
311
+ elsif value.is_a?(Hash)
312
+ {}.tap do |hash|
313
+ value.each { |k, v| hash[k] = _to_hash(v) }
314
+ end
315
+ elsif value.respond_to? :to_hash
316
+ value.to_hash
317
+ else
318
+ value
319
+ end
320
+ end
321
+
322
+ end
323
+
324
+ end
@@ -0,0 +1,426 @@
1
+ =begin
2
+ #EVE Swagger Interface
3
+
4
+ #An OpenAPI for EVE Online
5
+
6
+ OpenAPI spec version: 0.6.2
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module ESIClient
16
+ # 200 ok object
17
+ class GetCorporationsCorporationIdBlueprints200Ok
18
+ # Unique ID for this item.
19
+ attr_accessor :item_id
20
+
21
+ # Type of the location_id
22
+ attr_accessor :location_flag
23
+
24
+ # References a solar system, station or item_id if this blueprint is located within a container.
25
+ attr_accessor :location_id
26
+
27
+ # Material Efficiency Level of the blueprint.
28
+ attr_accessor :material_efficiency
29
+
30
+ # A range of numbers with a minimum of -2 and no maximum value where -1 is an original and -2 is a copy. It can be a positive integer if it is a stack of blueprint originals fresh from the market (e.g. no activities performed on them yet).
31
+ attr_accessor :quantity
32
+
33
+ # Number of runs remaining if the blueprint is a copy, -1 if it is an original.
34
+ attr_accessor :runs
35
+
36
+ # Time Efficiency Level of the blueprint.
37
+ attr_accessor :time_efficiency
38
+
39
+ # type_id integer
40
+ attr_accessor :type_id
41
+
42
+ class EnumAttributeValidator
43
+ attr_reader :datatype
44
+ attr_reader :allowable_values
45
+
46
+ def initialize(datatype, allowable_values)
47
+ @allowable_values = allowable_values.map do |value|
48
+ case datatype.to_s
49
+ when /Integer/i
50
+ value.to_i
51
+ when /Float/i
52
+ value.to_f
53
+ else
54
+ value
55
+ end
56
+ end
57
+ end
58
+
59
+ def valid?(value)
60
+ !value || allowable_values.include?(value)
61
+ end
62
+ end
63
+
64
+ # Attribute mapping from ruby-style variable name to JSON key.
65
+ def self.attribute_map
66
+ {
67
+ :'item_id' => :'item_id',
68
+ :'location_flag' => :'location_flag',
69
+ :'location_id' => :'location_id',
70
+ :'material_efficiency' => :'material_efficiency',
71
+ :'quantity' => :'quantity',
72
+ :'runs' => :'runs',
73
+ :'time_efficiency' => :'time_efficiency',
74
+ :'type_id' => :'type_id'
75
+ }
76
+ end
77
+
78
+ # Attribute type mapping.
79
+ def self.swagger_types
80
+ {
81
+ :'item_id' => :'Integer',
82
+ :'location_flag' => :'String',
83
+ :'location_id' => :'Integer',
84
+ :'material_efficiency' => :'Integer',
85
+ :'quantity' => :'Integer',
86
+ :'runs' => :'Integer',
87
+ :'time_efficiency' => :'Integer',
88
+ :'type_id' => :'Integer'
89
+ }
90
+ end
91
+
92
+ # Initializes the object
93
+ # @param [Hash] attributes Model attributes in the form of hash
94
+ def initialize(attributes = {})
95
+ return unless attributes.is_a?(Hash)
96
+
97
+ # convert string to symbol for hash key
98
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
99
+
100
+ if attributes.has_key?(:'item_id')
101
+ self.item_id = attributes[:'item_id']
102
+ end
103
+
104
+ if attributes.has_key?(:'location_flag')
105
+ self.location_flag = attributes[:'location_flag']
106
+ end
107
+
108
+ if attributes.has_key?(:'location_id')
109
+ self.location_id = attributes[:'location_id']
110
+ end
111
+
112
+ if attributes.has_key?(:'material_efficiency')
113
+ self.material_efficiency = attributes[:'material_efficiency']
114
+ end
115
+
116
+ if attributes.has_key?(:'quantity')
117
+ self.quantity = attributes[:'quantity']
118
+ end
119
+
120
+ if attributes.has_key?(:'runs')
121
+ self.runs = attributes[:'runs']
122
+ end
123
+
124
+ if attributes.has_key?(:'time_efficiency')
125
+ self.time_efficiency = attributes[:'time_efficiency']
126
+ end
127
+
128
+ if attributes.has_key?(:'type_id')
129
+ self.type_id = attributes[:'type_id']
130
+ end
131
+
132
+ end
133
+
134
+ # Show invalid properties with the reasons. Usually used together with valid?
135
+ # @return Array for valid properies with the reasons
136
+ def list_invalid_properties
137
+ invalid_properties = Array.new
138
+ if @item_id.nil?
139
+ invalid_properties.push("invalid value for 'item_id', item_id cannot be nil.")
140
+ end
141
+
142
+ if @location_flag.nil?
143
+ invalid_properties.push("invalid value for 'location_flag', location_flag cannot be nil.")
144
+ end
145
+
146
+ if @location_id.nil?
147
+ invalid_properties.push("invalid value for 'location_id', location_id cannot be nil.")
148
+ end
149
+
150
+ if @material_efficiency.nil?
151
+ invalid_properties.push("invalid value for 'material_efficiency', material_efficiency cannot be nil.")
152
+ end
153
+
154
+ if @material_efficiency > 10
155
+ invalid_properties.push("invalid value for 'material_efficiency', must be smaller than or equal to 10.")
156
+ end
157
+
158
+ if @material_efficiency < 0
159
+ invalid_properties.push("invalid value for 'material_efficiency', must be greater than or equal to 0.")
160
+ end
161
+
162
+ if @quantity.nil?
163
+ invalid_properties.push("invalid value for 'quantity', quantity cannot be nil.")
164
+ end
165
+
166
+ if @quantity < -2
167
+ invalid_properties.push("invalid value for 'quantity', must be greater than or equal to -2.")
168
+ end
169
+
170
+ if @runs.nil?
171
+ invalid_properties.push("invalid value for 'runs', runs cannot be nil.")
172
+ end
173
+
174
+ if @runs < -1
175
+ invalid_properties.push("invalid value for 'runs', must be greater than or equal to -1.")
176
+ end
177
+
178
+ if @time_efficiency.nil?
179
+ invalid_properties.push("invalid value for 'time_efficiency', time_efficiency cannot be nil.")
180
+ end
181
+
182
+ if @time_efficiency > 20
183
+ invalid_properties.push("invalid value for 'time_efficiency', must be smaller than or equal to 20.")
184
+ end
185
+
186
+ if @time_efficiency < 0
187
+ invalid_properties.push("invalid value for 'time_efficiency', must be greater than or equal to 0.")
188
+ end
189
+
190
+ if @type_id.nil?
191
+ invalid_properties.push("invalid value for 'type_id', type_id cannot be nil.")
192
+ end
193
+
194
+ return invalid_properties
195
+ end
196
+
197
+ # Check to see if the all the properties in the model are valid
198
+ # @return true if the model is valid
199
+ def valid?
200
+ return false if @item_id.nil?
201
+ return false if @location_flag.nil?
202
+ location_flag_validator = EnumAttributeValidator.new('String', ["AssetSafety", "AutoFit", "Bonus", "Booster", "BoosterBay", "Capsule", "Cargo", "CorpDeliveries", "CorpSAG1", "CorpSAG2", "CorpSAG3", "CorpSAG4", "CorpSAG5", "CorpSAG6", "CorpSAG7", "CrateLoot", "Deliveries", "DroneBay", "DustBattle", "DustDatabank", "FighterBay", "FighterTube0", "FighterTube1", "FighterTube2", "FighterTube3", "FighterTube4", "FleetHangar", "Hangar", "HangarAll", "HiSlot0", "HiSlot1", "HiSlot2", "HiSlot3", "HiSlot4", "HiSlot5", "HiSlot6", "HiSlot7", "HiddenModifers", "Implant", "Impounded", "JunkyardReprocessed", "JunkyardTrashed", "LoSlot0", "LoSlot1", "LoSlot2", "LoSlot3", "LoSlot4", "LoSlot5", "LoSlot6", "LoSlot7", "Locked", "MedSlot0", "MedSlot1", "MedSlot2", "MedSlot3", "MedSlot4", "MedSlot5", "MedSlot6", "MedSlot7", "OfficeFolder", "Pilot", "PlanetSurface", "QuafeBay", "Reward", "RigSlot0", "RigSlot1", "RigSlot2", "RigSlot3", "RigSlot4", "RigSlot5", "RigSlot6", "RigSlot7", "SecondaryStorage", "ServiceSlot0", "ServiceSlot1", "ServiceSlot2", "ServiceSlot3", "ServiceSlot4", "ServiceSlot5", "ServiceSlot6", "ServiceSlot7", "ShipHangar", "ShipOffline", "Skill", "SkillInTraining", "SpecializedAmmoHold", "SpecializedCommandCenterHold", "SpecializedFuelBay", "SpecializedGasHold", "SpecializedIndustrialShipHold", "SpecializedLargeShipHold", "SpecializedMaterialBay", "SpecializedMediumShipHold", "SpecializedMineralHold", "SpecializedOreHold", "SpecializedPlanetaryCommoditiesHold", "SpecializedSalvageHold", "SpecializedShipHold", "SpecializedSmallShipHold", "StructureActive", "StructureFuel", "StructureInactive", "StructureOffline", "SubSystemSlot0", "SubSystemSlot1", "SubSystemSlot2", "SubSystemSlot3", "SubSystemSlot4", "SubSystemSlot5", "SubSystemSlot6", "SubSystemSlot7", "SubsystemBay", "Unlocked", "Wallet", "Wardrobe"])
203
+ return false unless location_flag_validator.valid?(@location_flag)
204
+ return false if @location_id.nil?
205
+ return false if @material_efficiency.nil?
206
+ return false if @material_efficiency > 10
207
+ return false if @material_efficiency < 0
208
+ return false if @quantity.nil?
209
+ return false if @quantity < -2
210
+ return false if @runs.nil?
211
+ return false if @runs < -1
212
+ return false if @time_efficiency.nil?
213
+ return false if @time_efficiency > 20
214
+ return false if @time_efficiency < 0
215
+ return false if @type_id.nil?
216
+ return true
217
+ end
218
+
219
+ # Custom attribute writer method checking allowed values (enum).
220
+ # @param [Object] location_flag Object to be assigned
221
+ def location_flag=(location_flag)
222
+ validator = EnumAttributeValidator.new('String', ["AssetSafety", "AutoFit", "Bonus", "Booster", "BoosterBay", "Capsule", "Cargo", "CorpDeliveries", "CorpSAG1", "CorpSAG2", "CorpSAG3", "CorpSAG4", "CorpSAG5", "CorpSAG6", "CorpSAG7", "CrateLoot", "Deliveries", "DroneBay", "DustBattle", "DustDatabank", "FighterBay", "FighterTube0", "FighterTube1", "FighterTube2", "FighterTube3", "FighterTube4", "FleetHangar", "Hangar", "HangarAll", "HiSlot0", "HiSlot1", "HiSlot2", "HiSlot3", "HiSlot4", "HiSlot5", "HiSlot6", "HiSlot7", "HiddenModifers", "Implant", "Impounded", "JunkyardReprocessed", "JunkyardTrashed", "LoSlot0", "LoSlot1", "LoSlot2", "LoSlot3", "LoSlot4", "LoSlot5", "LoSlot6", "LoSlot7", "Locked", "MedSlot0", "MedSlot1", "MedSlot2", "MedSlot3", "MedSlot4", "MedSlot5", "MedSlot6", "MedSlot7", "OfficeFolder", "Pilot", "PlanetSurface", "QuafeBay", "Reward", "RigSlot0", "RigSlot1", "RigSlot2", "RigSlot3", "RigSlot4", "RigSlot5", "RigSlot6", "RigSlot7", "SecondaryStorage", "ServiceSlot0", "ServiceSlot1", "ServiceSlot2", "ServiceSlot3", "ServiceSlot4", "ServiceSlot5", "ServiceSlot6", "ServiceSlot7", "ShipHangar", "ShipOffline", "Skill", "SkillInTraining", "SpecializedAmmoHold", "SpecializedCommandCenterHold", "SpecializedFuelBay", "SpecializedGasHold", "SpecializedIndustrialShipHold", "SpecializedLargeShipHold", "SpecializedMaterialBay", "SpecializedMediumShipHold", "SpecializedMineralHold", "SpecializedOreHold", "SpecializedPlanetaryCommoditiesHold", "SpecializedSalvageHold", "SpecializedShipHold", "SpecializedSmallShipHold", "StructureActive", "StructureFuel", "StructureInactive", "StructureOffline", "SubSystemSlot0", "SubSystemSlot1", "SubSystemSlot2", "SubSystemSlot3", "SubSystemSlot4", "SubSystemSlot5", "SubSystemSlot6", "SubSystemSlot7", "SubsystemBay", "Unlocked", "Wallet", "Wardrobe"])
223
+ unless validator.valid?(location_flag)
224
+ fail ArgumentError, "invalid value for 'location_flag', must be one of #{validator.allowable_values}."
225
+ end
226
+ @location_flag = location_flag
227
+ end
228
+
229
+ # Custom attribute writer method with validation
230
+ # @param [Object] material_efficiency Value to be assigned
231
+ def material_efficiency=(material_efficiency)
232
+ if material_efficiency.nil?
233
+ fail ArgumentError, "material_efficiency cannot be nil"
234
+ end
235
+
236
+ if material_efficiency > 10
237
+ fail ArgumentError, "invalid value for 'material_efficiency', must be smaller than or equal to 10."
238
+ end
239
+
240
+ if material_efficiency < 0
241
+ fail ArgumentError, "invalid value for 'material_efficiency', must be greater than or equal to 0."
242
+ end
243
+
244
+ @material_efficiency = material_efficiency
245
+ end
246
+
247
+ # Custom attribute writer method with validation
248
+ # @param [Object] quantity Value to be assigned
249
+ def quantity=(quantity)
250
+ if quantity.nil?
251
+ fail ArgumentError, "quantity cannot be nil"
252
+ end
253
+
254
+ if quantity < -2
255
+ fail ArgumentError, "invalid value for 'quantity', must be greater than or equal to -2."
256
+ end
257
+
258
+ @quantity = quantity
259
+ end
260
+
261
+ # Custom attribute writer method with validation
262
+ # @param [Object] runs Value to be assigned
263
+ def runs=(runs)
264
+ if runs.nil?
265
+ fail ArgumentError, "runs cannot be nil"
266
+ end
267
+
268
+ if runs < -1
269
+ fail ArgumentError, "invalid value for 'runs', must be greater than or equal to -1."
270
+ end
271
+
272
+ @runs = runs
273
+ end
274
+
275
+ # Custom attribute writer method with validation
276
+ # @param [Object] time_efficiency Value to be assigned
277
+ def time_efficiency=(time_efficiency)
278
+ if time_efficiency.nil?
279
+ fail ArgumentError, "time_efficiency cannot be nil"
280
+ end
281
+
282
+ if time_efficiency > 20
283
+ fail ArgumentError, "invalid value for 'time_efficiency', must be smaller than or equal to 20."
284
+ end
285
+
286
+ if time_efficiency < 0
287
+ fail ArgumentError, "invalid value for 'time_efficiency', must be greater than or equal to 0."
288
+ end
289
+
290
+ @time_efficiency = time_efficiency
291
+ end
292
+
293
+ # Checks equality by comparing each attribute.
294
+ # @param [Object] Object to be compared
295
+ def ==(o)
296
+ return true if self.equal?(o)
297
+ self.class == o.class &&
298
+ item_id == o.item_id &&
299
+ location_flag == o.location_flag &&
300
+ location_id == o.location_id &&
301
+ material_efficiency == o.material_efficiency &&
302
+ quantity == o.quantity &&
303
+ runs == o.runs &&
304
+ time_efficiency == o.time_efficiency &&
305
+ type_id == o.type_id
306
+ end
307
+
308
+ # @see the `==` method
309
+ # @param [Object] Object to be compared
310
+ def eql?(o)
311
+ self == o
312
+ end
313
+
314
+ # Calculates hash code according to all attributes.
315
+ # @return [Fixnum] Hash code
316
+ def hash
317
+ [item_id, location_flag, location_id, material_efficiency, quantity, runs, time_efficiency, type_id].hash
318
+ end
319
+
320
+ # Builds the object from hash
321
+ # @param [Hash] attributes Model attributes in the form of hash
322
+ # @return [Object] Returns the model itself
323
+ def build_from_hash(attributes)
324
+ return nil unless attributes.is_a?(Hash)
325
+ self.class.swagger_types.each_pair do |key, type|
326
+ if type =~ /\AArray<(.*)>/i
327
+ # check to ensure the input is an array given that the the attribute
328
+ # is documented as an array but the input is not
329
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
330
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
331
+ end
332
+ elsif !attributes[self.class.attribute_map[key]].nil?
333
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
334
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
335
+ end
336
+
337
+ self
338
+ end
339
+
340
+ # Deserializes the data based on type
341
+ # @param string type Data type
342
+ # @param string value Value to be deserialized
343
+ # @return [Object] Deserialized data
344
+ def _deserialize(type, value)
345
+ case type.to_sym
346
+ when :DateTime
347
+ DateTime.parse(value)
348
+ when :Date
349
+ Date.parse(value)
350
+ when :String
351
+ value.to_s
352
+ when :Integer
353
+ value.to_i
354
+ when :Float
355
+ value.to_f
356
+ when :BOOLEAN
357
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
358
+ true
359
+ else
360
+ false
361
+ end
362
+ when :Object
363
+ # generic object (usually a Hash), return directly
364
+ value
365
+ when /\AArray<(?<inner_type>.+)>\z/
366
+ inner_type = Regexp.last_match[:inner_type]
367
+ value.map { |v| _deserialize(inner_type, v) }
368
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
369
+ k_type = Regexp.last_match[:k_type]
370
+ v_type = Regexp.last_match[:v_type]
371
+ {}.tap do |hash|
372
+ value.each do |k, v|
373
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
374
+ end
375
+ end
376
+ else # model
377
+ temp_model = ESIClient.const_get(type).new
378
+ temp_model.build_from_hash(value)
379
+ end
380
+ end
381
+
382
+ # Returns the string representation of the object
383
+ # @return [String] String presentation of the object
384
+ def to_s
385
+ to_hash.to_s
386
+ end
387
+
388
+ # to_body is an alias to to_hash (backward compatibility)
389
+ # @return [Hash] Returns the object in the form of hash
390
+ def to_body
391
+ to_hash
392
+ end
393
+
394
+ # Returns the object in the form of hash
395
+ # @return [Hash] Returns the object in the form of hash
396
+ def to_hash
397
+ hash = {}
398
+ self.class.attribute_map.each_pair do |attr, param|
399
+ value = self.send(attr)
400
+ next if value.nil?
401
+ hash[param] = _to_hash(value)
402
+ end
403
+ hash
404
+ end
405
+
406
+ # Outputs non-array value in the form of hash
407
+ # For object, use to_hash. Otherwise, just return the value
408
+ # @param [Object] value Any valid value
409
+ # @return [Hash] Returns the value in the form of hash
410
+ def _to_hash(value)
411
+ if value.is_a?(Array)
412
+ value.compact.map{ |v| _to_hash(v) }
413
+ elsif value.is_a?(Hash)
414
+ {}.tap do |hash|
415
+ value.each { |k, v| hash[k] = _to_hash(v) }
416
+ end
417
+ elsif value.respond_to? :to_hash
418
+ value.to_hash
419
+ else
420
+ value
421
+ end
422
+ end
423
+
424
+ end
425
+
426
+ end