ruby-esi 0.2.0 → 0.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 (848) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +223 -212
  3. data/docs/AllianceApi.md +17 -17
  4. data/docs/AssetsApi.md +31 -31
  5. data/docs/BookmarksApi.md +25 -25
  6. data/docs/CalendarApi.md +22 -22
  7. data/docs/CharacterApi.md +73 -73
  8. data/docs/ClonesApi.md +11 -11
  9. data/docs/ContactsApi.md +46 -46
  10. data/docs/ContractsApi.md +202 -34
  11. data/docs/CorporationApi.md +118 -118
  12. data/docs/DogmaApi.md +21 -21
  13. data/docs/FactionWarfareApi.md +35 -35
  14. data/docs/FittingsApi.md +14 -14
  15. data/docs/FleetsApi.md +65 -65
  16. data/docs/GetCharactersCharacterIdBlueprints200Ok.md +1 -1
  17. data/docs/GetCharactersCharacterIdContractsContractIdItems200Ok.md +1 -1
  18. data/docs/GetCharactersCharacterIdFittingsItem.md +1 -1
  19. data/docs/GetCharactersCharacterIdMailLabelsLabel.md +1 -1
  20. data/docs/GetCharactersCharacterIdOk.md +1 -0
  21. data/docs/GetCharactersCharacterIdSkillqueue200Ok.md +1 -1
  22. data/docs/GetCharactersCharacterIdWalletJournal200Ok.md +1 -1
  23. data/docs/GetContractsPublicBidsContractId200Ok.md +10 -0
  24. data/docs/GetContractsPublicBidsContractIdForbidden.md +8 -0
  25. data/docs/GetContractsPublicBidsContractIdNotFound.md +8 -0
  26. data/docs/GetContractsPublicItemsContractId200Ok.md +16 -0
  27. data/docs/GetContractsPublicItemsContractIdForbidden.md +8 -0
  28. data/docs/GetContractsPublicItemsContractIdNotFound.md +8 -0
  29. data/docs/GetContractsPublicRegionId200Ok.md +23 -0
  30. data/docs/GetContractsPublicRegionIdNotFound.md +8 -0
  31. data/docs/GetCorporationsCorporationIdBlueprints200Ok.md +1 -1
  32. data/docs/GetCorporationsCorporationIdContractsContractIdItems200Ok.md +1 -1
  33. data/docs/GetCorporationsCorporationIdOk.md +1 -0
  34. data/docs/GetCorporationsCorporationIdStructures200Ok.md +5 -5
  35. data/docs/GetCorporationsCorporationIdWalletsDivisionJournal200Ok.md +1 -1
  36. data/docs/GetFwLeaderboardsCharactersKills.md +1 -1
  37. data/docs/GetFwLeaderboardsCharactersVictoryPoints.md +1 -1
  38. data/docs/GetFwLeaderboardsCorporationsKills.md +1 -1
  39. data/docs/GetFwLeaderboardsCorporationsVictoryPoints.md +1 -1
  40. data/docs/GetFwLeaderboardsKills.md +1 -1
  41. data/docs/GetFwLeaderboardsVictoryPoints.md +1 -1
  42. data/docs/IncursionsApi.md +5 -5
  43. data/docs/IndustryApi.md +48 -48
  44. data/docs/InsuranceApi.md +7 -7
  45. data/docs/KillmailsApi.md +18 -18
  46. data/docs/LocationApi.md +16 -16
  47. data/docs/LoyaltyApi.md +10 -10
  48. data/docs/MailApi.md +41 -41
  49. data/docs/MarketApi.md +60 -60
  50. data/docs/OpportunitiesApi.md +24 -24
  51. data/docs/PlanetaryInteractionApi.md +21 -21
  52. data/docs/PostCharactersCharacterIdFittingsItem.md +1 -1
  53. data/docs/PostCharactersCharacterIdMailLabelsLabel.md +1 -1
  54. data/docs/RoutesApi.md +6 -6
  55. data/docs/SearchApi.md +18 -18
  56. data/docs/SkillsApi.md +16 -16
  57. data/docs/SovereigntyApi.md +13 -13
  58. data/docs/StatusApi.md +5 -5
  59. data/docs/UniverseApi.md +148 -146
  60. data/docs/UserInterfaceApi.md +21 -21
  61. data/docs/WalletApi.md +33 -33
  62. data/docs/WarsApi.md +16 -16
  63. data/lib/ruby-esi.rb +10 -2
  64. data/lib/ruby-esi/api/alliance_api.rb +31 -35
  65. data/lib/ruby-esi/api/assets_api.rb +47 -53
  66. data/lib/ruby-esi/api/bookmarks_api.rb +31 -35
  67. data/lib/ruby-esi/api/calendar_api.rb +33 -37
  68. data/lib/ruby-esi/api/character_api.rb +110 -125
  69. data/lib/ruby-esi/api/clones_api.rb +17 -19
  70. data/lib/ruby-esi/api/contacts_api.rb +66 -75
  71. data/lib/ruby-esi/api/contracts_api.rb +254 -50
  72. data/lib/ruby-esi/api/corporation_api.rb +161 -183
  73. data/lib/ruby-esi/api/dogma_api.rb +38 -43
  74. data/lib/ruby-esi/api/faction_warfare_api.rb +59 -67
  75. data/lib/ruby-esi/api/fittings_api.rb +24 -27
  76. data/lib/ruby-esi/api/fleets_api.rb +109 -123
  77. data/lib/ruby-esi/api/incursions_api.rb +10 -11
  78. data/lib/ruby-esi/api/industry_api.rb +63 -71
  79. data/lib/ruby-esi/api/insurance_api.rb +14 -15
  80. data/lib/ruby-esi/api/killmails_api.rb +24 -27
  81. data/lib/ruby-esi/api/location_api.rb +24 -27
  82. data/lib/ruby-esi/api/loyalty_api.rb +17 -19
  83. data/lib/ruby-esi/api/mail_api.rb +66 -75
  84. data/lib/ruby-esi/api/market_api.rb +86 -97
  85. data/lib/ruby-esi/api/opportunities_api.rb +42 -47
  86. data/lib/ruby-esi/api/planetary_interaction_api.rb +31 -35
  87. data/lib/ruby-esi/api/routes_api.rb +10 -11
  88. data/lib/ruby-esi/api/search_api.rb +25 -27
  89. data/lib/ruby-esi/api/skills_api.rb +24 -27
  90. data/lib/ruby-esi/api/sovereignty_api.rb +24 -27
  91. data/lib/ruby-esi/api/status_api.rb +10 -11
  92. data/lib/ruby-esi/api/universe_api.rb +265 -289
  93. data/lib/ruby-esi/api/user_interface_api.rb +38 -43
  94. data/lib/ruby-esi/api/wallet_api.rb +45 -51
  95. data/lib/ruby-esi/api/wars_api.rb +26 -29
  96. data/lib/ruby-esi/api_client.rb +12 -10
  97. data/lib/ruby-esi/api_error.rb +2 -2
  98. data/lib/ruby-esi/configuration.rb +4 -4
  99. data/lib/ruby-esi/models/bad_request.rb +9 -12
  100. data/lib/ruby-esi/models/delete_characters_character_id_mail_labels_label_id_unprocessable_entity.rb +8 -11
  101. data/lib/ruby-esi/models/delete_fleets_fleet_id_members_member_id_not_found.rb +8 -11
  102. data/lib/ruby-esi/models/delete_fleets_fleet_id_squads_squad_id_not_found.rb +8 -11
  103. data/lib/ruby-esi/models/delete_fleets_fleet_id_wings_wing_id_not_found.rb +8 -11
  104. data/lib/ruby-esi/models/error_limited.rb +9 -12
  105. data/lib/ruby-esi/models/forbidden.rb +9 -12
  106. data/lib/ruby-esi/models/gateway_timeout.rb +9 -12
  107. data/lib/ruby-esi/models/get_alliances_alliance_id_contacts_200_ok.rb +14 -16
  108. data/lib/ruby-esi/models/get_alliances_alliance_id_contacts_labels_200_ok.rb +10 -13
  109. data/lib/ruby-esi/models/get_alliances_alliance_id_icons_not_found.rb +8 -11
  110. data/lib/ruby-esi/models/get_alliances_alliance_id_icons_ok.rb +8 -11
  111. data/lib/ruby-esi/models/get_alliances_alliance_id_not_found.rb +8 -11
  112. data/lib/ruby-esi/models/get_alliances_alliance_id_ok.rb +13 -16
  113. data/lib/ruby-esi/models/get_characters_character_id_agents_research_200_ok.rb +13 -16
  114. data/lib/ruby-esi/models/get_characters_character_id_assets_200_ok.rb +21 -23
  115. data/lib/ruby-esi/models/get_characters_character_id_attributes_ok.rb +13 -16
  116. data/lib/ruby-esi/models/get_characters_character_id_blueprints_200_ok.rb +36 -38
  117. data/lib/ruby-esi/models/get_characters_character_id_bookmarks_200_ok.rb +14 -17
  118. data/lib/ruby-esi/models/get_characters_character_id_bookmarks_coordinates.rb +11 -14
  119. data/lib/ruby-esi/models/get_characters_character_id_bookmarks_folders_200_ok.rb +10 -13
  120. data/lib/ruby-esi/models/get_characters_character_id_bookmarks_item.rb +10 -13
  121. data/lib/ruby-esi/models/get_characters_character_id_calendar_200_ok.rb +11 -13
  122. data/lib/ruby-esi/models/get_characters_character_id_calendar_event_id_attendees_200_ok.rb +11 -13
  123. data/lib/ruby-esi/models/get_characters_character_id_calendar_event_id_attendees_not_found.rb +8 -11
  124. data/lib/ruby-esi/models/get_characters_character_id_calendar_event_id_not_found.rb +8 -11
  125. data/lib/ruby-esi/models/get_characters_character_id_calendar_event_id_ok.rb +21 -23
  126. data/lib/ruby-esi/models/get_characters_character_id_clones_home_location.rb +11 -13
  127. data/lib/ruby-esi/models/get_characters_character_id_clones_jump_clone.rb +15 -17
  128. data/lib/ruby-esi/models/get_characters_character_id_clones_ok.rb +9 -12
  129. data/lib/ruby-esi/models/get_characters_character_id_contacts_200_ok.rb +14 -16
  130. data/lib/ruby-esi/models/get_characters_character_id_contacts_labels_200_ok.rb +10 -13
  131. data/lib/ruby-esi/models/get_characters_character_id_contracts_200_ok.rb +28 -30
  132. data/lib/ruby-esi/models/get_characters_character_id_contracts_contract_id_bids_200_ok.rb +12 -15
  133. data/lib/ruby-esi/models/get_characters_character_id_contracts_contract_id_bids_not_found.rb +8 -11
  134. data/lib/ruby-esi/models/get_characters_character_id_contracts_contract_id_items_200_ok.rb +14 -17
  135. data/lib/ruby-esi/models/get_characters_character_id_contracts_contract_id_items_not_found.rb +8 -11
  136. data/lib/ruby-esi/models/get_characters_character_id_corporationhistory_200_ok.rb +11 -14
  137. data/lib/ruby-esi/models/get_characters_character_id_fatigue_ok.rb +8 -11
  138. data/lib/ruby-esi/models/get_characters_character_id_fittings_200_ok.rb +13 -16
  139. data/lib/ruby-esi/models/get_characters_character_id_fittings_item.rb +46 -15
  140. data/lib/ruby-esi/models/get_characters_character_id_fleet_not_found.rb +8 -11
  141. data/lib/ruby-esi/models/get_characters_character_id_fleet_ok.rb +15 -17
  142. data/lib/ruby-esi/models/get_characters_character_id_fw_stats_kills.rb +11 -14
  143. data/lib/ruby-esi/models/get_characters_character_id_fw_stats_ok.rb +18 -23
  144. data/lib/ruby-esi/models/get_characters_character_id_fw_stats_victory_points.rb +11 -14
  145. data/lib/ruby-esi/models/get_characters_character_id_industry_jobs_200_ok.rb +25 -27
  146. data/lib/ruby-esi/models/get_characters_character_id_killmails_recent_200_ok.rb +10 -13
  147. data/lib/ruby-esi/models/get_characters_character_id_location_ok.rb +9 -12
  148. data/lib/ruby-esi/models/get_characters_character_id_loyalty_points_200_ok.rb +10 -13
  149. data/lib/ruby-esi/models/get_characters_character_id_mail_200_ok.rb +8 -11
  150. data/lib/ruby-esi/models/get_characters_character_id_mail_labels_label.rb +18 -23
  151. data/lib/ruby-esi/models/get_characters_character_id_mail_labels_ok.rb +10 -14
  152. data/lib/ruby-esi/models/get_characters_character_id_mail_lists_200_ok.rb +10 -13
  153. data/lib/ruby-esi/models/get_characters_character_id_mail_mail_id_not_found.rb +8 -11
  154. data/lib/ruby-esi/models/get_characters_character_id_mail_mail_id_ok.rb +8 -11
  155. data/lib/ruby-esi/models/get_characters_character_id_mail_mail_id_recipient.rb +13 -15
  156. data/lib/ruby-esi/models/get_characters_character_id_mail_recipient.rb +13 -15
  157. data/lib/ruby-esi/models/get_characters_character_id_medals_200_ok.rb +20 -22
  158. data/lib/ruby-esi/models/get_characters_character_id_medals_graphic.rb +11 -14
  159. data/lib/ruby-esi/models/get_characters_character_id_mining_200_ok.rb +12 -15
  160. data/lib/ruby-esi/models/get_characters_character_id_not_found.rb +8 -11
  161. data/lib/ruby-esi/models/get_characters_character_id_notifications_200_ok.rb +19 -21
  162. data/lib/ruby-esi/models/get_characters_character_id_notifications_contacts_200_ok.rb +13 -16
  163. data/lib/ruby-esi/models/get_characters_character_id_ok.rb +34 -27
  164. data/lib/ruby-esi/models/get_characters_character_id_online_ok.rb +9 -12
  165. data/lib/ruby-esi/models/get_characters_character_id_opportunities_200_ok.rb +10 -13
  166. data/lib/ruby-esi/models/get_characters_character_id_orders_200_ok.rb +22 -24
  167. data/lib/ruby-esi/models/get_characters_character_id_orders_history_200_ok.rb +26 -28
  168. data/lib/ruby-esi/models/get_characters_character_id_planets_200_ok.rb +26 -28
  169. data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_content.rb +10 -13
  170. data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_extractor_details.rb +9 -12
  171. data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_factory_details.rb +9 -12
  172. data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_head.rb +16 -19
  173. data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_link.rb +16 -19
  174. data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_not_found.rb +8 -11
  175. data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_ok.rb +11 -14
  176. data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_pin.rb +12 -15
  177. data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_route.rb +13 -16
  178. data/lib/ruby-esi/models/get_characters_character_id_portrait_not_found.rb +8 -11
  179. data/lib/ruby-esi/models/get_characters_character_id_portrait_ok.rb +8 -11
  180. data/lib/ruby-esi/models/get_characters_character_id_roles_ok.rb +8 -10
  181. data/lib/ruby-esi/models/get_characters_character_id_search_ok.rb +8 -11
  182. data/lib/ruby-esi/models/get_characters_character_id_ship_ok.rb +11 -14
  183. data/lib/ruby-esi/models/get_characters_character_id_skillqueue_200_ok.rb +17 -20
  184. data/lib/ruby-esi/models/get_characters_character_id_skills_ok.rb +10 -13
  185. data/lib/ruby-esi/models/get_characters_character_id_skills_skill.rb +12 -15
  186. data/lib/ruby-esi/models/get_characters_character_id_standings_200_ok.rb +14 -16
  187. data/lib/ruby-esi/models/get_characters_character_id_stats_200_ok.rb +9 -12
  188. data/lib/ruby-esi/models/get_characters_character_id_stats_character.rb +8 -11
  189. data/lib/ruby-esi/models/get_characters_character_id_stats_combat.rb +8 -11
  190. data/lib/ruby-esi/models/get_characters_character_id_stats_industry.rb +8 -11
  191. data/lib/ruby-esi/models/get_characters_character_id_stats_inventory.rb +8 -11
  192. data/lib/ruby-esi/models/get_characters_character_id_stats_isk.rb +8 -11
  193. data/lib/ruby-esi/models/get_characters_character_id_stats_market.rb +8 -11
  194. data/lib/ruby-esi/models/get_characters_character_id_stats_mining.rb +8 -11
  195. data/lib/ruby-esi/models/get_characters_character_id_stats_module.rb +8 -11
  196. data/lib/ruby-esi/models/get_characters_character_id_stats_orbital.rb +8 -11
  197. data/lib/ruby-esi/models/get_characters_character_id_stats_pve.rb +8 -11
  198. data/lib/ruby-esi/models/get_characters_character_id_stats_social.rb +8 -11
  199. data/lib/ruby-esi/models/get_characters_character_id_stats_travel.rb +8 -11
  200. data/lib/ruby-esi/models/get_characters_character_id_titles_200_ok.rb +8 -11
  201. data/lib/ruby-esi/models/get_characters_character_id_wallet_journal_200_ok.rb +19 -21
  202. data/lib/ruby-esi/models/get_characters_character_id_wallet_transactions_200_ok.rb +18 -21
  203. data/lib/ruby-esi/models/get_contracts_public_bids_contract_id_200_ok.rb +221 -0
  204. data/lib/ruby-esi/models/get_contracts_public_bids_contract_id_forbidden.rb +186 -0
  205. data/lib/ruby-esi/models/get_contracts_public_bids_contract_id_not_found.rb +186 -0
  206. data/lib/ruby-esi/models/get_contracts_public_items_contract_id_200_ok.rb +349 -0
  207. data/lib/ruby-esi/models/get_contracts_public_items_contract_id_forbidden.rb +186 -0
  208. data/lib/ruby-esi/models/get_contracts_public_items_contract_id_not_found.rb +186 -0
  209. data/lib/ruby-esi/models/get_contracts_public_region_id_200_ok.rb +400 -0
  210. data/lib/ruby-esi/models/get_contracts_public_region_id_not_found.rb +186 -0
  211. data/lib/ruby-esi/models/get_corporation_corporation_id_mining_extractions_200_ok.rb +13 -16
  212. data/lib/ruby-esi/models/get_corporation_corporation_id_mining_observers_200_ok.rb +14 -16
  213. data/lib/ruby-esi/models/get_corporation_corporation_id_mining_observers_observer_id_200_ok.rb +13 -16
  214. data/lib/ruby-esi/models/get_corporations_corporation_id_alliancehistory_200_ok.rb +10 -13
  215. data/lib/ruby-esi/models/get_corporations_corporation_id_assets_200_ok.rb +21 -23
  216. data/lib/ruby-esi/models/get_corporations_corporation_id_blueprints_200_ok.rb +36 -38
  217. data/lib/ruby-esi/models/get_corporations_corporation_id_bookmarks_200_ok.rb +14 -17
  218. data/lib/ruby-esi/models/get_corporations_corporation_id_bookmarks_coordinates.rb +11 -14
  219. data/lib/ruby-esi/models/get_corporations_corporation_id_bookmarks_folders_200_ok.rb +10 -13
  220. data/lib/ruby-esi/models/get_corporations_corporation_id_bookmarks_item.rb +10 -13
  221. data/lib/ruby-esi/models/get_corporations_corporation_id_contacts_200_ok.rb +14 -16
  222. data/lib/ruby-esi/models/get_corporations_corporation_id_contacts_labels_200_ok.rb +10 -13
  223. data/lib/ruby-esi/models/get_corporations_corporation_id_containers_logs_200_ok.rb +24 -26
  224. data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_200_ok.rb +28 -30
  225. data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_contract_id_bids_200_ok.rb +12 -15
  226. data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_contract_id_bids_not_found.rb +8 -11
  227. data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_contract_id_items_200_ok.rb +14 -17
  228. data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_contract_id_items_error_520.rb +8 -11
  229. data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_contract_id_items_not_found.rb +8 -11
  230. data/lib/ruby-esi/models/get_corporations_corporation_id_customs_offices_200_ok.rb +27 -29
  231. data/lib/ruby-esi/models/get_corporations_corporation_id_divisions_hangar_hangar.rb +14 -19
  232. data/lib/ruby-esi/models/get_corporations_corporation_id_divisions_ok.rb +8 -11
  233. data/lib/ruby-esi/models/get_corporations_corporation_id_divisions_wallet_wallet.rb +14 -19
  234. data/lib/ruby-esi/models/get_corporations_corporation_id_facilities_200_ok.rb +11 -14
  235. data/lib/ruby-esi/models/get_corporations_corporation_id_fw_stats_kills.rb +11 -14
  236. data/lib/ruby-esi/models/get_corporations_corporation_id_fw_stats_ok.rb +10 -13
  237. data/lib/ruby-esi/models/get_corporations_corporation_id_fw_stats_victory_points.rb +11 -14
  238. data/lib/ruby-esi/models/get_corporations_corporation_id_icons_not_found.rb +8 -11
  239. data/lib/ruby-esi/models/get_corporations_corporation_id_icons_ok.rb +8 -11
  240. data/lib/ruby-esi/models/get_corporations_corporation_id_industry_jobs_200_ok.rb +25 -27
  241. data/lib/ruby-esi/models/get_corporations_corporation_id_killmails_recent_200_ok.rb +10 -13
  242. data/lib/ruby-esi/models/get_corporations_corporation_id_medals_200_ok.rb +19 -22
  243. data/lib/ruby-esi/models/get_corporations_corporation_id_medals_issued_200_ok.rb +20 -22
  244. data/lib/ruby-esi/models/get_corporations_corporation_id_members_titles_200_ok.rb +10 -13
  245. data/lib/ruby-esi/models/get_corporations_corporation_id_membertracking_200_ok.rb +9 -12
  246. data/lib/ruby-esi/models/get_corporations_corporation_id_not_found.rb +8 -11
  247. data/lib/ruby-esi/models/get_corporations_corporation_id_ok.rb +31 -24
  248. data/lib/ruby-esi/models/get_corporations_corporation_id_orders_200_ok.rb +28 -30
  249. data/lib/ruby-esi/models/get_corporations_corporation_id_orders_history_200_ok.rb +31 -33
  250. data/lib/ruby-esi/models/get_corporations_corporation_id_roles_200_ok.rb +9 -11
  251. data/lib/ruby-esi/models/get_corporations_corporation_id_roles_history_200_ok.rb +17 -19
  252. data/lib/ruby-esi/models/get_corporations_corporation_id_shareholders_200_ok.rb +14 -16
  253. data/lib/ruby-esi/models/get_corporations_corporation_id_standings_200_ok.rb +14 -16
  254. data/lib/ruby-esi/models/get_corporations_corporation_id_starbases_200_ok.rb +14 -16
  255. data/lib/ruby-esi/models/get_corporations_corporation_id_starbases_starbase_id_fuel.rb +10 -13
  256. data/lib/ruby-esi/models/get_corporations_corporation_id_starbases_starbase_id_ok.rb +37 -39
  257. data/lib/ruby-esi/models/get_corporations_corporation_id_structures_200_ok.rb +46 -59
  258. data/lib/ruby-esi/models/get_corporations_corporation_id_structures_service.rb +13 -15
  259. data/lib/ruby-esi/models/get_corporations_corporation_id_titles_200_ok.rb +8 -10
  260. data/lib/ruby-esi/models/get_corporations_corporation_id_wallets_200_ok.rb +15 -18
  261. data/lib/ruby-esi/models/get_corporations_corporation_id_wallets_division_journal_200_ok.rb +19 -21
  262. data/lib/ruby-esi/models/get_corporations_corporation_id_wallets_division_transactions_200_ok.rb +17 -20
  263. data/lib/ruby-esi/models/get_dogma_attributes_attribute_id_not_found.rb +8 -11
  264. data/lib/ruby-esi/models/get_dogma_attributes_attribute_id_ok.rb +9 -12
  265. data/lib/ruby-esi/models/get_dogma_dynamic_items_type_id_item_id_dogma_attribute.rb +10 -13
  266. data/lib/ruby-esi/models/get_dogma_dynamic_items_type_id_item_id_dogma_effect.rb +10 -13
  267. data/lib/ruby-esi/models/get_dogma_dynamic_items_type_id_item_id_not_found.rb +8 -11
  268. data/lib/ruby-esi/models/get_dogma_dynamic_items_type_id_item_id_ok.rb +13 -16
  269. data/lib/ruby-esi/models/get_dogma_effects_effect_id_modifier.rb +9 -12
  270. data/lib/ruby-esi/models/get_dogma_effects_effect_id_not_found.rb +8 -11
  271. data/lib/ruby-esi/models/get_dogma_effects_effect_id_ok.rb +9 -12
  272. data/lib/ruby-esi/models/get_fleets_fleet_id_members_200_ok.rb +20 -22
  273. data/lib/ruby-esi/models/get_fleets_fleet_id_members_not_found.rb +8 -11
  274. data/lib/ruby-esi/models/get_fleets_fleet_id_not_found.rb +8 -11
  275. data/lib/ruby-esi/models/get_fleets_fleet_id_ok.rb +12 -15
  276. data/lib/ruby-esi/models/get_fleets_fleet_id_wings_200_ok.rb +11 -14
  277. data/lib/ruby-esi/models/get_fleets_fleet_id_wings_not_found.rb +8 -11
  278. data/lib/ruby-esi/models/get_fleets_fleet_id_wings_squad.rb +10 -13
  279. data/lib/ruby-esi/models/get_fw_leaderboards_active_total_active_total.rb +8 -11
  280. data/lib/ruby-esi/models/get_fw_leaderboards_active_total_active_total_1.rb +8 -11
  281. data/lib/ruby-esi/models/get_fw_leaderboards_characters_active_total_active_total.rb +8 -11
  282. data/lib/ruby-esi/models/get_fw_leaderboards_characters_active_total_active_total_1.rb +8 -11
  283. data/lib/ruby-esi/models/get_fw_leaderboards_characters_kills.rb +13 -16
  284. data/lib/ruby-esi/models/get_fw_leaderboards_characters_last_week_last_week.rb +8 -11
  285. data/lib/ruby-esi/models/get_fw_leaderboards_characters_last_week_last_week_1.rb +8 -11
  286. data/lib/ruby-esi/models/get_fw_leaderboards_characters_ok.rb +10 -13
  287. data/lib/ruby-esi/models/get_fw_leaderboards_characters_victory_points.rb +12 -15
  288. data/lib/ruby-esi/models/get_fw_leaderboards_characters_yesterday_yesterday.rb +8 -11
  289. data/lib/ruby-esi/models/get_fw_leaderboards_characters_yesterday_yesterday_1.rb +8 -11
  290. data/lib/ruby-esi/models/get_fw_leaderboards_corporations_active_total_active_total.rb +8 -11
  291. data/lib/ruby-esi/models/get_fw_leaderboards_corporations_active_total_active_total_1.rb +8 -11
  292. data/lib/ruby-esi/models/get_fw_leaderboards_corporations_kills.rb +13 -16
  293. data/lib/ruby-esi/models/get_fw_leaderboards_corporations_last_week_last_week.rb +8 -11
  294. data/lib/ruby-esi/models/get_fw_leaderboards_corporations_last_week_last_week_1.rb +8 -11
  295. data/lib/ruby-esi/models/get_fw_leaderboards_corporations_ok.rb +10 -13
  296. data/lib/ruby-esi/models/get_fw_leaderboards_corporations_victory_points.rb +12 -15
  297. data/lib/ruby-esi/models/get_fw_leaderboards_corporations_yesterday_yesterday.rb +8 -11
  298. data/lib/ruby-esi/models/get_fw_leaderboards_corporations_yesterday_yesterday_1.rb +8 -11
  299. data/lib/ruby-esi/models/get_fw_leaderboards_kills.rb +13 -16
  300. data/lib/ruby-esi/models/get_fw_leaderboards_last_week_last_week.rb +8 -11
  301. data/lib/ruby-esi/models/get_fw_leaderboards_last_week_last_week_1.rb +8 -11
  302. data/lib/ruby-esi/models/get_fw_leaderboards_ok.rb +10 -13
  303. data/lib/ruby-esi/models/get_fw_leaderboards_victory_points.rb +12 -15
  304. data/lib/ruby-esi/models/get_fw_leaderboards_yesterday_yesterday.rb +8 -11
  305. data/lib/ruby-esi/models/get_fw_leaderboards_yesterday_yesterday_1.rb +8 -11
  306. data/lib/ruby-esi/models/get_fw_stats_200_ok.rb +13 -16
  307. data/lib/ruby-esi/models/get_fw_stats_kills.rb +11 -14
  308. data/lib/ruby-esi/models/get_fw_stats_victory_points.rb +11 -14
  309. data/lib/ruby-esi/models/get_fw_systems_200_ok.rb +17 -19
  310. data/lib/ruby-esi/models/get_fw_wars_200_ok.rb +10 -13
  311. data/lib/ruby-esi/models/get_incursions_200_ok.rb +19 -21
  312. data/lib/ruby-esi/models/get_industry_facilities_200_ok.rb +13 -16
  313. data/lib/ruby-esi/models/get_industry_systems_200_ok.rb +10 -13
  314. data/lib/ruby-esi/models/get_industry_systems_cost_indice.rb +13 -15
  315. data/lib/ruby-esi/models/get_insurance_prices_200_ok.rb +10 -13
  316. data/lib/ruby-esi/models/get_insurance_prices_level.rb +11 -14
  317. data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_attacker.rb +11 -14
  318. data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_item.rb +11 -14
  319. data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_items_item.rb +11 -14
  320. data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_ok.rb +13 -16
  321. data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_position.rb +11 -14
  322. data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_unprocessable_entity.rb +8 -11
  323. data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_victim.rb +10 -13
  324. data/lib/ruby-esi/models/get_loyalty_stores_corporation_id_offers_200_ok.rb +14 -17
  325. data/lib/ruby-esi/models/get_loyalty_stores_corporation_id_offers_not_found.rb +8 -11
  326. data/lib/ruby-esi/models/get_loyalty_stores_corporation_id_offers_required_item.rb +10 -13
  327. data/lib/ruby-esi/models/get_markets_groups_market_group_id_not_found.rb +8 -11
  328. data/lib/ruby-esi/models/get_markets_groups_market_group_id_ok.rb +12 -15
  329. data/lib/ruby-esi/models/get_markets_prices_200_ok.rb +9 -12
  330. data/lib/ruby-esi/models/get_markets_region_id_history_200_ok.rb +14 -17
  331. data/lib/ruby-esi/models/get_markets_region_id_history_error_520.rb +8 -11
  332. data/lib/ruby-esi/models/get_markets_region_id_history_not_found.rb +8 -11
  333. data/lib/ruby-esi/models/get_markets_region_id_history_unprocessable_entity.rb +8 -11
  334. data/lib/ruby-esi/models/get_markets_region_id_orders_200_ok.rb +23 -25
  335. data/lib/ruby-esi/models/get_markets_region_id_orders_not_found.rb +8 -11
  336. data/lib/ruby-esi/models/get_markets_region_id_orders_unprocessable_entity.rb +8 -11
  337. data/lib/ruby-esi/models/get_markets_structures_structure_id_200_ok.rb +22 -24
  338. data/lib/ruby-esi/models/get_opportunities_groups_group_id_ok.rb +14 -17
  339. data/lib/ruby-esi/models/get_opportunities_tasks_task_id_ok.rb +12 -15
  340. data/lib/ruby-esi/models/get_route_origin_destination_not_found.rb +8 -11
  341. data/lib/ruby-esi/models/get_search_ok.rb +8 -11
  342. data/lib/ruby-esi/models/get_sovereignty_campaigns_200_ok.rb +17 -19
  343. data/lib/ruby-esi/models/get_sovereignty_campaigns_participant.rb +10 -13
  344. data/lib/ruby-esi/models/get_sovereignty_map_200_ok.rb +9 -12
  345. data/lib/ruby-esi/models/get_sovereignty_structures_200_ok.rb +12 -15
  346. data/lib/ruby-esi/models/get_status_ok.rb +11 -14
  347. data/lib/ruby-esi/models/get_universe_ancestries_200_ok.rb +12 -15
  348. data/lib/ruby-esi/models/get_universe_asteroid_belts_asteroid_belt_id_not_found.rb +8 -11
  349. data/lib/ruby-esi/models/get_universe_asteroid_belts_asteroid_belt_id_ok.rb +11 -14
  350. data/lib/ruby-esi/models/get_universe_asteroid_belts_asteroid_belt_id_position.rb +11 -14
  351. data/lib/ruby-esi/models/get_universe_bloodlines_200_ok.rb +19 -22
  352. data/lib/ruby-esi/models/get_universe_categories_category_id_not_found.rb +8 -11
  353. data/lib/ruby-esi/models/get_universe_categories_category_id_ok.rb +12 -15
  354. data/lib/ruby-esi/models/get_universe_constellations_constellation_id_not_found.rb +8 -11
  355. data/lib/ruby-esi/models/get_universe_constellations_constellation_id_ok.rb +13 -16
  356. data/lib/ruby-esi/models/get_universe_constellations_constellation_id_position.rb +11 -14
  357. data/lib/ruby-esi/models/get_universe_factions_200_ok.rb +15 -18
  358. data/lib/ruby-esi/models/get_universe_graphics_graphic_id_not_found.rb +8 -11
  359. data/lib/ruby-esi/models/get_universe_graphics_graphic_id_ok.rb +9 -12
  360. data/lib/ruby-esi/models/get_universe_groups_group_id_not_found.rb +8 -11
  361. data/lib/ruby-esi/models/get_universe_groups_group_id_ok.rb +13 -16
  362. data/lib/ruby-esi/models/get_universe_moons_moon_id_not_found.rb +8 -11
  363. data/lib/ruby-esi/models/get_universe_moons_moon_id_ok.rb +12 -15
  364. data/lib/ruby-esi/models/get_universe_moons_moon_id_position.rb +11 -14
  365. data/lib/ruby-esi/models/get_universe_planets_planet_id_not_found.rb +8 -11
  366. data/lib/ruby-esi/models/get_universe_planets_planet_id_ok.rb +13 -16
  367. data/lib/ruby-esi/models/get_universe_planets_planet_id_position.rb +11 -14
  368. data/lib/ruby-esi/models/get_universe_races_200_ok.rb +12 -15
  369. data/lib/ruby-esi/models/get_universe_regions_region_id_not_found.rb +8 -11
  370. data/lib/ruby-esi/models/get_universe_regions_region_id_ok.rb +11 -14
  371. data/lib/ruby-esi/models/get_universe_schematics_schematic_id_not_found.rb +8 -11
  372. data/lib/ruby-esi/models/get_universe_schematics_schematic_id_ok.rb +10 -13
  373. data/lib/ruby-esi/models/get_universe_stargates_stargate_id_destination.rb +10 -13
  374. data/lib/ruby-esi/models/get_universe_stargates_stargate_id_not_found.rb +8 -11
  375. data/lib/ruby-esi/models/get_universe_stargates_stargate_id_ok.rb +14 -17
  376. data/lib/ruby-esi/models/get_universe_stargates_stargate_id_position.rb +11 -14
  377. data/lib/ruby-esi/models/get_universe_stars_star_id_ok.rb +19 -21
  378. data/lib/ruby-esi/models/get_universe_stations_station_id_not_found.rb +8 -11
  379. data/lib/ruby-esi/models/get_universe_stations_station_id_ok.rb +18 -20
  380. data/lib/ruby-esi/models/get_universe_stations_station_id_position.rb +11 -14
  381. data/lib/ruby-esi/models/get_universe_structures_structure_id_not_found.rb +8 -11
  382. data/lib/ruby-esi/models/get_universe_structures_structure_id_ok.rb +11 -14
  383. data/lib/ruby-esi/models/get_universe_structures_structure_id_position.rb +11 -14
  384. data/lib/ruby-esi/models/get_universe_system_jumps_200_ok.rb +10 -13
  385. data/lib/ruby-esi/models/get_universe_system_kills_200_ok.rb +12 -15
  386. data/lib/ruby-esi/models/get_universe_systems_system_id_not_found.rb +8 -11
  387. data/lib/ruby-esi/models/get_universe_systems_system_id_ok.rb +13 -16
  388. data/lib/ruby-esi/models/get_universe_systems_system_id_planet.rb +9 -12
  389. data/lib/ruby-esi/models/get_universe_systems_system_id_position.rb +11 -14
  390. data/lib/ruby-esi/models/get_universe_types_type_id_dogma_attribute.rb +10 -13
  391. data/lib/ruby-esi/models/get_universe_types_type_id_dogma_effect.rb +10 -13
  392. data/lib/ruby-esi/models/get_universe_types_type_id_not_found.rb +8 -11
  393. data/lib/ruby-esi/models/get_universe_types_type_id_ok.rb +13 -16
  394. data/lib/ruby-esi/models/get_wars_war_id_aggressor.rb +10 -13
  395. data/lib/ruby-esi/models/get_wars_war_id_ally.rb +8 -11
  396. data/lib/ruby-esi/models/get_wars_war_id_defender.rb +10 -13
  397. data/lib/ruby-esi/models/get_wars_war_id_killmails_200_ok.rb +10 -13
  398. data/lib/ruby-esi/models/get_wars_war_id_killmails_unprocessable_entity.rb +8 -11
  399. data/lib/ruby-esi/models/get_wars_war_id_ok.rb +14 -17
  400. data/lib/ruby-esi/models/get_wars_war_id_unprocessable_entity.rb +8 -11
  401. data/lib/ruby-esi/models/internal_server_error.rb +9 -12
  402. data/lib/ruby-esi/models/post_characters_affiliation_200_ok.rb +10 -13
  403. data/lib/ruby-esi/models/post_characters_affiliation_not_found.rb +8 -11
  404. data/lib/ruby-esi/models/post_characters_character_id_assets_locations_200_ok.rb +10 -13
  405. data/lib/ruby-esi/models/post_characters_character_id_assets_locations_position.rb +11 -14
  406. data/lib/ruby-esi/models/post_characters_character_id_assets_names_200_ok.rb +10 -13
  407. data/lib/ruby-esi/models/post_characters_character_id_contacts_error_520.rb +8 -11
  408. data/lib/ruby-esi/models/post_characters_character_id_fittings_created.rb +9 -12
  409. data/lib/ruby-esi/models/post_characters_character_id_fittings_fitting.rb +22 -25
  410. data/lib/ruby-esi/models/post_characters_character_id_fittings_item.rb +46 -15
  411. data/lib/ruby-esi/models/post_characters_character_id_mail_error_520.rb +8 -11
  412. data/lib/ruby-esi/models/post_characters_character_id_mail_labels_label.rb +18 -20
  413. data/lib/ruby-esi/models/post_characters_character_id_mail_mail.rb +17 -20
  414. data/lib/ruby-esi/models/post_characters_character_id_mail_recipient.rb +13 -15
  415. data/lib/ruby-esi/models/post_corporations_corporation_id_assets_locations_200_ok.rb +10 -13
  416. data/lib/ruby-esi/models/post_corporations_corporation_id_assets_locations_not_found.rb +8 -11
  417. data/lib/ruby-esi/models/post_corporations_corporation_id_assets_locations_position.rb +11 -14
  418. data/lib/ruby-esi/models/post_corporations_corporation_id_assets_names_200_ok.rb +10 -13
  419. data/lib/ruby-esi/models/post_corporations_corporation_id_assets_names_not_found.rb +8 -11
  420. data/lib/ruby-esi/models/post_fleets_fleet_id_members_invitation.rb +17 -21
  421. data/lib/ruby-esi/models/post_fleets_fleet_id_members_not_found.rb +8 -11
  422. data/lib/ruby-esi/models/post_fleets_fleet_id_members_unprocessable_entity.rb +8 -11
  423. data/lib/ruby-esi/models/post_fleets_fleet_id_wings_created.rb +9 -12
  424. data/lib/ruby-esi/models/post_fleets_fleet_id_wings_not_found.rb +8 -11
  425. data/lib/ruby-esi/models/post_fleets_fleet_id_wings_wing_id_squads_created.rb +9 -12
  426. data/lib/ruby-esi/models/post_fleets_fleet_id_wings_wing_id_squads_not_found.rb +8 -11
  427. data/lib/ruby-esi/models/post_ui_openwindow_newmail_new_mail.rb +17 -20
  428. data/lib/ruby-esi/models/post_ui_openwindow_newmail_unprocessable_entity.rb +8 -11
  429. data/lib/ruby-esi/models/post_universe_ids_agent.rb +8 -11
  430. data/lib/ruby-esi/models/post_universe_ids_alliance.rb +8 -11
  431. data/lib/ruby-esi/models/post_universe_ids_character.rb +8 -11
  432. data/lib/ruby-esi/models/post_universe_ids_constellation.rb +8 -11
  433. data/lib/ruby-esi/models/post_universe_ids_corporation.rb +8 -11
  434. data/lib/ruby-esi/models/post_universe_ids_faction.rb +8 -11
  435. data/lib/ruby-esi/models/post_universe_ids_inventory_type.rb +8 -11
  436. data/lib/ruby-esi/models/post_universe_ids_ok.rb +8 -11
  437. data/lib/ruby-esi/models/post_universe_ids_region.rb +8 -11
  438. data/lib/ruby-esi/models/post_universe_ids_station.rb +8 -11
  439. data/lib/ruby-esi/models/post_universe_ids_system.rb +8 -11
  440. data/lib/ruby-esi/models/post_universe_names_200_ok.rb +14 -16
  441. data/lib/ruby-esi/models/post_universe_names_not_found.rb +8 -11
  442. data/lib/ruby-esi/models/put_characters_character_id_calendar_event_id_response.rb +12 -14
  443. data/lib/ruby-esi/models/put_characters_character_id_mail_mail_id_contents.rb +8 -11
  444. data/lib/ruby-esi/models/put_fleets_fleet_id_members_member_id_movement.rb +16 -20
  445. data/lib/ruby-esi/models/put_fleets_fleet_id_members_member_id_not_found.rb +8 -11
  446. data/lib/ruby-esi/models/put_fleets_fleet_id_members_member_id_unprocessable_entity.rb +8 -11
  447. data/lib/ruby-esi/models/put_fleets_fleet_id_new_settings.rb +8 -11
  448. data/lib/ruby-esi/models/put_fleets_fleet_id_not_found.rb +8 -11
  449. data/lib/ruby-esi/models/put_fleets_fleet_id_squads_squad_id_naming.rb +12 -15
  450. data/lib/ruby-esi/models/put_fleets_fleet_id_squads_squad_id_not_found.rb +8 -11
  451. data/lib/ruby-esi/models/put_fleets_fleet_id_wings_wing_id_naming.rb +12 -15
  452. data/lib/ruby-esi/models/put_fleets_fleet_id_wings_wing_id_not_found.rb +8 -11
  453. data/lib/ruby-esi/models/service_unavailable.rb +9 -12
  454. data/lib/ruby-esi/models/unauthorized.rb +9 -12
  455. data/lib/ruby-esi/version.rb +3 -3
  456. data/ruby-esi.gemspec +5 -5
  457. data/spec/api/alliance_api_spec.rb +10 -10
  458. data/spec/api/assets_api_spec.rb +15 -15
  459. data/spec/api/bookmarks_api_spec.rb +10 -10
  460. data/spec/api/calendar_api_spec.rb +11 -11
  461. data/spec/api/character_api_spec.rb +33 -33
  462. data/spec/api/clones_api_spec.rb +6 -6
  463. data/spec/api/contacts_api_spec.rb +20 -20
  464. data/spec/api/contracts_api_spec.rb +59 -14
  465. data/spec/api/corporation_api_spec.rb +46 -46
  466. data/spec/api/dogma_api_spec.rb +12 -12
  467. data/spec/api/faction_warfare_api_spec.rb +18 -18
  468. data/spec/api/fittings_api_spec.rb +8 -8
  469. data/spec/api/fleets_api_spec.rb +30 -30
  470. data/spec/api/incursions_api_spec.rb +4 -4
  471. data/spec/api/industry_api_spec.rb +20 -20
  472. data/spec/api/insurance_api_spec.rb +4 -4
  473. data/spec/api/killmails_api_spec.rb +8 -8
  474. data/spec/api/location_api_spec.rb +8 -8
  475. data/spec/api/loyalty_api_spec.rb +6 -6
  476. data/spec/api/mail_api_spec.rb +20 -20
  477. data/spec/api/market_api_spec.rb +25 -25
  478. data/spec/api/opportunities_api_spec.rb +12 -12
  479. data/spec/api/planetary_interaction_api_spec.rb +10 -10
  480. data/spec/api/routes_api_spec.rb +4 -4
  481. data/spec/api/search_api_spec.rb +6 -6
  482. data/spec/api/skills_api_spec.rb +8 -8
  483. data/spec/api/sovereignty_api_spec.rb +8 -8
  484. data/spec/api/status_api_spec.rb +4 -4
  485. data/spec/api/universe_api_spec.rb +64 -63
  486. data/spec/api/user_interface_api_spec.rb +12 -12
  487. data/spec/api/wallet_api_spec.rb +14 -14
  488. data/spec/api/wars_api_spec.rb +9 -9
  489. data/spec/api_client_spec.rb +53 -36
  490. data/spec/configuration_spec.rb +10 -10
  491. data/spec/models/bad_request_spec.rb +3 -4
  492. data/spec/models/delete_characters_character_id_mail_labels_label_id_unprocessable_entity_spec.rb +3 -4
  493. data/spec/models/delete_fleets_fleet_id_members_member_id_not_found_spec.rb +3 -4
  494. data/spec/models/delete_fleets_fleet_id_squads_squad_id_not_found_spec.rb +3 -4
  495. data/spec/models/delete_fleets_fleet_id_wings_wing_id_not_found_spec.rb +3 -4
  496. data/spec/models/error_limited_spec.rb +3 -4
  497. data/spec/models/forbidden_spec.rb +4 -5
  498. data/spec/models/gateway_timeout_spec.rb +4 -5
  499. data/spec/models/get_alliances_alliance_id_contacts_200_ok_spec.rb +10 -11
  500. data/spec/models/get_alliances_alliance_id_contacts_labels_200_ok_spec.rb +4 -5
  501. data/spec/models/get_alliances_alliance_id_icons_not_found_spec.rb +3 -4
  502. data/spec/models/get_alliances_alliance_id_icons_ok_spec.rb +4 -5
  503. data/spec/models/get_alliances_alliance_id_not_found_spec.rb +3 -4
  504. data/spec/models/get_alliances_alliance_id_ok_spec.rb +9 -10
  505. data/spec/models/get_characters_character_id_agents_research_200_ok_spec.rb +7 -8
  506. data/spec/models/get_characters_character_id_assets_200_ok_spec.rb +18 -19
  507. data/spec/models/get_characters_character_id_attributes_ok_spec.rb +10 -11
  508. data/spec/models/get_characters_character_id_blueprints_200_ok_spec.rb +14 -15
  509. data/spec/models/get_characters_character_id_bookmarks_200_ok_spec.rb +11 -12
  510. data/spec/models/get_characters_character_id_bookmarks_coordinates_spec.rb +5 -6
  511. data/spec/models/get_characters_character_id_bookmarks_folders_200_ok_spec.rb +4 -5
  512. data/spec/models/get_characters_character_id_bookmarks_item_spec.rb +4 -5
  513. data/spec/models/get_characters_character_id_calendar_200_ok_spec.rb +11 -12
  514. data/spec/models/get_characters_character_id_calendar_event_id_attendees_200_ok_spec.rb +8 -9
  515. data/spec/models/get_characters_character_id_calendar_event_id_attendees_not_found_spec.rb +3 -4
  516. data/spec/models/get_characters_character_id_calendar_event_id_not_found_spec.rb +3 -4
  517. data/spec/models/get_characters_character_id_calendar_event_id_ok_spec.rb +16 -17
  518. data/spec/models/get_characters_character_id_clones_home_location_spec.rb +8 -9
  519. data/spec/models/get_characters_character_id_clones_jump_clone_spec.rb +11 -12
  520. data/spec/models/get_characters_character_id_clones_ok_spec.rb +6 -7
  521. data/spec/models/get_characters_character_id_contacts_200_ok_spec.rb +12 -13
  522. data/spec/models/get_characters_character_id_contacts_labels_200_ok_spec.rb +4 -5
  523. data/spec/models/get_characters_character_id_contracts_200_ok_spec.rb +36 -37
  524. data/spec/models/get_characters_character_id_contracts_contract_id_bids_200_ok_spec.rb +6 -7
  525. data/spec/models/get_characters_character_id_contracts_contract_id_bids_not_found_spec.rb +3 -4
  526. data/spec/models/get_characters_character_id_contracts_contract_id_items_200_ok_spec.rb +8 -9
  527. data/spec/models/get_characters_character_id_contracts_contract_id_items_not_found_spec.rb +3 -4
  528. data/spec/models/get_characters_character_id_corporationhistory_200_ok_spec.rb +6 -7
  529. data/spec/models/get_characters_character_id_fatigue_ok_spec.rb +5 -6
  530. data/spec/models/get_characters_character_id_fittings_200_ok_spec.rb +7 -8
  531. data/spec/models/get_characters_character_id_fittings_item_spec.rb +9 -6
  532. data/spec/models/get_characters_character_id_fleet_not_found_spec.rb +3 -4
  533. data/spec/models/get_characters_character_id_fleet_ok_spec.rb +10 -11
  534. data/spec/models/get_characters_character_id_fw_stats_kills_spec.rb +5 -6
  535. data/spec/models/get_characters_character_id_fw_stats_ok_spec.rb +8 -9
  536. data/spec/models/get_characters_character_id_fw_stats_victory_points_spec.rb +5 -6
  537. data/spec/models/get_characters_character_id_industry_jobs_200_ok_spec.rb +28 -29
  538. data/spec/models/get_characters_character_id_killmails_recent_200_ok_spec.rb +4 -5
  539. data/spec/models/get_characters_character_id_location_ok_spec.rb +5 -6
  540. data/spec/models/get_characters_character_id_loyalty_points_200_ok_spec.rb +4 -5
  541. data/spec/models/get_characters_character_id_mail_200_ok_spec.rb +9 -10
  542. data/spec/models/get_characters_character_id_mail_labels_label_spec.rb +10 -11
  543. data/spec/models/get_characters_character_id_mail_labels_ok_spec.rb +4 -5
  544. data/spec/models/get_characters_character_id_mail_lists_200_ok_spec.rb +4 -5
  545. data/spec/models/get_characters_character_id_mail_mail_id_not_found_spec.rb +3 -4
  546. data/spec/models/get_characters_character_id_mail_mail_id_ok_spec.rb +9 -10
  547. data/spec/models/get_characters_character_id_mail_mail_id_recipient_spec.rb +8 -9
  548. data/spec/models/get_characters_character_id_mail_recipient_spec.rb +8 -9
  549. data/spec/models/get_characters_character_id_medals_200_ok_spec.rb +15 -16
  550. data/spec/models/get_characters_character_id_medals_graphic_spec.rb +6 -7
  551. data/spec/models/get_characters_character_id_mining_200_ok_spec.rb +6 -7
  552. data/spec/models/get_characters_character_id_not_found_spec.rb +3 -4
  553. data/spec/models/get_characters_character_id_notifications_200_ok_spec.rb +17 -18
  554. data/spec/models/get_characters_character_id_notifications_contacts_200_ok_spec.rb +7 -8
  555. data/spec/models/get_characters_character_id_ok_spec.rb +23 -18
  556. data/spec/models/get_characters_character_id_online_ok_spec.rb +6 -7
  557. data/spec/models/get_characters_character_id_opportunities_200_ok_spec.rb +4 -5
  558. data/spec/models/get_characters_character_id_orders_200_ok_spec.rb +20 -21
  559. data/spec/models/get_characters_character_id_orders_history_200_ok_spec.rb +25 -26
  560. data/spec/models/get_characters_character_id_planets_200_ok_spec.rb +13 -14
  561. data/spec/models/get_characters_character_id_planets_planet_id_content_spec.rb +4 -5
  562. data/spec/models/get_characters_character_id_planets_planet_id_extractor_details_spec.rb +7 -8
  563. data/spec/models/get_characters_character_id_planets_planet_id_factory_details_spec.rb +3 -4
  564. data/spec/models/get_characters_character_id_planets_planet_id_head_spec.rb +5 -6
  565. data/spec/models/get_characters_character_id_planets_planet_id_link_spec.rb +5 -6
  566. data/spec/models/get_characters_character_id_planets_planet_id_not_found_spec.rb +3 -4
  567. data/spec/models/get_characters_character_id_planets_planet_id_ok_spec.rb +5 -6
  568. data/spec/models/get_characters_character_id_planets_planet_id_pin_spec.rb +13 -14
  569. data/spec/models/get_characters_character_id_planets_planet_id_route_spec.rb +8 -9
  570. data/spec/models/get_characters_character_id_portrait_not_found_spec.rb +3 -4
  571. data/spec/models/get_characters_character_id_portrait_ok_spec.rb +6 -7
  572. data/spec/models/get_characters_character_id_roles_ok_spec.rb +22 -23
  573. data/spec/models/get_characters_character_id_search_ok_spec.rb +13 -14
  574. data/spec/models/get_characters_character_id_ship_ok_spec.rb +5 -6
  575. data/spec/models/get_characters_character_id_skillqueue_200_ok_spec.rb +10 -11
  576. data/spec/models/get_characters_character_id_skills_ok_spec.rb +5 -6
  577. data/spec/models/get_characters_character_id_skills_skill_spec.rb +6 -7
  578. data/spec/models/get_characters_character_id_standings_200_ok_spec.rb +9 -10
  579. data/spec/models/get_characters_character_id_stats_200_ok_spec.rb +15 -16
  580. data/spec/models/get_characters_character_id_stats_character_spec.rb +5 -6
  581. data/spec/models/get_characters_character_id_stats_combat_spec.rb +96 -97
  582. data/spec/models/get_characters_character_id_stats_industry_spec.rb +38 -39
  583. data/spec/models/get_characters_character_id_stats_inventory_spec.rb +4 -5
  584. data/spec/models/get_characters_character_id_stats_isk_spec.rb +4 -5
  585. data/spec/models/get_characters_character_id_stats_market_spec.rb +15 -16
  586. data/spec/models/get_characters_character_id_stats_mining_spec.rb +21 -22
  587. data/spec/models/get_characters_character_id_stats_module_spec.rb +71 -72
  588. data/spec/models/get_characters_character_id_stats_orbital_spec.rb +5 -6
  589. data/spec/models/get_characters_character_id_stats_pve_spec.rb +6 -7
  590. data/spec/models/get_characters_character_id_stats_social_spec.rb +27 -28
  591. data/spec/models/get_characters_character_id_stats_travel_spec.rb +23 -24
  592. data/spec/models/get_characters_character_id_titles_200_ok_spec.rb +4 -5
  593. data/spec/models/get_characters_character_id_wallet_journal_200_ok_spec.rb +23 -24
  594. data/spec/models/get_characters_character_id_wallet_transactions_200_ok_spec.rb +12 -13
  595. data/spec/models/get_contracts_public_bids_contract_id_200_ok_spec.rb +53 -0
  596. data/spec/models/get_contracts_public_bids_contract_id_forbidden_spec.rb +41 -0
  597. data/spec/models/get_contracts_public_bids_contract_id_not_found_spec.rb +41 -0
  598. data/spec/models/get_contracts_public_items_contract_id_200_ok_spec.rb +89 -0
  599. data/spec/models/get_contracts_public_items_contract_id_forbidden_spec.rb +41 -0
  600. data/spec/models/get_contracts_public_items_contract_id_not_found_spec.rb +41 -0
  601. data/spec/models/get_contracts_public_region_id_200_ok_spec.rb +135 -0
  602. data/spec/models/get_contracts_public_region_id_not_found_spec.rb +41 -0
  603. data/spec/models/get_corporation_corporation_id_mining_extractions_200_ok_spec.rb +7 -8
  604. data/spec/models/get_corporation_corporation_id_mining_observers_200_ok_spec.rb +9 -10
  605. data/spec/models/get_corporation_corporation_id_mining_observers_observer_id_200_ok_spec.rb +7 -8
  606. data/spec/models/get_corporations_corporation_id_alliancehistory_200_ok_spec.rb +6 -7
  607. data/spec/models/get_corporations_corporation_id_assets_200_ok_spec.rb +18 -19
  608. data/spec/models/get_corporations_corporation_id_blueprints_200_ok_spec.rb +14 -15
  609. data/spec/models/get_corporations_corporation_id_bookmarks_200_ok_spec.rb +11 -12
  610. data/spec/models/get_corporations_corporation_id_bookmarks_coordinates_spec.rb +5 -6
  611. data/spec/models/get_corporations_corporation_id_bookmarks_folders_200_ok_spec.rb +5 -6
  612. data/spec/models/get_corporations_corporation_id_bookmarks_item_spec.rb +4 -5
  613. data/spec/models/get_corporations_corporation_id_contacts_200_ok_spec.rb +11 -12
  614. data/spec/models/get_corporations_corporation_id_contacts_labels_200_ok_spec.rb +4 -5
  615. data/spec/models/get_corporations_corporation_id_containers_logs_200_ok_spec.rb +26 -27
  616. data/spec/models/get_corporations_corporation_id_contracts_200_ok_spec.rb +36 -37
  617. data/spec/models/get_corporations_corporation_id_contracts_contract_id_bids_200_ok_spec.rb +6 -7
  618. data/spec/models/get_corporations_corporation_id_contracts_contract_id_bids_not_found_spec.rb +3 -4
  619. data/spec/models/get_corporations_corporation_id_contracts_contract_id_items_200_ok_spec.rb +8 -9
  620. data/spec/models/get_corporations_corporation_id_contracts_contract_id_items_error_520_spec.rb +3 -4
  621. data/spec/models/get_corporations_corporation_id_contracts_contract_id_items_not_found_spec.rb +3 -4
  622. data/spec/models/get_corporations_corporation_id_customs_offices_200_ok_spec.rb +20 -21
  623. data/spec/models/get_corporations_corporation_id_divisions_hangar_hangar_spec.rb +4 -5
  624. data/spec/models/get_corporations_corporation_id_divisions_ok_spec.rb +4 -5
  625. data/spec/models/get_corporations_corporation_id_divisions_wallet_wallet_spec.rb +4 -5
  626. data/spec/models/get_corporations_corporation_id_facilities_200_ok_spec.rb +5 -6
  627. data/spec/models/get_corporations_corporation_id_fw_stats_kills_spec.rb +5 -6
  628. data/spec/models/get_corporations_corporation_id_fw_stats_ok_spec.rb +7 -8
  629. data/spec/models/get_corporations_corporation_id_fw_stats_victory_points_spec.rb +5 -6
  630. data/spec/models/get_corporations_corporation_id_icons_not_found_spec.rb +3 -4
  631. data/spec/models/get_corporations_corporation_id_icons_ok_spec.rb +5 -6
  632. data/spec/models/get_corporations_corporation_id_industry_jobs_200_ok_spec.rb +28 -29
  633. data/spec/models/get_corporations_corporation_id_killmails_recent_200_ok_spec.rb +4 -5
  634. data/spec/models/get_corporations_corporation_id_medals_200_ok_spec.rb +7 -8
  635. data/spec/models/get_corporations_corporation_id_medals_issued_200_ok_spec.rb +12 -13
  636. data/spec/models/get_corporations_corporation_id_members_titles_200_ok_spec.rb +4 -5
  637. data/spec/models/get_corporations_corporation_id_membertracking_200_ok_spec.rb +9 -10
  638. data/spec/models/get_corporations_corporation_id_not_found_spec.rb +3 -4
  639. data/spec/models/get_corporations_corporation_id_ok_spec.rb +21 -16
  640. data/spec/models/get_corporations_corporation_id_orders_200_ok_spec.rb +21 -22
  641. data/spec/models/get_corporations_corporation_id_orders_history_200_ok_spec.rb +26 -27
  642. data/spec/models/get_corporations_corporation_id_roles_200_ok_spec.rb +43 -44
  643. data/spec/models/get_corporations_corporation_id_roles_history_200_ok_spec.rb +20 -21
  644. data/spec/models/get_corporations_corporation_id_shareholders_200_ok_spec.rb +9 -10
  645. data/spec/models/get_corporations_corporation_id_standings_200_ok_spec.rb +9 -10
  646. data/spec/models/get_corporations_corporation_id_starbases_200_ok_spec.rb +14 -15
  647. data/spec/models/get_corporations_corporation_id_starbases_starbase_id_fuel_spec.rb +4 -5
  648. data/spec/models/get_corporations_corporation_id_starbases_starbase_id_ok_spec.rb +40 -41
  649. data/spec/models/get_corporations_corporation_id_structures_200_ok_spec.rb +22 -23
  650. data/spec/models/get_corporations_corporation_id_structures_service_spec.rb +8 -9
  651. data/spec/models/get_corporations_corporation_id_titles_200_ok_spec.rb +44 -45
  652. data/spec/models/get_corporations_corporation_id_wallets_200_ok_spec.rb +4 -5
  653. data/spec/models/get_corporations_corporation_id_wallets_division_journal_200_ok_spec.rb +23 -24
  654. data/spec/models/get_corporations_corporation_id_wallets_division_transactions_200_ok_spec.rb +11 -12
  655. data/spec/models/get_dogma_attributes_attribute_id_not_found_spec.rb +3 -4
  656. data/spec/models/get_dogma_attributes_attribute_id_ok_spec.rb +12 -13
  657. data/spec/models/get_dogma_dynamic_items_type_id_item_id_dogma_attribute_spec.rb +4 -5
  658. data/spec/models/get_dogma_dynamic_items_type_id_item_id_dogma_effect_spec.rb +4 -5
  659. data/spec/models/get_dogma_dynamic_items_type_id_item_id_not_found_spec.rb +3 -4
  660. data/spec/models/get_dogma_dynamic_items_type_id_item_id_ok_spec.rb +7 -8
  661. data/spec/models/get_dogma_effects_effect_id_modifier_spec.rb +8 -9
  662. data/spec/models/get_dogma_effects_effect_id_not_found_spec.rb +3 -4
  663. data/spec/models/get_dogma_effects_effect_id_ok_spec.rb +23 -24
  664. data/spec/models/get_fleets_fleet_id_members_200_ok_spec.rb +16 -17
  665. data/spec/models/get_fleets_fleet_id_members_not_found_spec.rb +3 -4
  666. data/spec/models/get_fleets_fleet_id_not_found_spec.rb +3 -4
  667. data/spec/models/get_fleets_fleet_id_ok_spec.rb +6 -7
  668. data/spec/models/get_fleets_fleet_id_wings_200_ok_spec.rb +5 -6
  669. data/spec/models/get_fleets_fleet_id_wings_not_found_spec.rb +3 -4
  670. data/spec/models/get_fleets_fleet_id_wings_squad_spec.rb +4 -5
  671. data/spec/models/get_fw_leaderboards_active_total_active_total_1_spec.rb +4 -5
  672. data/spec/models/get_fw_leaderboards_active_total_active_total_spec.rb +4 -5
  673. data/spec/models/get_fw_leaderboards_characters_active_total_active_total_1_spec.rb +4 -5
  674. data/spec/models/get_fw_leaderboards_characters_active_total_active_total_spec.rb +4 -5
  675. data/spec/models/get_fw_leaderboards_characters_kills_spec.rb +5 -6
  676. data/spec/models/get_fw_leaderboards_characters_last_week_last_week_1_spec.rb +4 -5
  677. data/spec/models/get_fw_leaderboards_characters_last_week_last_week_spec.rb +4 -5
  678. data/spec/models/get_fw_leaderboards_characters_ok_spec.rb +4 -5
  679. data/spec/models/get_fw_leaderboards_characters_victory_points_spec.rb +5 -6
  680. data/spec/models/get_fw_leaderboards_characters_yesterday_yesterday_1_spec.rb +4 -5
  681. data/spec/models/get_fw_leaderboards_characters_yesterday_yesterday_spec.rb +4 -5
  682. data/spec/models/get_fw_leaderboards_corporations_active_total_active_total_1_spec.rb +4 -5
  683. data/spec/models/get_fw_leaderboards_corporations_active_total_active_total_spec.rb +4 -5
  684. data/spec/models/get_fw_leaderboards_corporations_kills_spec.rb +5 -6
  685. data/spec/models/get_fw_leaderboards_corporations_last_week_last_week_1_spec.rb +4 -5
  686. data/spec/models/get_fw_leaderboards_corporations_last_week_last_week_spec.rb +4 -5
  687. data/spec/models/get_fw_leaderboards_corporations_ok_spec.rb +4 -5
  688. data/spec/models/get_fw_leaderboards_corporations_victory_points_spec.rb +5 -6
  689. data/spec/models/get_fw_leaderboards_corporations_yesterday_yesterday_1_spec.rb +4 -5
  690. data/spec/models/get_fw_leaderboards_corporations_yesterday_yesterday_spec.rb +4 -5
  691. data/spec/models/get_fw_leaderboards_kills_spec.rb +5 -6
  692. data/spec/models/get_fw_leaderboards_last_week_last_week_1_spec.rb +4 -5
  693. data/spec/models/get_fw_leaderboards_last_week_last_week_spec.rb +4 -5
  694. data/spec/models/get_fw_leaderboards_ok_spec.rb +4 -5
  695. data/spec/models/get_fw_leaderboards_victory_points_spec.rb +5 -6
  696. data/spec/models/get_fw_leaderboards_yesterday_yesterday_1_spec.rb +4 -5
  697. data/spec/models/get_fw_leaderboards_yesterday_yesterday_spec.rb +4 -5
  698. data/spec/models/get_fw_stats_200_ok_spec.rb +7 -8
  699. data/spec/models/get_fw_stats_kills_spec.rb +5 -6
  700. data/spec/models/get_fw_stats_victory_points_spec.rb +5 -6
  701. data/spec/models/get_fw_systems_200_ok_spec.rb +12 -13
  702. data/spec/models/get_fw_wars_200_ok_spec.rb +4 -5
  703. data/spec/models/get_incursions_200_ok_spec.rb +14 -15
  704. data/spec/models/get_industry_facilities_200_ok_spec.rb +8 -9
  705. data/spec/models/get_industry_systems_200_ok_spec.rb +4 -5
  706. data/spec/models/get_industry_systems_cost_indice_spec.rb +8 -9
  707. data/spec/models/get_insurance_prices_200_ok_spec.rb +4 -5
  708. data/spec/models/get_insurance_prices_level_spec.rb +5 -6
  709. data/spec/models/get_killmails_killmail_id_killmail_hash_attacker_spec.rb +11 -12
  710. data/spec/models/get_killmails_killmail_id_killmail_hash_item_spec.rb +8 -9
  711. data/spec/models/get_killmails_killmail_id_killmail_hash_items_item_spec.rb +7 -8
  712. data/spec/models/get_killmails_killmail_id_killmail_hash_ok_spec.rb +9 -10
  713. data/spec/models/get_killmails_killmail_id_killmail_hash_position_spec.rb +5 -6
  714. data/spec/models/get_killmails_killmail_id_killmail_hash_unprocessable_entity_spec.rb +3 -4
  715. data/spec/models/get_killmails_killmail_id_killmail_hash_victim_spec.rb +10 -11
  716. data/spec/models/get_loyalty_stores_corporation_id_offers_200_ok_spec.rb +9 -10
  717. data/spec/models/get_loyalty_stores_corporation_id_offers_not_found_spec.rb +3 -4
  718. data/spec/models/get_loyalty_stores_corporation_id_offers_required_item_spec.rb +4 -5
  719. data/spec/models/get_markets_groups_market_group_id_not_found_spec.rb +3 -4
  720. data/spec/models/get_markets_groups_market_group_id_ok_spec.rb +7 -8
  721. data/spec/models/get_markets_prices_200_ok_spec.rb +5 -6
  722. data/spec/models/get_markets_region_id_history_200_ok_spec.rb +8 -9
  723. data/spec/models/get_markets_region_id_history_error_520_spec.rb +3 -4
  724. data/spec/models/get_markets_region_id_history_not_found_spec.rb +3 -4
  725. data/spec/models/get_markets_region_id_history_unprocessable_entity_spec.rb +3 -4
  726. data/spec/models/get_markets_region_id_orders_200_ok_spec.rb +18 -19
  727. data/spec/models/get_markets_region_id_orders_not_found_spec.rb +3 -4
  728. data/spec/models/get_markets_region_id_orders_unprocessable_entity_spec.rb +3 -4
  729. data/spec/models/get_markets_structures_structure_id_200_ok_spec.rb +17 -18
  730. data/spec/models/get_opportunities_groups_group_id_ok_spec.rb +8 -9
  731. data/spec/models/get_opportunities_tasks_task_id_ok_spec.rb +6 -7
  732. data/spec/models/get_route_origin_destination_not_found_spec.rb +3 -4
  733. data/spec/models/get_search_ok_spec.rb +12 -13
  734. data/spec/models/get_sovereignty_campaigns_200_ok_spec.rb +16 -17
  735. data/spec/models/get_sovereignty_campaigns_participant_spec.rb +4 -5
  736. data/spec/models/get_sovereignty_map_200_ok_spec.rb +6 -7
  737. data/spec/models/get_sovereignty_structures_200_ok_spec.rb +9 -10
  738. data/spec/models/get_status_ok_spec.rb +6 -7
  739. data/spec/models/get_universe_ancestries_200_ok_spec.rb +8 -9
  740. data/spec/models/get_universe_asteroid_belts_asteroid_belt_id_not_found_spec.rb +3 -4
  741. data/spec/models/get_universe_asteroid_belts_asteroid_belt_id_ok_spec.rb +5 -6
  742. data/spec/models/get_universe_asteroid_belts_asteroid_belt_id_position_spec.rb +5 -6
  743. data/spec/models/get_universe_bloodlines_200_ok_spec.rb +13 -14
  744. data/spec/models/get_universe_categories_category_id_not_found_spec.rb +3 -4
  745. data/spec/models/get_universe_categories_category_id_ok_spec.rb +6 -7
  746. data/spec/models/get_universe_constellations_constellation_id_not_found_spec.rb +3 -4
  747. data/spec/models/get_universe_constellations_constellation_id_ok_spec.rb +7 -8
  748. data/spec/models/get_universe_constellations_constellation_id_position_spec.rb +5 -6
  749. data/spec/models/get_universe_factions_200_ok_spec.rb +12 -13
  750. data/spec/models/get_universe_graphics_graphic_id_not_found_spec.rb +3 -4
  751. data/spec/models/get_universe_graphics_graphic_id_ok_spec.rb +10 -11
  752. data/spec/models/get_universe_groups_group_id_not_found_spec.rb +3 -4
  753. data/spec/models/get_universe_groups_group_id_ok_spec.rb +7 -8
  754. data/spec/models/get_universe_moons_moon_id_not_found_spec.rb +3 -4
  755. data/spec/models/get_universe_moons_moon_id_ok_spec.rb +6 -7
  756. data/spec/models/get_universe_moons_moon_id_position_spec.rb +5 -6
  757. data/spec/models/get_universe_planets_planet_id_not_found_spec.rb +3 -4
  758. data/spec/models/get_universe_planets_planet_id_ok_spec.rb +7 -8
  759. data/spec/models/get_universe_planets_planet_id_position_spec.rb +5 -6
  760. data/spec/models/get_universe_races_200_ok_spec.rb +6 -7
  761. data/spec/models/get_universe_regions_region_id_not_found_spec.rb +3 -4
  762. data/spec/models/get_universe_regions_region_id_ok_spec.rb +6 -7
  763. data/spec/models/get_universe_schematics_schematic_id_not_found_spec.rb +3 -4
  764. data/spec/models/get_universe_schematics_schematic_id_ok_spec.rb +4 -5
  765. data/spec/models/get_universe_stargates_stargate_id_destination_spec.rb +4 -5
  766. data/spec/models/get_universe_stargates_stargate_id_not_found_spec.rb +3 -4
  767. data/spec/models/get_universe_stargates_stargate_id_ok_spec.rb +8 -9
  768. data/spec/models/get_universe_stargates_stargate_id_position_spec.rb +5 -6
  769. data/spec/models/get_universe_stars_star_id_ok_spec.rb +14 -15
  770. data/spec/models/get_universe_stations_station_id_not_found_spec.rb +3 -4
  771. data/spec/models/get_universe_stations_station_id_ok_spec.rb +18 -19
  772. data/spec/models/get_universe_stations_station_id_position_spec.rb +5 -6
  773. data/spec/models/get_universe_structures_structure_id_not_found_spec.rb +3 -4
  774. data/spec/models/get_universe_structures_structure_id_ok_spec.rb +7 -8
  775. data/spec/models/get_universe_structures_structure_id_position_spec.rb +5 -6
  776. data/spec/models/get_universe_system_jumps_200_ok_spec.rb +4 -5
  777. data/spec/models/get_universe_system_kills_200_ok_spec.rb +6 -7
  778. data/spec/models/get_universe_systems_system_id_not_found_spec.rb +3 -4
  779. data/spec/models/get_universe_systems_system_id_ok_spec.rb +12 -13
  780. data/spec/models/get_universe_systems_system_id_planet_spec.rb +5 -6
  781. data/spec/models/get_universe_systems_system_id_position_spec.rb +5 -6
  782. data/spec/models/get_universe_types_type_id_dogma_attribute_spec.rb +4 -5
  783. data/spec/models/get_universe_types_type_id_dogma_effect_spec.rb +4 -5
  784. data/spec/models/get_universe_types_type_id_not_found_spec.rb +3 -4
  785. data/spec/models/get_universe_types_type_id_ok_spec.rb +18 -19
  786. data/spec/models/get_wars_war_id_aggressor_spec.rb +6 -7
  787. data/spec/models/get_wars_war_id_ally_spec.rb +4 -5
  788. data/spec/models/get_wars_war_id_defender_spec.rb +6 -7
  789. data/spec/models/get_wars_war_id_killmails_200_ok_spec.rb +4 -5
  790. data/spec/models/get_wars_war_id_killmails_unprocessable_entity_spec.rb +3 -4
  791. data/spec/models/get_wars_war_id_ok_spec.rb +12 -13
  792. data/spec/models/get_wars_war_id_unprocessable_entity_spec.rb +3 -4
  793. data/spec/models/internal_server_error_spec.rb +3 -4
  794. data/spec/models/post_characters_affiliation_200_ok_spec.rb +6 -7
  795. data/spec/models/post_characters_affiliation_not_found_spec.rb +3 -4
  796. data/spec/models/post_characters_character_id_assets_locations_200_ok_spec.rb +4 -5
  797. data/spec/models/post_characters_character_id_assets_locations_position_spec.rb +5 -6
  798. data/spec/models/post_characters_character_id_assets_names_200_ok_spec.rb +4 -5
  799. data/spec/models/post_characters_character_id_contacts_error_520_spec.rb +3 -4
  800. data/spec/models/post_characters_character_id_fittings_created_spec.rb +3 -4
  801. data/spec/models/post_characters_character_id_fittings_fitting_spec.rb +6 -7
  802. data/spec/models/post_characters_character_id_fittings_item_spec.rb +9 -6
  803. data/spec/models/post_characters_character_id_mail_error_520_spec.rb +3 -4
  804. data/spec/models/post_characters_character_id_mail_labels_label_spec.rb +8 -9
  805. data/spec/models/post_characters_character_id_mail_mail_spec.rb +6 -7
  806. data/spec/models/post_characters_character_id_mail_recipient_spec.rb +8 -9
  807. data/spec/models/post_corporations_corporation_id_assets_locations_200_ok_spec.rb +4 -5
  808. data/spec/models/post_corporations_corporation_id_assets_locations_not_found_spec.rb +3 -4
  809. data/spec/models/post_corporations_corporation_id_assets_locations_position_spec.rb +5 -6
  810. data/spec/models/post_corporations_corporation_id_assets_names_200_ok_spec.rb +4 -5
  811. data/spec/models/post_corporations_corporation_id_assets_names_not_found_spec.rb +3 -4
  812. data/spec/models/post_fleets_fleet_id_members_invitation_spec.rb +10 -11
  813. data/spec/models/post_fleets_fleet_id_members_not_found_spec.rb +3 -4
  814. data/spec/models/post_fleets_fleet_id_members_unprocessable_entity_spec.rb +3 -4
  815. data/spec/models/post_fleets_fleet_id_wings_created_spec.rb +3 -4
  816. data/spec/models/post_fleets_fleet_id_wings_not_found_spec.rb +3 -4
  817. data/spec/models/post_fleets_fleet_id_wings_wing_id_squads_created_spec.rb +3 -4
  818. data/spec/models/post_fleets_fleet_id_wings_wing_id_squads_not_found_spec.rb +3 -4
  819. data/spec/models/post_ui_openwindow_newmail_new_mail_spec.rb +7 -8
  820. data/spec/models/post_ui_openwindow_newmail_unprocessable_entity_spec.rb +3 -4
  821. data/spec/models/post_universe_ids_agent_spec.rb +4 -5
  822. data/spec/models/post_universe_ids_alliance_spec.rb +4 -5
  823. data/spec/models/post_universe_ids_character_spec.rb +4 -5
  824. data/spec/models/post_universe_ids_constellation_spec.rb +4 -5
  825. data/spec/models/post_universe_ids_corporation_spec.rb +4 -5
  826. data/spec/models/post_universe_ids_faction_spec.rb +4 -5
  827. data/spec/models/post_universe_ids_inventory_type_spec.rb +4 -5
  828. data/spec/models/post_universe_ids_ok_spec.rb +12 -13
  829. data/spec/models/post_universe_ids_region_spec.rb +4 -5
  830. data/spec/models/post_universe_ids_station_spec.rb +4 -5
  831. data/spec/models/post_universe_ids_system_spec.rb +4 -5
  832. data/spec/models/post_universe_names_200_ok_spec.rb +9 -10
  833. data/spec/models/post_universe_names_not_found_spec.rb +3 -4
  834. data/spec/models/put_characters_character_id_calendar_event_id_response_spec.rb +7 -8
  835. data/spec/models/put_characters_character_id_mail_mail_id_contents_spec.rb +4 -5
  836. data/spec/models/put_fleets_fleet_id_members_member_id_movement_spec.rb +9 -10
  837. data/spec/models/put_fleets_fleet_id_members_member_id_not_found_spec.rb +3 -4
  838. data/spec/models/put_fleets_fleet_id_members_member_id_unprocessable_entity_spec.rb +3 -4
  839. data/spec/models/put_fleets_fleet_id_new_settings_spec.rb +4 -5
  840. data/spec/models/put_fleets_fleet_id_not_found_spec.rb +3 -4
  841. data/spec/models/put_fleets_fleet_id_squads_squad_id_naming_spec.rb +3 -4
  842. data/spec/models/put_fleets_fleet_id_squads_squad_id_not_found_spec.rb +3 -4
  843. data/spec/models/put_fleets_fleet_id_wings_wing_id_naming_spec.rb +3 -4
  844. data/spec/models/put_fleets_fleet_id_wings_wing_id_not_found_spec.rb +3 -4
  845. data/spec/models/service_unavailable_spec.rb +3 -4
  846. data/spec/models/unauthorized_spec.rb +3 -4
  847. data/spec/spec_helper.rb +2 -2
  848. metadata +374 -343
@@ -0,0 +1,186 @@
1
+ =begin
2
+ #EVE Swagger Interface
3
+
4
+ #An OpenAPI for EVE Online
5
+
6
+ OpenAPI spec version: 1.3.8
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.13
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module ESI
16
+ # Forbidden
17
+ class GetContractsPublicItemsContractIdForbidden
18
+ # Forbidden message
19
+ attr_accessor :error
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'error' => :'error'
25
+ }
26
+ end
27
+
28
+ # Attribute type mapping.
29
+ def self.swagger_types
30
+ {
31
+ :'error' => :'String'
32
+ }
33
+ end
34
+
35
+ # Initializes the object
36
+ # @param [Hash] attributes Model attributes in the form of hash
37
+ def initialize(attributes = {})
38
+ return unless attributes.is_a?(Hash)
39
+
40
+ # convert string to symbol for hash key
41
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
42
+
43
+ if attributes.has_key?(:'error')
44
+ self.error = attributes[:'error']
45
+ end
46
+ end
47
+
48
+ # Show invalid properties with the reasons. Usually used together with valid?
49
+ # @return Array for valid properties with the reasons
50
+ def list_invalid_properties
51
+ invalid_properties = Array.new
52
+ invalid_properties
53
+ end
54
+
55
+ # Check to see if the all the properties in the model are valid
56
+ # @return true if the model is valid
57
+ def valid?
58
+ true
59
+ end
60
+
61
+ # Checks equality by comparing each attribute.
62
+ # @param [Object] Object to be compared
63
+ def ==(o)
64
+ return true if self.equal?(o)
65
+ self.class == o.class &&
66
+ error == o.error
67
+ end
68
+
69
+ # @see the `==` method
70
+ # @param [Object] Object to be compared
71
+ def eql?(o)
72
+ self == o
73
+ end
74
+
75
+ # Calculates hash code according to all attributes.
76
+ # @return [Fixnum] Hash code
77
+ def hash
78
+ [error].hash
79
+ end
80
+
81
+ # Builds the object from hash
82
+ # @param [Hash] attributes Model attributes in the form of hash
83
+ # @return [Object] Returns the model itself
84
+ def build_from_hash(attributes)
85
+ return nil unless attributes.is_a?(Hash)
86
+ self.class.swagger_types.each_pair do |key, type|
87
+ if type =~ /\AArray<(.*)>/i
88
+ # check to ensure the input is an array given that the attribute
89
+ # is documented as an array but the input is not
90
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
91
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
92
+ end
93
+ elsif !attributes[self.class.attribute_map[key]].nil?
94
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
95
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
96
+ end
97
+
98
+ self
99
+ end
100
+
101
+ # Deserializes the data based on type
102
+ # @param string type Data type
103
+ # @param string value Value to be deserialized
104
+ # @return [Object] Deserialized data
105
+ def _deserialize(type, value)
106
+ case type.to_sym
107
+ when :DateTime
108
+ DateTime.parse(value)
109
+ when :Date
110
+ Date.parse(value)
111
+ when :String
112
+ value.to_s
113
+ when :Integer
114
+ value.to_i
115
+ when :Float
116
+ value.to_f
117
+ when :BOOLEAN
118
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
119
+ true
120
+ else
121
+ false
122
+ end
123
+ when :Object
124
+ # generic object (usually a Hash), return directly
125
+ value
126
+ when /\AArray<(?<inner_type>.+)>\z/
127
+ inner_type = Regexp.last_match[:inner_type]
128
+ value.map { |v| _deserialize(inner_type, v) }
129
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
130
+ k_type = Regexp.last_match[:k_type]
131
+ v_type = Regexp.last_match[:v_type]
132
+ {}.tap do |hash|
133
+ value.each do |k, v|
134
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
135
+ end
136
+ end
137
+ else # model
138
+ temp_model = ESI.const_get(type).new
139
+ temp_model.build_from_hash(value)
140
+ end
141
+ end
142
+
143
+ # Returns the string representation of the object
144
+ # @return [String] String presentation of the object
145
+ def to_s
146
+ to_hash.to_s
147
+ end
148
+
149
+ # to_body is an alias to to_hash (backward compatibility)
150
+ # @return [Hash] Returns the object in the form of hash
151
+ def to_body
152
+ to_hash
153
+ end
154
+
155
+ # Returns the object in the form of hash
156
+ # @return [Hash] Returns the object in the form of hash
157
+ def to_hash
158
+ hash = {}
159
+ self.class.attribute_map.each_pair do |attr, param|
160
+ value = self.send(attr)
161
+ next if value.nil?
162
+ hash[param] = _to_hash(value)
163
+ end
164
+ hash
165
+ end
166
+
167
+ # Outputs non-array value in the form of hash
168
+ # For object, use to_hash. Otherwise, just return the value
169
+ # @param [Object] value Any valid value
170
+ # @return [Hash] Returns the value in the form of hash
171
+ def _to_hash(value)
172
+ if value.is_a?(Array)
173
+ value.compact.map { |v| _to_hash(v) }
174
+ elsif value.is_a?(Hash)
175
+ {}.tap do |hash|
176
+ value.each { |k, v| hash[k] = _to_hash(v) }
177
+ end
178
+ elsif value.respond_to? :to_hash
179
+ value.to_hash
180
+ else
181
+ value
182
+ end
183
+ end
184
+
185
+ end
186
+ end
@@ -0,0 +1,186 @@
1
+ =begin
2
+ #EVE Swagger Interface
3
+
4
+ #An OpenAPI for EVE Online
5
+
6
+ OpenAPI spec version: 1.3.8
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.13
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module ESI
16
+ # Not found
17
+ class GetContractsPublicItemsContractIdNotFound
18
+ # Not found message
19
+ attr_accessor :error
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'error' => :'error'
25
+ }
26
+ end
27
+
28
+ # Attribute type mapping.
29
+ def self.swagger_types
30
+ {
31
+ :'error' => :'String'
32
+ }
33
+ end
34
+
35
+ # Initializes the object
36
+ # @param [Hash] attributes Model attributes in the form of hash
37
+ def initialize(attributes = {})
38
+ return unless attributes.is_a?(Hash)
39
+
40
+ # convert string to symbol for hash key
41
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
42
+
43
+ if attributes.has_key?(:'error')
44
+ self.error = attributes[:'error']
45
+ end
46
+ end
47
+
48
+ # Show invalid properties with the reasons. Usually used together with valid?
49
+ # @return Array for valid properties with the reasons
50
+ def list_invalid_properties
51
+ invalid_properties = Array.new
52
+ invalid_properties
53
+ end
54
+
55
+ # Check to see if the all the properties in the model are valid
56
+ # @return true if the model is valid
57
+ def valid?
58
+ true
59
+ end
60
+
61
+ # Checks equality by comparing each attribute.
62
+ # @param [Object] Object to be compared
63
+ def ==(o)
64
+ return true if self.equal?(o)
65
+ self.class == o.class &&
66
+ error == o.error
67
+ end
68
+
69
+ # @see the `==` method
70
+ # @param [Object] Object to be compared
71
+ def eql?(o)
72
+ self == o
73
+ end
74
+
75
+ # Calculates hash code according to all attributes.
76
+ # @return [Fixnum] Hash code
77
+ def hash
78
+ [error].hash
79
+ end
80
+
81
+ # Builds the object from hash
82
+ # @param [Hash] attributes Model attributes in the form of hash
83
+ # @return [Object] Returns the model itself
84
+ def build_from_hash(attributes)
85
+ return nil unless attributes.is_a?(Hash)
86
+ self.class.swagger_types.each_pair do |key, type|
87
+ if type =~ /\AArray<(.*)>/i
88
+ # check to ensure the input is an array given that the attribute
89
+ # is documented as an array but the input is not
90
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
91
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
92
+ end
93
+ elsif !attributes[self.class.attribute_map[key]].nil?
94
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
95
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
96
+ end
97
+
98
+ self
99
+ end
100
+
101
+ # Deserializes the data based on type
102
+ # @param string type Data type
103
+ # @param string value Value to be deserialized
104
+ # @return [Object] Deserialized data
105
+ def _deserialize(type, value)
106
+ case type.to_sym
107
+ when :DateTime
108
+ DateTime.parse(value)
109
+ when :Date
110
+ Date.parse(value)
111
+ when :String
112
+ value.to_s
113
+ when :Integer
114
+ value.to_i
115
+ when :Float
116
+ value.to_f
117
+ when :BOOLEAN
118
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
119
+ true
120
+ else
121
+ false
122
+ end
123
+ when :Object
124
+ # generic object (usually a Hash), return directly
125
+ value
126
+ when /\AArray<(?<inner_type>.+)>\z/
127
+ inner_type = Regexp.last_match[:inner_type]
128
+ value.map { |v| _deserialize(inner_type, v) }
129
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
130
+ k_type = Regexp.last_match[:k_type]
131
+ v_type = Regexp.last_match[:v_type]
132
+ {}.tap do |hash|
133
+ value.each do |k, v|
134
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
135
+ end
136
+ end
137
+ else # model
138
+ temp_model = ESI.const_get(type).new
139
+ temp_model.build_from_hash(value)
140
+ end
141
+ end
142
+
143
+ # Returns the string representation of the object
144
+ # @return [String] String presentation of the object
145
+ def to_s
146
+ to_hash.to_s
147
+ end
148
+
149
+ # to_body is an alias to to_hash (backward compatibility)
150
+ # @return [Hash] Returns the object in the form of hash
151
+ def to_body
152
+ to_hash
153
+ end
154
+
155
+ # Returns the object in the form of hash
156
+ # @return [Hash] Returns the object in the form of hash
157
+ def to_hash
158
+ hash = {}
159
+ self.class.attribute_map.each_pair do |attr, param|
160
+ value = self.send(attr)
161
+ next if value.nil?
162
+ hash[param] = _to_hash(value)
163
+ end
164
+ hash
165
+ end
166
+
167
+ # Outputs non-array value in the form of hash
168
+ # For object, use to_hash. Otherwise, just return the value
169
+ # @param [Object] value Any valid value
170
+ # @return [Hash] Returns the value in the form of hash
171
+ def _to_hash(value)
172
+ if value.is_a?(Array)
173
+ value.compact.map { |v| _to_hash(v) }
174
+ elsif value.is_a?(Hash)
175
+ {}.tap do |hash|
176
+ value.each { |k, v| hash[k] = _to_hash(v) }
177
+ end
178
+ elsif value.respond_to? :to_hash
179
+ value.to_hash
180
+ else
181
+ value
182
+ end
183
+ end
184
+
185
+ end
186
+ end
@@ -0,0 +1,400 @@
1
+ =begin
2
+ #EVE Swagger Interface
3
+
4
+ #An OpenAPI for EVE Online
5
+
6
+ OpenAPI spec version: 1.3.8
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.13
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module ESI
16
+ # 200 ok object
17
+ class GetContractsPublicRegionId200Ok
18
+ # Buyout price (for Auctions only)
19
+ attr_accessor :buyout
20
+
21
+ # Collateral price (for Couriers only)
22
+ attr_accessor :collateral
23
+
24
+ # contract_id integer
25
+ attr_accessor :contract_id
26
+
27
+ # Expiration date of the contract
28
+ attr_accessor :date_expired
29
+
30
+ # Сreation date of the contract
31
+ attr_accessor :date_issued
32
+
33
+ # Number of days to perform the contract
34
+ attr_accessor :days_to_complete
35
+
36
+ # End location ID (for Couriers contract)
37
+ attr_accessor :end_location_id
38
+
39
+ # true if the contract was issued on behalf of the issuer's corporation
40
+ attr_accessor :for_corporation
41
+
42
+ # Character's corporation ID for the issuer
43
+ attr_accessor :issuer_corporation_id
44
+
45
+ # Character ID for the issuer
46
+ attr_accessor :issuer_id
47
+
48
+ # Price of contract (for ItemsExchange and Auctions)
49
+ attr_accessor :price
50
+
51
+ # Remuneration for contract (for Couriers only)
52
+ attr_accessor :reward
53
+
54
+ # Start location ID (for Couriers contract)
55
+ attr_accessor :start_location_id
56
+
57
+ # Title of the contract
58
+ attr_accessor :title
59
+
60
+ # Type of the contract
61
+ attr_accessor :type
62
+
63
+ # Volume of items in the contract
64
+ attr_accessor :volume
65
+
66
+ class EnumAttributeValidator
67
+ attr_reader :datatype
68
+ attr_reader :allowable_values
69
+
70
+ def initialize(datatype, allowable_values)
71
+ @allowable_values = allowable_values.map do |value|
72
+ case datatype.to_s
73
+ when /Integer/i
74
+ value.to_i
75
+ when /Float/i
76
+ value.to_f
77
+ else
78
+ value
79
+ end
80
+ end
81
+ end
82
+
83
+ def valid?(value)
84
+ !value || allowable_values.include?(value)
85
+ end
86
+ end
87
+
88
+ # Attribute mapping from ruby-style variable name to JSON key.
89
+ def self.attribute_map
90
+ {
91
+ :'buyout' => :'buyout',
92
+ :'collateral' => :'collateral',
93
+ :'contract_id' => :'contract_id',
94
+ :'date_expired' => :'date_expired',
95
+ :'date_issued' => :'date_issued',
96
+ :'days_to_complete' => :'days_to_complete',
97
+ :'end_location_id' => :'end_location_id',
98
+ :'for_corporation' => :'for_corporation',
99
+ :'issuer_corporation_id' => :'issuer_corporation_id',
100
+ :'issuer_id' => :'issuer_id',
101
+ :'price' => :'price',
102
+ :'reward' => :'reward',
103
+ :'start_location_id' => :'start_location_id',
104
+ :'title' => :'title',
105
+ :'type' => :'type',
106
+ :'volume' => :'volume'
107
+ }
108
+ end
109
+
110
+ # Attribute type mapping.
111
+ def self.swagger_types
112
+ {
113
+ :'buyout' => :'Float',
114
+ :'collateral' => :'Float',
115
+ :'contract_id' => :'Integer',
116
+ :'date_expired' => :'DateTime',
117
+ :'date_issued' => :'DateTime',
118
+ :'days_to_complete' => :'Integer',
119
+ :'end_location_id' => :'Integer',
120
+ :'for_corporation' => :'BOOLEAN',
121
+ :'issuer_corporation_id' => :'Integer',
122
+ :'issuer_id' => :'Integer',
123
+ :'price' => :'Float',
124
+ :'reward' => :'Float',
125
+ :'start_location_id' => :'Integer',
126
+ :'title' => :'String',
127
+ :'type' => :'String',
128
+ :'volume' => :'Float'
129
+ }
130
+ end
131
+
132
+ # Initializes the object
133
+ # @param [Hash] attributes Model attributes in the form of hash
134
+ def initialize(attributes = {})
135
+ return unless attributes.is_a?(Hash)
136
+
137
+ # convert string to symbol for hash key
138
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
139
+
140
+ if attributes.has_key?(:'buyout')
141
+ self.buyout = attributes[:'buyout']
142
+ end
143
+
144
+ if attributes.has_key?(:'collateral')
145
+ self.collateral = attributes[:'collateral']
146
+ end
147
+
148
+ if attributes.has_key?(:'contract_id')
149
+ self.contract_id = attributes[:'contract_id']
150
+ end
151
+
152
+ if attributes.has_key?(:'date_expired')
153
+ self.date_expired = attributes[:'date_expired']
154
+ end
155
+
156
+ if attributes.has_key?(:'date_issued')
157
+ self.date_issued = attributes[:'date_issued']
158
+ end
159
+
160
+ if attributes.has_key?(:'days_to_complete')
161
+ self.days_to_complete = attributes[:'days_to_complete']
162
+ end
163
+
164
+ if attributes.has_key?(:'end_location_id')
165
+ self.end_location_id = attributes[:'end_location_id']
166
+ end
167
+
168
+ if attributes.has_key?(:'for_corporation')
169
+ self.for_corporation = attributes[:'for_corporation']
170
+ end
171
+
172
+ if attributes.has_key?(:'issuer_corporation_id')
173
+ self.issuer_corporation_id = attributes[:'issuer_corporation_id']
174
+ end
175
+
176
+ if attributes.has_key?(:'issuer_id')
177
+ self.issuer_id = attributes[:'issuer_id']
178
+ end
179
+
180
+ if attributes.has_key?(:'price')
181
+ self.price = attributes[:'price']
182
+ end
183
+
184
+ if attributes.has_key?(:'reward')
185
+ self.reward = attributes[:'reward']
186
+ end
187
+
188
+ if attributes.has_key?(:'start_location_id')
189
+ self.start_location_id = attributes[:'start_location_id']
190
+ end
191
+
192
+ if attributes.has_key?(:'title')
193
+ self.title = attributes[:'title']
194
+ end
195
+
196
+ if attributes.has_key?(:'type')
197
+ self.type = attributes[:'type']
198
+ end
199
+
200
+ if attributes.has_key?(:'volume')
201
+ self.volume = attributes[:'volume']
202
+ end
203
+ end
204
+
205
+ # Show invalid properties with the reasons. Usually used together with valid?
206
+ # @return Array for valid properties with the reasons
207
+ def list_invalid_properties
208
+ invalid_properties = Array.new
209
+ if @contract_id.nil?
210
+ invalid_properties.push('invalid value for "contract_id", contract_id cannot be nil.')
211
+ end
212
+
213
+ if @date_expired.nil?
214
+ invalid_properties.push('invalid value for "date_expired", date_expired cannot be nil.')
215
+ end
216
+
217
+ if @date_issued.nil?
218
+ invalid_properties.push('invalid value for "date_issued", date_issued cannot be nil.')
219
+ end
220
+
221
+ if @issuer_corporation_id.nil?
222
+ invalid_properties.push('invalid value for "issuer_corporation_id", issuer_corporation_id cannot be nil.')
223
+ end
224
+
225
+ if @issuer_id.nil?
226
+ invalid_properties.push('invalid value for "issuer_id", issuer_id cannot be nil.')
227
+ end
228
+
229
+ if @type.nil?
230
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
231
+ end
232
+
233
+ invalid_properties
234
+ end
235
+
236
+ # Check to see if the all the properties in the model are valid
237
+ # @return true if the model is valid
238
+ def valid?
239
+ return false if @contract_id.nil?
240
+ return false if @date_expired.nil?
241
+ return false if @date_issued.nil?
242
+ return false if @issuer_corporation_id.nil?
243
+ return false if @issuer_id.nil?
244
+ return false if @type.nil?
245
+ type_validator = EnumAttributeValidator.new('String', ['unknown', 'item_exchange', 'auction', 'courier', 'loan'])
246
+ return false unless type_validator.valid?(@type)
247
+ true
248
+ end
249
+
250
+ # Custom attribute writer method checking allowed values (enum).
251
+ # @param [Object] type Object to be assigned
252
+ def type=(type)
253
+ validator = EnumAttributeValidator.new('String', ['unknown', 'item_exchange', 'auction', 'courier', 'loan'])
254
+ unless validator.valid?(type)
255
+ fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
256
+ end
257
+ @type = type
258
+ end
259
+
260
+ # Checks equality by comparing each attribute.
261
+ # @param [Object] Object to be compared
262
+ def ==(o)
263
+ return true if self.equal?(o)
264
+ self.class == o.class &&
265
+ buyout == o.buyout &&
266
+ collateral == o.collateral &&
267
+ contract_id == o.contract_id &&
268
+ date_expired == o.date_expired &&
269
+ date_issued == o.date_issued &&
270
+ days_to_complete == o.days_to_complete &&
271
+ end_location_id == o.end_location_id &&
272
+ for_corporation == o.for_corporation &&
273
+ issuer_corporation_id == o.issuer_corporation_id &&
274
+ issuer_id == o.issuer_id &&
275
+ price == o.price &&
276
+ reward == o.reward &&
277
+ start_location_id == o.start_location_id &&
278
+ title == o.title &&
279
+ type == o.type &&
280
+ volume == o.volume
281
+ end
282
+
283
+ # @see the `==` method
284
+ # @param [Object] Object to be compared
285
+ def eql?(o)
286
+ self == o
287
+ end
288
+
289
+ # Calculates hash code according to all attributes.
290
+ # @return [Fixnum] Hash code
291
+ def hash
292
+ [buyout, collateral, contract_id, date_expired, date_issued, days_to_complete, end_location_id, for_corporation, issuer_corporation_id, issuer_id, price, reward, start_location_id, title, type, volume].hash
293
+ end
294
+
295
+ # Builds the object from hash
296
+ # @param [Hash] attributes Model attributes in the form of hash
297
+ # @return [Object] Returns the model itself
298
+ def build_from_hash(attributes)
299
+ return nil unless attributes.is_a?(Hash)
300
+ self.class.swagger_types.each_pair do |key, type|
301
+ if type =~ /\AArray<(.*)>/i
302
+ # check to ensure the input is an array given that the attribute
303
+ # is documented as an array but the input is not
304
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
305
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
306
+ end
307
+ elsif !attributes[self.class.attribute_map[key]].nil?
308
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
309
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
310
+ end
311
+
312
+ self
313
+ end
314
+
315
+ # Deserializes the data based on type
316
+ # @param string type Data type
317
+ # @param string value Value to be deserialized
318
+ # @return [Object] Deserialized data
319
+ def _deserialize(type, value)
320
+ case type.to_sym
321
+ when :DateTime
322
+ DateTime.parse(value)
323
+ when :Date
324
+ Date.parse(value)
325
+ when :String
326
+ value.to_s
327
+ when :Integer
328
+ value.to_i
329
+ when :Float
330
+ value.to_f
331
+ when :BOOLEAN
332
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
333
+ true
334
+ else
335
+ false
336
+ end
337
+ when :Object
338
+ # generic object (usually a Hash), return directly
339
+ value
340
+ when /\AArray<(?<inner_type>.+)>\z/
341
+ inner_type = Regexp.last_match[:inner_type]
342
+ value.map { |v| _deserialize(inner_type, v) }
343
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
344
+ k_type = Regexp.last_match[:k_type]
345
+ v_type = Regexp.last_match[:v_type]
346
+ {}.tap do |hash|
347
+ value.each do |k, v|
348
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
349
+ end
350
+ end
351
+ else # model
352
+ temp_model = ESI.const_get(type).new
353
+ temp_model.build_from_hash(value)
354
+ end
355
+ end
356
+
357
+ # Returns the string representation of the object
358
+ # @return [String] String presentation of the object
359
+ def to_s
360
+ to_hash.to_s
361
+ end
362
+
363
+ # to_body is an alias to to_hash (backward compatibility)
364
+ # @return [Hash] Returns the object in the form of hash
365
+ def to_body
366
+ to_hash
367
+ end
368
+
369
+ # Returns the object in the form of hash
370
+ # @return [Hash] Returns the object in the form of hash
371
+ def to_hash
372
+ hash = {}
373
+ self.class.attribute_map.each_pair do |attr, param|
374
+ value = self.send(attr)
375
+ next if value.nil?
376
+ hash[param] = _to_hash(value)
377
+ end
378
+ hash
379
+ end
380
+
381
+ # Outputs non-array value in the form of hash
382
+ # For object, use to_hash. Otherwise, just return the value
383
+ # @param [Object] value Any valid value
384
+ # @return [Hash] Returns the value in the form of hash
385
+ def _to_hash(value)
386
+ if value.is_a?(Array)
387
+ value.compact.map { |v| _to_hash(v) }
388
+ elsif value.is_a?(Hash)
389
+ {}.tap do |hash|
390
+ value.each { |k, v| hash[k] = _to_hash(v) }
391
+ end
392
+ elsif value.respond_to? :to_hash
393
+ value.to_hash
394
+ else
395
+ value
396
+ end
397
+ end
398
+
399
+ end
400
+ end