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 GetContractsPublicBidsContractIdForbidden
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 GetContractsPublicBidsContractIdNotFound
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,349 @@
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 GetContractsPublicItemsContractId200Ok
18
+ # is_blueprint_copy boolean
19
+ attr_accessor :is_blueprint_copy
20
+
21
+ # true if the contract issuer has submitted this item with the contract, false if the isser is asking for this item in the contract
22
+ attr_accessor :is_included
23
+
24
+ # Unique ID for the item being sold. Not present if item is being requested by contract rather than sold with contract
25
+ attr_accessor :item_id
26
+
27
+ # Material Efficiency Level of the blueprint
28
+ attr_accessor :material_efficiency
29
+
30
+ # Number of items in the stack
31
+ attr_accessor :quantity
32
+
33
+ # Unique ID for the item, used by the contract system
34
+ attr_accessor :record_id
35
+
36
+ # Number of runs remaining if the blueprint is a copy, -1 if it is an original
37
+ attr_accessor :runs
38
+
39
+ # Time Efficiency Level of the blueprint
40
+ attr_accessor :time_efficiency
41
+
42
+ # Type ID for item
43
+ attr_accessor :type_id
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'is_blueprint_copy' => :'is_blueprint_copy',
49
+ :'is_included' => :'is_included',
50
+ :'item_id' => :'item_id',
51
+ :'material_efficiency' => :'material_efficiency',
52
+ :'quantity' => :'quantity',
53
+ :'record_id' => :'record_id',
54
+ :'runs' => :'runs',
55
+ :'time_efficiency' => :'time_efficiency',
56
+ :'type_id' => :'type_id'
57
+ }
58
+ end
59
+
60
+ # Attribute type mapping.
61
+ def self.swagger_types
62
+ {
63
+ :'is_blueprint_copy' => :'BOOLEAN',
64
+ :'is_included' => :'BOOLEAN',
65
+ :'item_id' => :'Integer',
66
+ :'material_efficiency' => :'Integer',
67
+ :'quantity' => :'Integer',
68
+ :'record_id' => :'Integer',
69
+ :'runs' => :'Integer',
70
+ :'time_efficiency' => :'Integer',
71
+ :'type_id' => :'Integer'
72
+ }
73
+ end
74
+
75
+ # Initializes the object
76
+ # @param [Hash] attributes Model attributes in the form of hash
77
+ def initialize(attributes = {})
78
+ return unless attributes.is_a?(Hash)
79
+
80
+ # convert string to symbol for hash key
81
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
82
+
83
+ if attributes.has_key?(:'is_blueprint_copy')
84
+ self.is_blueprint_copy = attributes[:'is_blueprint_copy']
85
+ end
86
+
87
+ if attributes.has_key?(:'is_included')
88
+ self.is_included = attributes[:'is_included']
89
+ end
90
+
91
+ if attributes.has_key?(:'item_id')
92
+ self.item_id = attributes[:'item_id']
93
+ end
94
+
95
+ if attributes.has_key?(:'material_efficiency')
96
+ self.material_efficiency = attributes[:'material_efficiency']
97
+ end
98
+
99
+ if attributes.has_key?(:'quantity')
100
+ self.quantity = attributes[:'quantity']
101
+ end
102
+
103
+ if attributes.has_key?(:'record_id')
104
+ self.record_id = attributes[:'record_id']
105
+ end
106
+
107
+ if attributes.has_key?(:'runs')
108
+ self.runs = attributes[:'runs']
109
+ end
110
+
111
+ if attributes.has_key?(:'time_efficiency')
112
+ self.time_efficiency = attributes[:'time_efficiency']
113
+ end
114
+
115
+ if attributes.has_key?(:'type_id')
116
+ self.type_id = attributes[:'type_id']
117
+ end
118
+ end
119
+
120
+ # Show invalid properties with the reasons. Usually used together with valid?
121
+ # @return Array for valid properties with the reasons
122
+ def list_invalid_properties
123
+ invalid_properties = Array.new
124
+ if @is_included.nil?
125
+ invalid_properties.push('invalid value for "is_included", is_included cannot be nil.')
126
+ end
127
+
128
+ if !@material_efficiency.nil? && @material_efficiency > 25
129
+ invalid_properties.push('invalid value for "material_efficiency", must be smaller than or equal to 25.')
130
+ end
131
+
132
+ if !@material_efficiency.nil? && @material_efficiency < 0
133
+ invalid_properties.push('invalid value for "material_efficiency", must be greater than or equal to 0.')
134
+ end
135
+
136
+ if @quantity.nil?
137
+ invalid_properties.push('invalid value for "quantity", quantity cannot be nil.')
138
+ end
139
+
140
+ if @record_id.nil?
141
+ invalid_properties.push('invalid value for "record_id", record_id cannot be nil.')
142
+ end
143
+
144
+ if !@runs.nil? && @runs < -1
145
+ invalid_properties.push('invalid value for "runs", must be greater than or equal to -1.')
146
+ end
147
+
148
+ if !@time_efficiency.nil? && @time_efficiency > 20
149
+ invalid_properties.push('invalid value for "time_efficiency", must be smaller than or equal to 20.')
150
+ end
151
+
152
+ if !@time_efficiency.nil? && @time_efficiency < 0
153
+ invalid_properties.push('invalid value for "time_efficiency", must be greater than or equal to 0.')
154
+ end
155
+
156
+ if @type_id.nil?
157
+ invalid_properties.push('invalid value for "type_id", type_id cannot be nil.')
158
+ end
159
+
160
+ invalid_properties
161
+ end
162
+
163
+ # Check to see if the all the properties in the model are valid
164
+ # @return true if the model is valid
165
+ def valid?
166
+ return false if @is_included.nil?
167
+ return false if !@material_efficiency.nil? && @material_efficiency > 25
168
+ return false if !@material_efficiency.nil? && @material_efficiency < 0
169
+ return false if @quantity.nil?
170
+ return false if @record_id.nil?
171
+ return false if !@runs.nil? && @runs < -1
172
+ return false if !@time_efficiency.nil? && @time_efficiency > 20
173
+ return false if !@time_efficiency.nil? && @time_efficiency < 0
174
+ return false if @type_id.nil?
175
+ true
176
+ end
177
+
178
+ # Custom attribute writer method with validation
179
+ # @param [Object] material_efficiency Value to be assigned
180
+ def material_efficiency=(material_efficiency)
181
+ if !material_efficiency.nil? && material_efficiency > 25
182
+ fail ArgumentError, 'invalid value for "material_efficiency", must be smaller than or equal to 25.'
183
+ end
184
+
185
+ if !material_efficiency.nil? && material_efficiency < 0
186
+ fail ArgumentError, 'invalid value for "material_efficiency", must be greater than or equal to 0.'
187
+ end
188
+
189
+ @material_efficiency = material_efficiency
190
+ end
191
+
192
+ # Custom attribute writer method with validation
193
+ # @param [Object] runs Value to be assigned
194
+ def runs=(runs)
195
+ if !runs.nil? && runs < -1
196
+ fail ArgumentError, 'invalid value for "runs", must be greater than or equal to -1.'
197
+ end
198
+
199
+ @runs = runs
200
+ end
201
+
202
+ # Custom attribute writer method with validation
203
+ # @param [Object] time_efficiency Value to be assigned
204
+ def time_efficiency=(time_efficiency)
205
+ if !time_efficiency.nil? && time_efficiency > 20
206
+ fail ArgumentError, 'invalid value for "time_efficiency", must be smaller than or equal to 20.'
207
+ end
208
+
209
+ if !time_efficiency.nil? && time_efficiency < 0
210
+ fail ArgumentError, 'invalid value for "time_efficiency", must be greater than or equal to 0.'
211
+ end
212
+
213
+ @time_efficiency = time_efficiency
214
+ end
215
+
216
+ # Checks equality by comparing each attribute.
217
+ # @param [Object] Object to be compared
218
+ def ==(o)
219
+ return true if self.equal?(o)
220
+ self.class == o.class &&
221
+ is_blueprint_copy == o.is_blueprint_copy &&
222
+ is_included == o.is_included &&
223
+ item_id == o.item_id &&
224
+ material_efficiency == o.material_efficiency &&
225
+ quantity == o.quantity &&
226
+ record_id == o.record_id &&
227
+ runs == o.runs &&
228
+ time_efficiency == o.time_efficiency &&
229
+ type_id == o.type_id
230
+ end
231
+
232
+ # @see the `==` method
233
+ # @param [Object] Object to be compared
234
+ def eql?(o)
235
+ self == o
236
+ end
237
+
238
+ # Calculates hash code according to all attributes.
239
+ # @return [Fixnum] Hash code
240
+ def hash
241
+ [is_blueprint_copy, is_included, item_id, material_efficiency, quantity, record_id, runs, time_efficiency, type_id].hash
242
+ end
243
+
244
+ # Builds the object from hash
245
+ # @param [Hash] attributes Model attributes in the form of hash
246
+ # @return [Object] Returns the model itself
247
+ def build_from_hash(attributes)
248
+ return nil unless attributes.is_a?(Hash)
249
+ self.class.swagger_types.each_pair do |key, type|
250
+ if type =~ /\AArray<(.*)>/i
251
+ # check to ensure the input is an array given that the attribute
252
+ # is documented as an array but the input is not
253
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
254
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
255
+ end
256
+ elsif !attributes[self.class.attribute_map[key]].nil?
257
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
258
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
259
+ end
260
+
261
+ self
262
+ end
263
+
264
+ # Deserializes the data based on type
265
+ # @param string type Data type
266
+ # @param string value Value to be deserialized
267
+ # @return [Object] Deserialized data
268
+ def _deserialize(type, value)
269
+ case type.to_sym
270
+ when :DateTime
271
+ DateTime.parse(value)
272
+ when :Date
273
+ Date.parse(value)
274
+ when :String
275
+ value.to_s
276
+ when :Integer
277
+ value.to_i
278
+ when :Float
279
+ value.to_f
280
+ when :BOOLEAN
281
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
282
+ true
283
+ else
284
+ false
285
+ end
286
+ when :Object
287
+ # generic object (usually a Hash), return directly
288
+ value
289
+ when /\AArray<(?<inner_type>.+)>\z/
290
+ inner_type = Regexp.last_match[:inner_type]
291
+ value.map { |v| _deserialize(inner_type, v) }
292
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
293
+ k_type = Regexp.last_match[:k_type]
294
+ v_type = Regexp.last_match[:v_type]
295
+ {}.tap do |hash|
296
+ value.each do |k, v|
297
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
298
+ end
299
+ end
300
+ else # model
301
+ temp_model = ESI.const_get(type).new
302
+ temp_model.build_from_hash(value)
303
+ end
304
+ end
305
+
306
+ # Returns the string representation of the object
307
+ # @return [String] String presentation of the object
308
+ def to_s
309
+ to_hash.to_s
310
+ end
311
+
312
+ # to_body is an alias to to_hash (backward compatibility)
313
+ # @return [Hash] Returns the object in the form of hash
314
+ def to_body
315
+ to_hash
316
+ end
317
+
318
+ # Returns the object in the form of hash
319
+ # @return [Hash] Returns the object in the form of hash
320
+ def to_hash
321
+ hash = {}
322
+ self.class.attribute_map.each_pair do |attr, param|
323
+ value = self.send(attr)
324
+ next if value.nil?
325
+ hash[param] = _to_hash(value)
326
+ end
327
+ hash
328
+ end
329
+
330
+ # Outputs non-array value in the form of hash
331
+ # For object, use to_hash. Otherwise, just return the value
332
+ # @param [Object] value Any valid value
333
+ # @return [Hash] Returns the value in the form of hash
334
+ def _to_hash(value)
335
+ if value.is_a?(Array)
336
+ value.compact.map { |v| _to_hash(v) }
337
+ elsif value.is_a?(Hash)
338
+ {}.tap do |hash|
339
+ value.each { |k, v| hash[k] = _to_hash(v) }
340
+ end
341
+ elsif value.respond_to? :to_hash
342
+ value.to_hash
343
+ else
344
+ value
345
+ end
346
+ end
347
+
348
+ end
349
+ end