esi-client-bvv 1.0.4 → 1.0.5

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 (446) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -11
  3. data/docs/AllianceApi.md +1 -1
  4. data/docs/AssetsApi.md +10 -10
  5. data/docs/BookmarksApi.md +4 -4
  6. data/docs/CalendarApi.md +3 -3
  7. data/docs/CharacterApi.md +4 -4
  8. data/docs/ClonesApi.md +1 -1
  9. data/docs/ContactsApi.md +4 -4
  10. data/docs/ContractsApi.md +174 -6
  11. data/docs/CorporationApi.md +44 -44
  12. data/docs/FactionWarfareApi.md +5 -5
  13. data/docs/GetCharactersCharacterIdContractsContractIdItems200Ok.md +1 -1
  14. data/docs/GetCharactersCharacterIdWalletJournal200Ok.md +1 -1
  15. data/docs/GetContractsPublicBidsContractId200Ok.md +10 -0
  16. data/docs/GetContractsPublicBidsContractIdForbidden.md +8 -0
  17. data/docs/GetContractsPublicBidsContractIdNotFound.md +8 -0
  18. data/docs/GetContractsPublicItemsContractId200Ok.md +16 -0
  19. data/docs/GetContractsPublicItemsContractIdForbidden.md +8 -0
  20. data/docs/GetContractsPublicItemsContractIdNotFound.md +8 -0
  21. data/docs/GetContractsPublicRegionId200Ok.md +23 -0
  22. data/docs/GetContractsPublicRegionIdNotFound.md +8 -0
  23. data/docs/GetCorporationsCorporationIdContractsContractIdItems200Ok.md +1 -1
  24. data/docs/GetCorporationsCorporationIdOk.md +1 -0
  25. data/docs/GetCorporationsCorporationIdStructures200Ok.md +5 -5
  26. data/docs/GetCorporationsCorporationIdWalletsDivisionJournal200Ok.md +1 -1
  27. data/docs/GetFwLeaderboardsCharactersKills.md +1 -1
  28. data/docs/GetFwLeaderboardsCharactersVictoryPoints.md +1 -1
  29. data/docs/GetFwLeaderboardsCorporationsKills.md +1 -1
  30. data/docs/GetFwLeaderboardsCorporationsVictoryPoints.md +1 -1
  31. data/docs/GetFwLeaderboardsKills.md +1 -1
  32. data/docs/GetFwLeaderboardsVictoryPoints.md +1 -1
  33. data/docs/IndustryApi.md +14 -14
  34. data/docs/KillmailsApi.md +2 -2
  35. data/docs/LocationApi.md +1 -1
  36. data/docs/LoyaltyApi.md +2 -2
  37. data/docs/MailApi.md +1 -1
  38. data/docs/MarketApi.md +6 -6
  39. data/docs/PlanetaryInteractionApi.md +2 -2
  40. data/docs/SkillsApi.md +1 -1
  41. data/docs/UniverseApi.md +4 -2
  42. data/docs/WalletApi.md +8 -8
  43. data/docs/WarsApi.md +2 -2
  44. data/esi-client-bvv.gemspec +1 -1
  45. data/lib/esi-client-bvv.rb +9 -1
  46. data/lib/esi-client-bvv/api/alliance_api.rb +3 -3
  47. data/lib/esi-client-bvv/api/assets_api.rb +5 -5
  48. data/lib/esi-client-bvv/api/bookmarks_api.rb +1 -1
  49. data/lib/esi-client-bvv/api/calendar_api.rb +5 -5
  50. data/lib/esi-client-bvv/api/character_api.rb +6 -6
  51. data/lib/esi-client-bvv/api/clones_api.rb +3 -3
  52. data/lib/esi-client-bvv/api/contacts_api.rb +1 -1
  53. data/lib/esi-client-bvv/api/contracts_api.rb +214 -1
  54. data/lib/esi-client-bvv/api/corporation_api.rb +4 -4
  55. data/lib/esi-client-bvv/api/dogma_api.rb +1 -1
  56. data/lib/esi-client-bvv/api/faction_warfare_api.rb +7 -7
  57. data/lib/esi-client-bvv/api/fittings_api.rb +1 -1
  58. data/lib/esi-client-bvv/api/fleets_api.rb +1 -1
  59. data/lib/esi-client-bvv/api/incursions_api.rb +1 -1
  60. data/lib/esi-client-bvv/api/industry_api.rb +9 -9
  61. data/lib/esi-client-bvv/api/insurance_api.rb +1 -1
  62. data/lib/esi-client-bvv/api/killmails_api.rb +1 -1
  63. data/lib/esi-client-bvv/api/location_api.rb +3 -3
  64. data/lib/esi-client-bvv/api/loyalty_api.rb +1 -1
  65. data/lib/esi-client-bvv/api/mail_api.rb +3 -3
  66. data/lib/esi-client-bvv/api/market_api.rb +3 -3
  67. data/lib/esi-client-bvv/api/opportunities_api.rb +1 -1
  68. data/lib/esi-client-bvv/api/planetary_interaction_api.rb +1 -1
  69. data/lib/esi-client-bvv/api/routes_api.rb +1 -1
  70. data/lib/esi-client-bvv/api/search_api.rb +1 -1
  71. data/lib/esi-client-bvv/api/skills_api.rb +3 -3
  72. data/lib/esi-client-bvv/api/sovereignty_api.rb +1 -1
  73. data/lib/esi-client-bvv/api/status_api.rb +1 -1
  74. data/lib/esi-client-bvv/api/universe_api.rb +11 -5
  75. data/lib/esi-client-bvv/api/user_interface_api.rb +1 -1
  76. data/lib/esi-client-bvv/api/wallet_api.rb +3 -3
  77. data/lib/esi-client-bvv/api/wars_api.rb +3 -3
  78. data/lib/esi-client-bvv/api_client.rb +1 -1
  79. data/lib/esi-client-bvv/api_error.rb +1 -1
  80. data/lib/esi-client-bvv/configuration.rb +1 -1
  81. data/lib/esi-client-bvv/models/bad_request.rb +1 -1
  82. data/lib/esi-client-bvv/models/delete_characters_character_id_mail_labels_label_id_unprocessable_entity.rb +1 -1
  83. data/lib/esi-client-bvv/models/delete_fleets_fleet_id_members_member_id_not_found.rb +1 -1
  84. data/lib/esi-client-bvv/models/delete_fleets_fleet_id_squads_squad_id_not_found.rb +1 -1
  85. data/lib/esi-client-bvv/models/delete_fleets_fleet_id_wings_wing_id_not_found.rb +1 -1
  86. data/lib/esi-client-bvv/models/error_limited.rb +1 -1
  87. data/lib/esi-client-bvv/models/forbidden.rb +1 -1
  88. data/lib/esi-client-bvv/models/gateway_timeout.rb +1 -1
  89. data/lib/esi-client-bvv/models/get_alliances_alliance_id_contacts_200_ok.rb +1 -1
  90. data/lib/esi-client-bvv/models/get_alliances_alliance_id_contacts_labels_200_ok.rb +1 -1
  91. data/lib/esi-client-bvv/models/get_alliances_alliance_id_icons_not_found.rb +1 -1
  92. data/lib/esi-client-bvv/models/get_alliances_alliance_id_icons_ok.rb +1 -1
  93. data/lib/esi-client-bvv/models/get_alliances_alliance_id_not_found.rb +1 -1
  94. data/lib/esi-client-bvv/models/get_alliances_alliance_id_ok.rb +1 -1
  95. data/lib/esi-client-bvv/models/get_characters_character_id_agents_research_200_ok.rb +1 -1
  96. data/lib/esi-client-bvv/models/get_characters_character_id_assets_200_ok.rb +1 -1
  97. data/lib/esi-client-bvv/models/get_characters_character_id_attributes_ok.rb +1 -1
  98. data/lib/esi-client-bvv/models/get_characters_character_id_blueprints_200_ok.rb +1 -1
  99. data/lib/esi-client-bvv/models/get_characters_character_id_bookmarks_200_ok.rb +1 -1
  100. data/lib/esi-client-bvv/models/get_characters_character_id_bookmarks_coordinates.rb +1 -1
  101. data/lib/esi-client-bvv/models/get_characters_character_id_bookmarks_folders_200_ok.rb +1 -1
  102. data/lib/esi-client-bvv/models/get_characters_character_id_bookmarks_item.rb +1 -1
  103. data/lib/esi-client-bvv/models/get_characters_character_id_calendar_200_ok.rb +1 -1
  104. data/lib/esi-client-bvv/models/get_characters_character_id_calendar_event_id_attendees_200_ok.rb +1 -1
  105. data/lib/esi-client-bvv/models/get_characters_character_id_calendar_event_id_attendees_not_found.rb +1 -1
  106. data/lib/esi-client-bvv/models/get_characters_character_id_calendar_event_id_not_found.rb +1 -1
  107. data/lib/esi-client-bvv/models/get_characters_character_id_calendar_event_id_ok.rb +1 -1
  108. data/lib/esi-client-bvv/models/get_characters_character_id_clones_home_location.rb +1 -1
  109. data/lib/esi-client-bvv/models/get_characters_character_id_clones_jump_clone.rb +1 -1
  110. data/lib/esi-client-bvv/models/get_characters_character_id_clones_ok.rb +1 -1
  111. data/lib/esi-client-bvv/models/get_characters_character_id_contacts_200_ok.rb +1 -1
  112. data/lib/esi-client-bvv/models/get_characters_character_id_contacts_labels_200_ok.rb +1 -1
  113. data/lib/esi-client-bvv/models/get_characters_character_id_contracts_200_ok.rb +1 -1
  114. data/lib/esi-client-bvv/models/get_characters_character_id_contracts_contract_id_bids_200_ok.rb +1 -1
  115. data/lib/esi-client-bvv/models/get_characters_character_id_contracts_contract_id_bids_not_found.rb +1 -1
  116. data/lib/esi-client-bvv/models/get_characters_character_id_contracts_contract_id_items_200_ok.rb +2 -2
  117. data/lib/esi-client-bvv/models/get_characters_character_id_contracts_contract_id_items_not_found.rb +1 -1
  118. data/lib/esi-client-bvv/models/get_characters_character_id_corporationhistory_200_ok.rb +1 -1
  119. data/lib/esi-client-bvv/models/get_characters_character_id_fatigue_ok.rb +1 -1
  120. data/lib/esi-client-bvv/models/get_characters_character_id_fittings_200_ok.rb +1 -1
  121. data/lib/esi-client-bvv/models/get_characters_character_id_fittings_item.rb +1 -1
  122. data/lib/esi-client-bvv/models/get_characters_character_id_fleet_not_found.rb +1 -1
  123. data/lib/esi-client-bvv/models/get_characters_character_id_fleet_ok.rb +1 -1
  124. data/lib/esi-client-bvv/models/get_characters_character_id_fw_stats_kills.rb +1 -1
  125. data/lib/esi-client-bvv/models/get_characters_character_id_fw_stats_ok.rb +1 -1
  126. data/lib/esi-client-bvv/models/get_characters_character_id_fw_stats_victory_points.rb +1 -1
  127. data/lib/esi-client-bvv/models/get_characters_character_id_industry_jobs_200_ok.rb +1 -1
  128. data/lib/esi-client-bvv/models/get_characters_character_id_killmails_recent_200_ok.rb +1 -1
  129. data/lib/esi-client-bvv/models/get_characters_character_id_location_ok.rb +1 -1
  130. data/lib/esi-client-bvv/models/get_characters_character_id_loyalty_points_200_ok.rb +1 -1
  131. data/lib/esi-client-bvv/models/get_characters_character_id_mail_200_ok.rb +1 -1
  132. data/lib/esi-client-bvv/models/get_characters_character_id_mail_labels_label.rb +1 -1
  133. data/lib/esi-client-bvv/models/get_characters_character_id_mail_labels_ok.rb +1 -1
  134. data/lib/esi-client-bvv/models/get_characters_character_id_mail_lists_200_ok.rb +1 -1
  135. data/lib/esi-client-bvv/models/get_characters_character_id_mail_mail_id_not_found.rb +1 -1
  136. data/lib/esi-client-bvv/models/get_characters_character_id_mail_mail_id_ok.rb +1 -1
  137. data/lib/esi-client-bvv/models/get_characters_character_id_mail_mail_id_recipient.rb +1 -1
  138. data/lib/esi-client-bvv/models/get_characters_character_id_mail_recipient.rb +1 -1
  139. data/lib/esi-client-bvv/models/get_characters_character_id_medals_200_ok.rb +1 -1
  140. data/lib/esi-client-bvv/models/get_characters_character_id_medals_graphic.rb +1 -1
  141. data/lib/esi-client-bvv/models/get_characters_character_id_mining_200_ok.rb +1 -1
  142. data/lib/esi-client-bvv/models/get_characters_character_id_not_found.rb +1 -1
  143. data/lib/esi-client-bvv/models/get_characters_character_id_notifications_200_ok.rb +3 -3
  144. data/lib/esi-client-bvv/models/get_characters_character_id_notifications_contacts_200_ok.rb +1 -1
  145. data/lib/esi-client-bvv/models/get_characters_character_id_ok.rb +1 -1
  146. data/lib/esi-client-bvv/models/get_characters_character_id_online_ok.rb +1 -1
  147. data/lib/esi-client-bvv/models/get_characters_character_id_opportunities_200_ok.rb +1 -1
  148. data/lib/esi-client-bvv/models/get_characters_character_id_orders_200_ok.rb +1 -1
  149. data/lib/esi-client-bvv/models/get_characters_character_id_orders_history_200_ok.rb +1 -1
  150. data/lib/esi-client-bvv/models/get_characters_character_id_planets_200_ok.rb +1 -1
  151. data/lib/esi-client-bvv/models/get_characters_character_id_planets_planet_id_content.rb +1 -1
  152. data/lib/esi-client-bvv/models/get_characters_character_id_planets_planet_id_extractor_details.rb +1 -1
  153. data/lib/esi-client-bvv/models/get_characters_character_id_planets_planet_id_factory_details.rb +1 -1
  154. data/lib/esi-client-bvv/models/get_characters_character_id_planets_planet_id_head.rb +1 -1
  155. data/lib/esi-client-bvv/models/get_characters_character_id_planets_planet_id_link.rb +1 -1
  156. data/lib/esi-client-bvv/models/get_characters_character_id_planets_planet_id_not_found.rb +1 -1
  157. data/lib/esi-client-bvv/models/get_characters_character_id_planets_planet_id_ok.rb +1 -1
  158. data/lib/esi-client-bvv/models/get_characters_character_id_planets_planet_id_pin.rb +1 -1
  159. data/lib/esi-client-bvv/models/get_characters_character_id_planets_planet_id_route.rb +1 -1
  160. data/lib/esi-client-bvv/models/get_characters_character_id_portrait_not_found.rb +1 -1
  161. data/lib/esi-client-bvv/models/get_characters_character_id_portrait_ok.rb +1 -1
  162. data/lib/esi-client-bvv/models/get_characters_character_id_roles_ok.rb +1 -1
  163. data/lib/esi-client-bvv/models/get_characters_character_id_search_ok.rb +1 -1
  164. data/lib/esi-client-bvv/models/get_characters_character_id_ship_ok.rb +1 -1
  165. data/lib/esi-client-bvv/models/get_characters_character_id_skillqueue_200_ok.rb +1 -1
  166. data/lib/esi-client-bvv/models/get_characters_character_id_skills_ok.rb +1 -1
  167. data/lib/esi-client-bvv/models/get_characters_character_id_skills_skill.rb +1 -1
  168. data/lib/esi-client-bvv/models/get_characters_character_id_standings_200_ok.rb +1 -1
  169. data/lib/esi-client-bvv/models/get_characters_character_id_stats_200_ok.rb +1 -1
  170. data/lib/esi-client-bvv/models/get_characters_character_id_stats_character.rb +1 -1
  171. data/lib/esi-client-bvv/models/get_characters_character_id_stats_combat.rb +1 -1
  172. data/lib/esi-client-bvv/models/get_characters_character_id_stats_industry.rb +1 -1
  173. data/lib/esi-client-bvv/models/get_characters_character_id_stats_inventory.rb +1 -1
  174. data/lib/esi-client-bvv/models/get_characters_character_id_stats_isk.rb +1 -1
  175. data/lib/esi-client-bvv/models/get_characters_character_id_stats_market.rb +1 -1
  176. data/lib/esi-client-bvv/models/get_characters_character_id_stats_mining.rb +1 -1
  177. data/lib/esi-client-bvv/models/get_characters_character_id_stats_module.rb +1 -1
  178. data/lib/esi-client-bvv/models/get_characters_character_id_stats_orbital.rb +1 -1
  179. data/lib/esi-client-bvv/models/get_characters_character_id_stats_pve.rb +1 -1
  180. data/lib/esi-client-bvv/models/get_characters_character_id_stats_social.rb +1 -1
  181. data/lib/esi-client-bvv/models/get_characters_character_id_stats_travel.rb +1 -1
  182. data/lib/esi-client-bvv/models/get_characters_character_id_titles_200_ok.rb +1 -1
  183. data/lib/esi-client-bvv/models/get_characters_character_id_wallet_journal_200_ok.rb +4 -4
  184. data/lib/esi-client-bvv/models/get_characters_character_id_wallet_transactions_200_ok.rb +1 -1
  185. data/lib/esi-client-bvv/models/get_contracts_public_bids_contract_id_200_ok.rb +224 -0
  186. data/lib/esi-client-bvv/models/get_contracts_public_bids_contract_id_forbidden.rb +189 -0
  187. data/lib/esi-client-bvv/models/get_contracts_public_bids_contract_id_not_found.rb +189 -0
  188. data/lib/esi-client-bvv/models/get_contracts_public_items_contract_id_200_ok.rb +355 -0
  189. data/lib/esi-client-bvv/models/get_contracts_public_items_contract_id_forbidden.rb +189 -0
  190. data/lib/esi-client-bvv/models/get_contracts_public_items_contract_id_not_found.rb +189 -0
  191. data/lib/esi-client-bvv/models/get_contracts_public_region_id_200_ok.rb +402 -0
  192. data/lib/esi-client-bvv/models/get_contracts_public_region_id_not_found.rb +189 -0
  193. data/lib/esi-client-bvv/models/get_corporation_corporation_id_mining_extractions_200_ok.rb +1 -1
  194. data/lib/esi-client-bvv/models/get_corporation_corporation_id_mining_observers_200_ok.rb +1 -1
  195. data/lib/esi-client-bvv/models/get_corporation_corporation_id_mining_observers_observer_id_200_ok.rb +1 -1
  196. data/lib/esi-client-bvv/models/get_corporations_corporation_id_alliancehistory_200_ok.rb +1 -1
  197. data/lib/esi-client-bvv/models/get_corporations_corporation_id_assets_200_ok.rb +1 -1
  198. data/lib/esi-client-bvv/models/get_corporations_corporation_id_blueprints_200_ok.rb +1 -1
  199. data/lib/esi-client-bvv/models/get_corporations_corporation_id_bookmarks_200_ok.rb +1 -1
  200. data/lib/esi-client-bvv/models/get_corporations_corporation_id_bookmarks_coordinates.rb +1 -1
  201. data/lib/esi-client-bvv/models/get_corporations_corporation_id_bookmarks_folders_200_ok.rb +1 -1
  202. data/lib/esi-client-bvv/models/get_corporations_corporation_id_bookmarks_item.rb +1 -1
  203. data/lib/esi-client-bvv/models/get_corporations_corporation_id_contacts_200_ok.rb +1 -1
  204. data/lib/esi-client-bvv/models/get_corporations_corporation_id_contacts_labels_200_ok.rb +1 -1
  205. data/lib/esi-client-bvv/models/get_corporations_corporation_id_containers_logs_200_ok.rb +1 -1
  206. data/lib/esi-client-bvv/models/get_corporations_corporation_id_contracts_200_ok.rb +1 -1
  207. data/lib/esi-client-bvv/models/get_corporations_corporation_id_contracts_contract_id_bids_200_ok.rb +1 -1
  208. data/lib/esi-client-bvv/models/get_corporations_corporation_id_contracts_contract_id_bids_not_found.rb +1 -1
  209. data/lib/esi-client-bvv/models/get_corporations_corporation_id_contracts_contract_id_items_200_ok.rb +2 -2
  210. data/lib/esi-client-bvv/models/get_corporations_corporation_id_contracts_contract_id_items_error_520.rb +1 -1
  211. data/lib/esi-client-bvv/models/get_corporations_corporation_id_contracts_contract_id_items_not_found.rb +1 -1
  212. data/lib/esi-client-bvv/models/get_corporations_corporation_id_customs_offices_200_ok.rb +1 -1
  213. data/lib/esi-client-bvv/models/get_corporations_corporation_id_divisions_hangar_hangar.rb +1 -1
  214. data/lib/esi-client-bvv/models/get_corporations_corporation_id_divisions_ok.rb +1 -1
  215. data/lib/esi-client-bvv/models/get_corporations_corporation_id_divisions_wallet_wallet.rb +1 -1
  216. data/lib/esi-client-bvv/models/get_corporations_corporation_id_facilities_200_ok.rb +1 -1
  217. data/lib/esi-client-bvv/models/get_corporations_corporation_id_fw_stats_kills.rb +1 -1
  218. data/lib/esi-client-bvv/models/get_corporations_corporation_id_fw_stats_ok.rb +1 -1
  219. data/lib/esi-client-bvv/models/get_corporations_corporation_id_fw_stats_victory_points.rb +1 -1
  220. data/lib/esi-client-bvv/models/get_corporations_corporation_id_icons_not_found.rb +1 -1
  221. data/lib/esi-client-bvv/models/get_corporations_corporation_id_icons_ok.rb +1 -1
  222. data/lib/esi-client-bvv/models/get_corporations_corporation_id_industry_jobs_200_ok.rb +1 -1
  223. data/lib/esi-client-bvv/models/get_corporations_corporation_id_killmails_recent_200_ok.rb +1 -1
  224. data/lib/esi-client-bvv/models/get_corporations_corporation_id_medals_200_ok.rb +1 -1
  225. data/lib/esi-client-bvv/models/get_corporations_corporation_id_medals_issued_200_ok.rb +1 -1
  226. data/lib/esi-client-bvv/models/get_corporations_corporation_id_members_titles_200_ok.rb +1 -1
  227. data/lib/esi-client-bvv/models/get_corporations_corporation_id_membertracking_200_ok.rb +1 -1
  228. data/lib/esi-client-bvv/models/get_corporations_corporation_id_not_found.rb +1 -1
  229. data/lib/esi-client-bvv/models/get_corporations_corporation_id_ok.rb +15 -5
  230. data/lib/esi-client-bvv/models/get_corporations_corporation_id_orders_200_ok.rb +1 -1
  231. data/lib/esi-client-bvv/models/get_corporations_corporation_id_orders_history_200_ok.rb +1 -1
  232. data/lib/esi-client-bvv/models/get_corporations_corporation_id_roles_200_ok.rb +1 -1
  233. data/lib/esi-client-bvv/models/get_corporations_corporation_id_roles_history_200_ok.rb +1 -1
  234. data/lib/esi-client-bvv/models/get_corporations_corporation_id_shareholders_200_ok.rb +1 -1
  235. data/lib/esi-client-bvv/models/get_corporations_corporation_id_standings_200_ok.rb +1 -1
  236. data/lib/esi-client-bvv/models/get_corporations_corporation_id_starbases_200_ok.rb +1 -1
  237. data/lib/esi-client-bvv/models/get_corporations_corporation_id_starbases_starbase_id_fuel.rb +1 -1
  238. data/lib/esi-client-bvv/models/get_corporations_corporation_id_starbases_starbase_id_ok.rb +1 -1
  239. data/lib/esi-client-bvv/models/get_corporations_corporation_id_structures_200_ok.rb +14 -22
  240. data/lib/esi-client-bvv/models/get_corporations_corporation_id_structures_service.rb +1 -1
  241. data/lib/esi-client-bvv/models/get_corporations_corporation_id_titles_200_ok.rb +1 -1
  242. data/lib/esi-client-bvv/models/get_corporations_corporation_id_wallets_200_ok.rb +1 -1
  243. data/lib/esi-client-bvv/models/get_corporations_corporation_id_wallets_division_journal_200_ok.rb +4 -4
  244. data/lib/esi-client-bvv/models/get_corporations_corporation_id_wallets_division_transactions_200_ok.rb +1 -1
  245. data/lib/esi-client-bvv/models/get_dogma_attributes_attribute_id_not_found.rb +1 -1
  246. data/lib/esi-client-bvv/models/get_dogma_attributes_attribute_id_ok.rb +1 -1
  247. data/lib/esi-client-bvv/models/get_dogma_dynamic_items_type_id_item_id_dogma_attribute.rb +1 -1
  248. data/lib/esi-client-bvv/models/get_dogma_dynamic_items_type_id_item_id_dogma_effect.rb +1 -1
  249. data/lib/esi-client-bvv/models/get_dogma_dynamic_items_type_id_item_id_not_found.rb +1 -1
  250. data/lib/esi-client-bvv/models/get_dogma_dynamic_items_type_id_item_id_ok.rb +1 -1
  251. data/lib/esi-client-bvv/models/get_dogma_effects_effect_id_modifier.rb +1 -1
  252. data/lib/esi-client-bvv/models/get_dogma_effects_effect_id_not_found.rb +1 -1
  253. data/lib/esi-client-bvv/models/get_dogma_effects_effect_id_ok.rb +1 -1
  254. data/lib/esi-client-bvv/models/get_fleets_fleet_id_members_200_ok.rb +1 -1
  255. data/lib/esi-client-bvv/models/get_fleets_fleet_id_members_not_found.rb +1 -1
  256. data/lib/esi-client-bvv/models/get_fleets_fleet_id_not_found.rb +1 -1
  257. data/lib/esi-client-bvv/models/get_fleets_fleet_id_ok.rb +1 -1
  258. data/lib/esi-client-bvv/models/get_fleets_fleet_id_wings_200_ok.rb +1 -1
  259. data/lib/esi-client-bvv/models/get_fleets_fleet_id_wings_not_found.rb +1 -1
  260. data/lib/esi-client-bvv/models/get_fleets_fleet_id_wings_squad.rb +1 -1
  261. data/lib/esi-client-bvv/models/get_fw_leaderboards_active_total_active_total.rb +1 -1
  262. data/lib/esi-client-bvv/models/get_fw_leaderboards_active_total_active_total_1.rb +1 -1
  263. data/lib/esi-client-bvv/models/get_fw_leaderboards_characters_active_total_active_total.rb +1 -1
  264. data/lib/esi-client-bvv/models/get_fw_leaderboards_characters_active_total_active_total_1.rb +1 -1
  265. data/lib/esi-client-bvv/models/get_fw_leaderboards_characters_kills.rb +3 -3
  266. data/lib/esi-client-bvv/models/get_fw_leaderboards_characters_last_week_last_week.rb +1 -1
  267. data/lib/esi-client-bvv/models/get_fw_leaderboards_characters_last_week_last_week_1.rb +1 -1
  268. data/lib/esi-client-bvv/models/get_fw_leaderboards_characters_ok.rb +1 -1
  269. data/lib/esi-client-bvv/models/get_fw_leaderboards_characters_victory_points.rb +2 -2
  270. data/lib/esi-client-bvv/models/get_fw_leaderboards_characters_yesterday_yesterday.rb +1 -1
  271. data/lib/esi-client-bvv/models/get_fw_leaderboards_characters_yesterday_yesterday_1.rb +1 -1
  272. data/lib/esi-client-bvv/models/get_fw_leaderboards_corporations_active_total_active_total.rb +1 -1
  273. data/lib/esi-client-bvv/models/get_fw_leaderboards_corporations_active_total_active_total_1.rb +1 -1
  274. data/lib/esi-client-bvv/models/get_fw_leaderboards_corporations_kills.rb +3 -3
  275. data/lib/esi-client-bvv/models/get_fw_leaderboards_corporations_last_week_last_week.rb +1 -1
  276. data/lib/esi-client-bvv/models/get_fw_leaderboards_corporations_last_week_last_week_1.rb +1 -1
  277. data/lib/esi-client-bvv/models/get_fw_leaderboards_corporations_ok.rb +1 -1
  278. data/lib/esi-client-bvv/models/get_fw_leaderboards_corporations_victory_points.rb +2 -2
  279. data/lib/esi-client-bvv/models/get_fw_leaderboards_corporations_yesterday_yesterday.rb +1 -1
  280. data/lib/esi-client-bvv/models/get_fw_leaderboards_corporations_yesterday_yesterday_1.rb +1 -1
  281. data/lib/esi-client-bvv/models/get_fw_leaderboards_kills.rb +3 -3
  282. data/lib/esi-client-bvv/models/get_fw_leaderboards_last_week_last_week.rb +1 -1
  283. data/lib/esi-client-bvv/models/get_fw_leaderboards_last_week_last_week_1.rb +1 -1
  284. data/lib/esi-client-bvv/models/get_fw_leaderboards_ok.rb +1 -1
  285. data/lib/esi-client-bvv/models/get_fw_leaderboards_victory_points.rb +2 -2
  286. data/lib/esi-client-bvv/models/get_fw_leaderboards_yesterday_yesterday.rb +1 -1
  287. data/lib/esi-client-bvv/models/get_fw_leaderboards_yesterday_yesterday_1.rb +1 -1
  288. data/lib/esi-client-bvv/models/get_fw_stats_200_ok.rb +1 -1
  289. data/lib/esi-client-bvv/models/get_fw_stats_kills.rb +1 -1
  290. data/lib/esi-client-bvv/models/get_fw_stats_victory_points.rb +1 -1
  291. data/lib/esi-client-bvv/models/get_fw_systems_200_ok.rb +1 -1
  292. data/lib/esi-client-bvv/models/get_fw_wars_200_ok.rb +1 -1
  293. data/lib/esi-client-bvv/models/get_incursions_200_ok.rb +1 -1
  294. data/lib/esi-client-bvv/models/get_industry_facilities_200_ok.rb +1 -1
  295. data/lib/esi-client-bvv/models/get_industry_systems_200_ok.rb +1 -1
  296. data/lib/esi-client-bvv/models/get_industry_systems_cost_indice.rb +1 -1
  297. data/lib/esi-client-bvv/models/get_insurance_prices_200_ok.rb +1 -1
  298. data/lib/esi-client-bvv/models/get_insurance_prices_level.rb +1 -1
  299. data/lib/esi-client-bvv/models/get_killmails_killmail_id_killmail_hash_attacker.rb +1 -1
  300. data/lib/esi-client-bvv/models/get_killmails_killmail_id_killmail_hash_item.rb +1 -1
  301. data/lib/esi-client-bvv/models/get_killmails_killmail_id_killmail_hash_items_item.rb +1 -1
  302. data/lib/esi-client-bvv/models/get_killmails_killmail_id_killmail_hash_ok.rb +1 -1
  303. data/lib/esi-client-bvv/models/get_killmails_killmail_id_killmail_hash_position.rb +1 -1
  304. data/lib/esi-client-bvv/models/get_killmails_killmail_id_killmail_hash_unprocessable_entity.rb +1 -1
  305. data/lib/esi-client-bvv/models/get_killmails_killmail_id_killmail_hash_victim.rb +1 -1
  306. data/lib/esi-client-bvv/models/get_loyalty_stores_corporation_id_offers_200_ok.rb +1 -1
  307. data/lib/esi-client-bvv/models/get_loyalty_stores_corporation_id_offers_not_found.rb +1 -1
  308. data/lib/esi-client-bvv/models/get_loyalty_stores_corporation_id_offers_required_item.rb +1 -1
  309. data/lib/esi-client-bvv/models/get_markets_groups_market_group_id_not_found.rb +1 -1
  310. data/lib/esi-client-bvv/models/get_markets_groups_market_group_id_ok.rb +1 -1
  311. data/lib/esi-client-bvv/models/get_markets_prices_200_ok.rb +1 -1
  312. data/lib/esi-client-bvv/models/get_markets_region_id_history_200_ok.rb +1 -1
  313. data/lib/esi-client-bvv/models/get_markets_region_id_history_error_520.rb +1 -1
  314. data/lib/esi-client-bvv/models/get_markets_region_id_history_not_found.rb +1 -1
  315. data/lib/esi-client-bvv/models/get_markets_region_id_history_unprocessable_entity.rb +1 -1
  316. data/lib/esi-client-bvv/models/get_markets_region_id_orders_200_ok.rb +1 -1
  317. data/lib/esi-client-bvv/models/get_markets_region_id_orders_not_found.rb +1 -1
  318. data/lib/esi-client-bvv/models/get_markets_region_id_orders_unprocessable_entity.rb +1 -1
  319. data/lib/esi-client-bvv/models/get_markets_structures_structure_id_200_ok.rb +1 -1
  320. data/lib/esi-client-bvv/models/get_opportunities_groups_group_id_ok.rb +1 -1
  321. data/lib/esi-client-bvv/models/get_opportunities_tasks_task_id_ok.rb +1 -1
  322. data/lib/esi-client-bvv/models/get_route_origin_destination_not_found.rb +1 -1
  323. data/lib/esi-client-bvv/models/get_search_ok.rb +1 -1
  324. data/lib/esi-client-bvv/models/get_sovereignty_campaigns_200_ok.rb +1 -1
  325. data/lib/esi-client-bvv/models/get_sovereignty_campaigns_participant.rb +1 -1
  326. data/lib/esi-client-bvv/models/get_sovereignty_map_200_ok.rb +1 -1
  327. data/lib/esi-client-bvv/models/get_sovereignty_structures_200_ok.rb +1 -1
  328. data/lib/esi-client-bvv/models/get_status_ok.rb +1 -1
  329. data/lib/esi-client-bvv/models/get_universe_ancestries_200_ok.rb +1 -1
  330. data/lib/esi-client-bvv/models/get_universe_asteroid_belts_asteroid_belt_id_not_found.rb +1 -1
  331. data/lib/esi-client-bvv/models/get_universe_asteroid_belts_asteroid_belt_id_ok.rb +1 -1
  332. data/lib/esi-client-bvv/models/get_universe_asteroid_belts_asteroid_belt_id_position.rb +1 -1
  333. data/lib/esi-client-bvv/models/get_universe_bloodlines_200_ok.rb +1 -1
  334. data/lib/esi-client-bvv/models/get_universe_categories_category_id_not_found.rb +1 -1
  335. data/lib/esi-client-bvv/models/get_universe_categories_category_id_ok.rb +1 -1
  336. data/lib/esi-client-bvv/models/get_universe_constellations_constellation_id_not_found.rb +1 -1
  337. data/lib/esi-client-bvv/models/get_universe_constellations_constellation_id_ok.rb +1 -1
  338. data/lib/esi-client-bvv/models/get_universe_constellations_constellation_id_position.rb +1 -1
  339. data/lib/esi-client-bvv/models/get_universe_factions_200_ok.rb +1 -1
  340. data/lib/esi-client-bvv/models/get_universe_graphics_graphic_id_not_found.rb +1 -1
  341. data/lib/esi-client-bvv/models/get_universe_graphics_graphic_id_ok.rb +1 -1
  342. data/lib/esi-client-bvv/models/get_universe_groups_group_id_not_found.rb +1 -1
  343. data/lib/esi-client-bvv/models/get_universe_groups_group_id_ok.rb +1 -1
  344. data/lib/esi-client-bvv/models/get_universe_moons_moon_id_not_found.rb +1 -1
  345. data/lib/esi-client-bvv/models/get_universe_moons_moon_id_ok.rb +1 -1
  346. data/lib/esi-client-bvv/models/get_universe_moons_moon_id_position.rb +1 -1
  347. data/lib/esi-client-bvv/models/get_universe_planets_planet_id_not_found.rb +1 -1
  348. data/lib/esi-client-bvv/models/get_universe_planets_planet_id_ok.rb +1 -1
  349. data/lib/esi-client-bvv/models/get_universe_planets_planet_id_position.rb +1 -1
  350. data/lib/esi-client-bvv/models/get_universe_races_200_ok.rb +1 -1
  351. data/lib/esi-client-bvv/models/get_universe_regions_region_id_not_found.rb +1 -1
  352. data/lib/esi-client-bvv/models/get_universe_regions_region_id_ok.rb +1 -1
  353. data/lib/esi-client-bvv/models/get_universe_schematics_schematic_id_not_found.rb +1 -1
  354. data/lib/esi-client-bvv/models/get_universe_schematics_schematic_id_ok.rb +1 -1
  355. data/lib/esi-client-bvv/models/get_universe_stargates_stargate_id_destination.rb +1 -1
  356. data/lib/esi-client-bvv/models/get_universe_stargates_stargate_id_not_found.rb +1 -1
  357. data/lib/esi-client-bvv/models/get_universe_stargates_stargate_id_ok.rb +1 -1
  358. data/lib/esi-client-bvv/models/get_universe_stargates_stargate_id_position.rb +1 -1
  359. data/lib/esi-client-bvv/models/get_universe_stars_star_id_ok.rb +1 -1
  360. data/lib/esi-client-bvv/models/get_universe_stations_station_id_not_found.rb +1 -1
  361. data/lib/esi-client-bvv/models/get_universe_stations_station_id_ok.rb +1 -1
  362. data/lib/esi-client-bvv/models/get_universe_stations_station_id_position.rb +1 -1
  363. data/lib/esi-client-bvv/models/get_universe_structures_structure_id_not_found.rb +1 -1
  364. data/lib/esi-client-bvv/models/get_universe_structures_structure_id_ok.rb +1 -1
  365. data/lib/esi-client-bvv/models/get_universe_structures_structure_id_position.rb +1 -1
  366. data/lib/esi-client-bvv/models/get_universe_system_jumps_200_ok.rb +1 -1
  367. data/lib/esi-client-bvv/models/get_universe_system_kills_200_ok.rb +1 -1
  368. data/lib/esi-client-bvv/models/get_universe_systems_system_id_not_found.rb +1 -1
  369. data/lib/esi-client-bvv/models/get_universe_systems_system_id_ok.rb +1 -1
  370. data/lib/esi-client-bvv/models/get_universe_systems_system_id_planet.rb +1 -1
  371. data/lib/esi-client-bvv/models/get_universe_systems_system_id_position.rb +1 -1
  372. data/lib/esi-client-bvv/models/get_universe_types_type_id_dogma_attribute.rb +1 -1
  373. data/lib/esi-client-bvv/models/get_universe_types_type_id_dogma_effect.rb +1 -1
  374. data/lib/esi-client-bvv/models/get_universe_types_type_id_not_found.rb +1 -1
  375. data/lib/esi-client-bvv/models/get_universe_types_type_id_ok.rb +1 -1
  376. data/lib/esi-client-bvv/models/get_wars_war_id_aggressor.rb +1 -1
  377. data/lib/esi-client-bvv/models/get_wars_war_id_ally.rb +1 -1
  378. data/lib/esi-client-bvv/models/get_wars_war_id_defender.rb +1 -1
  379. data/lib/esi-client-bvv/models/get_wars_war_id_killmails_200_ok.rb +1 -1
  380. data/lib/esi-client-bvv/models/get_wars_war_id_killmails_unprocessable_entity.rb +1 -1
  381. data/lib/esi-client-bvv/models/get_wars_war_id_ok.rb +1 -1
  382. data/lib/esi-client-bvv/models/get_wars_war_id_unprocessable_entity.rb +1 -1
  383. data/lib/esi-client-bvv/models/internal_server_error.rb +1 -1
  384. data/lib/esi-client-bvv/models/post_characters_affiliation_200_ok.rb +1 -1
  385. data/lib/esi-client-bvv/models/post_characters_affiliation_not_found.rb +1 -1
  386. data/lib/esi-client-bvv/models/post_characters_character_id_assets_locations_200_ok.rb +1 -1
  387. data/lib/esi-client-bvv/models/post_characters_character_id_assets_locations_position.rb +1 -1
  388. data/lib/esi-client-bvv/models/post_characters_character_id_assets_names_200_ok.rb +1 -1
  389. data/lib/esi-client-bvv/models/post_characters_character_id_contacts_error_520.rb +1 -1
  390. data/lib/esi-client-bvv/models/post_characters_character_id_fittings_created.rb +1 -1
  391. data/lib/esi-client-bvv/models/post_characters_character_id_fittings_fitting.rb +1 -1
  392. data/lib/esi-client-bvv/models/post_characters_character_id_fittings_item.rb +1 -1
  393. data/lib/esi-client-bvv/models/post_characters_character_id_mail_error_520.rb +1 -1
  394. data/lib/esi-client-bvv/models/post_characters_character_id_mail_labels_label.rb +1 -1
  395. data/lib/esi-client-bvv/models/post_characters_character_id_mail_mail.rb +1 -1
  396. data/lib/esi-client-bvv/models/post_characters_character_id_mail_recipient.rb +1 -1
  397. data/lib/esi-client-bvv/models/post_corporations_corporation_id_assets_locations_200_ok.rb +1 -1
  398. data/lib/esi-client-bvv/models/post_corporations_corporation_id_assets_locations_not_found.rb +1 -1
  399. data/lib/esi-client-bvv/models/post_corporations_corporation_id_assets_locations_position.rb +1 -1
  400. data/lib/esi-client-bvv/models/post_corporations_corporation_id_assets_names_200_ok.rb +1 -1
  401. data/lib/esi-client-bvv/models/post_corporations_corporation_id_assets_names_not_found.rb +1 -1
  402. data/lib/esi-client-bvv/models/post_fleets_fleet_id_members_invitation.rb +1 -1
  403. data/lib/esi-client-bvv/models/post_fleets_fleet_id_members_not_found.rb +1 -1
  404. data/lib/esi-client-bvv/models/post_fleets_fleet_id_members_unprocessable_entity.rb +1 -1
  405. data/lib/esi-client-bvv/models/post_fleets_fleet_id_wings_created.rb +1 -1
  406. data/lib/esi-client-bvv/models/post_fleets_fleet_id_wings_not_found.rb +1 -1
  407. data/lib/esi-client-bvv/models/post_fleets_fleet_id_wings_wing_id_squads_created.rb +1 -1
  408. data/lib/esi-client-bvv/models/post_fleets_fleet_id_wings_wing_id_squads_not_found.rb +1 -1
  409. data/lib/esi-client-bvv/models/post_ui_openwindow_newmail_new_mail.rb +1 -1
  410. data/lib/esi-client-bvv/models/post_ui_openwindow_newmail_unprocessable_entity.rb +1 -1
  411. data/lib/esi-client-bvv/models/post_universe_ids_agent.rb +1 -1
  412. data/lib/esi-client-bvv/models/post_universe_ids_alliance.rb +1 -1
  413. data/lib/esi-client-bvv/models/post_universe_ids_character.rb +1 -1
  414. data/lib/esi-client-bvv/models/post_universe_ids_constellation.rb +1 -1
  415. data/lib/esi-client-bvv/models/post_universe_ids_corporation.rb +1 -1
  416. data/lib/esi-client-bvv/models/post_universe_ids_faction.rb +1 -1
  417. data/lib/esi-client-bvv/models/post_universe_ids_inventory_type.rb +1 -1
  418. data/lib/esi-client-bvv/models/post_universe_ids_ok.rb +1 -1
  419. data/lib/esi-client-bvv/models/post_universe_ids_region.rb +1 -1
  420. data/lib/esi-client-bvv/models/post_universe_ids_station.rb +1 -1
  421. data/lib/esi-client-bvv/models/post_universe_ids_system.rb +1 -1
  422. data/lib/esi-client-bvv/models/post_universe_names_200_ok.rb +1 -1
  423. data/lib/esi-client-bvv/models/post_universe_names_not_found.rb +1 -1
  424. data/lib/esi-client-bvv/models/put_characters_character_id_calendar_event_id_response.rb +1 -1
  425. data/lib/esi-client-bvv/models/put_characters_character_id_mail_mail_id_contents.rb +1 -1
  426. data/lib/esi-client-bvv/models/put_fleets_fleet_id_members_member_id_movement.rb +1 -1
  427. data/lib/esi-client-bvv/models/put_fleets_fleet_id_members_member_id_not_found.rb +1 -1
  428. data/lib/esi-client-bvv/models/put_fleets_fleet_id_members_member_id_unprocessable_entity.rb +1 -1
  429. data/lib/esi-client-bvv/models/put_fleets_fleet_id_new_settings.rb +1 -1
  430. data/lib/esi-client-bvv/models/put_fleets_fleet_id_not_found.rb +1 -1
  431. data/lib/esi-client-bvv/models/put_fleets_fleet_id_squads_squad_id_naming.rb +1 -1
  432. data/lib/esi-client-bvv/models/put_fleets_fleet_id_squads_squad_id_not_found.rb +1 -1
  433. data/lib/esi-client-bvv/models/put_fleets_fleet_id_wings_wing_id_naming.rb +1 -1
  434. data/lib/esi-client-bvv/models/put_fleets_fleet_id_wings_wing_id_not_found.rb +1 -1
  435. data/lib/esi-client-bvv/models/service_unavailable.rb +1 -1
  436. data/lib/esi-client-bvv/models/unauthorized.rb +1 -1
  437. data/lib/esi-client-bvv/version.rb +2 -2
  438. data/spec/models/get_contracts_public_bids_contract_id_200_ok_spec.rb +54 -0
  439. data/spec/models/get_contracts_public_bids_contract_id_forbidden_spec.rb +42 -0
  440. data/spec/models/get_contracts_public_bids_contract_id_not_found_spec.rb +42 -0
  441. data/spec/models/get_contracts_public_items_contract_id_200_ok_spec.rb +90 -0
  442. data/spec/models/get_contracts_public_items_contract_id_forbidden_spec.rb +42 -0
  443. data/spec/models/get_contracts_public_items_contract_id_not_found_spec.rb +42 -0
  444. data/spec/models/get_contracts_public_region_id_200_ok_spec.rb +136 -0
  445. data/spec/models/get_contracts_public_region_id_not_found_spec.rb +42 -0
  446. metadata +413 -381
@@ -0,0 +1,189 @@
1
+ =begin
2
+ #EVE Swagger Interface
3
+
4
+ #An OpenAPI for EVE Online
5
+
6
+ OpenAPI spec version: 0.8.6
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
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
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'error' => :'error'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.swagger_types
31
+ {
32
+ :'error' => :'String'
33
+ }
34
+ end
35
+
36
+ # Initializes the object
37
+ # @param [Hash] attributes Model attributes in the form of hash
38
+ def initialize(attributes = {})
39
+ return unless attributes.is_a?(Hash)
40
+
41
+ # convert string to symbol for hash key
42
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
43
+
44
+ if attributes.has_key?(:'error')
45
+ self.error = attributes[:'error']
46
+ end
47
+
48
+ end
49
+
50
+ # Show invalid properties with the reasons. Usually used together with valid?
51
+ # @return Array for valid properties with the reasons
52
+ def list_invalid_properties
53
+ invalid_properties = Array.new
54
+ return invalid_properties
55
+ end
56
+
57
+ # Check to see if the all the properties in the model are valid
58
+ # @return true if the model is valid
59
+ def valid?
60
+ return true
61
+ end
62
+
63
+ # Checks equality by comparing each attribute.
64
+ # @param [Object] Object to be compared
65
+ def ==(o)
66
+ return true if self.equal?(o)
67
+ self.class == o.class &&
68
+ error == o.error
69
+ end
70
+
71
+ # @see the `==` method
72
+ # @param [Object] Object to be compared
73
+ def eql?(o)
74
+ self == o
75
+ end
76
+
77
+ # Calculates hash code according to all attributes.
78
+ # @return [Fixnum] Hash code
79
+ def hash
80
+ [error].hash
81
+ end
82
+
83
+ # Builds the object from hash
84
+ # @param [Hash] attributes Model attributes in the form of hash
85
+ # @return [Object] Returns the model itself
86
+ def build_from_hash(attributes)
87
+ return nil unless attributes.is_a?(Hash)
88
+ self.class.swagger_types.each_pair do |key, type|
89
+ if type =~ /\AArray<(.*)>/i
90
+ # check to ensure the input is an array given that the the attribute
91
+ # is documented as an array but the input is not
92
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
93
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
94
+ end
95
+ elsif !attributes[self.class.attribute_map[key]].nil?
96
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
97
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
98
+ end
99
+
100
+ self
101
+ end
102
+
103
+ # Deserializes the data based on type
104
+ # @param string type Data type
105
+ # @param string value Value to be deserialized
106
+ # @return [Object] Deserialized data
107
+ def _deserialize(type, value)
108
+ case type.to_sym
109
+ when :DateTime
110
+ DateTime.parse(value)
111
+ when :Date
112
+ Date.parse(value)
113
+ when :String
114
+ value.to_s
115
+ when :Integer
116
+ value.to_i
117
+ when :Float
118
+ value.to_f
119
+ when :BOOLEAN
120
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
121
+ true
122
+ else
123
+ false
124
+ end
125
+ when :Object
126
+ # generic object (usually a Hash), return directly
127
+ value
128
+ when /\AArray<(?<inner_type>.+)>\z/
129
+ inner_type = Regexp.last_match[:inner_type]
130
+ value.map { |v| _deserialize(inner_type, v) }
131
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
132
+ k_type = Regexp.last_match[:k_type]
133
+ v_type = Regexp.last_match[:v_type]
134
+ {}.tap do |hash|
135
+ value.each do |k, v|
136
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
137
+ end
138
+ end
139
+ else # model
140
+ temp_model = ESI.const_get(type).new
141
+ temp_model.build_from_hash(value)
142
+ end
143
+ end
144
+
145
+ # Returns the string representation of the object
146
+ # @return [String] String presentation of the object
147
+ def to_s
148
+ to_hash.to_s
149
+ end
150
+
151
+ # to_body is an alias to to_hash (backward compatibility)
152
+ # @return [Hash] Returns the object in the form of hash
153
+ def to_body
154
+ to_hash
155
+ end
156
+
157
+ # Returns the object in the form of hash
158
+ # @return [Hash] Returns the object in the form of hash
159
+ def to_hash
160
+ hash = {}
161
+ self.class.attribute_map.each_pair do |attr, param|
162
+ value = self.send(attr)
163
+ next if value.nil?
164
+ hash[param] = _to_hash(value)
165
+ end
166
+ hash
167
+ end
168
+
169
+ # Outputs non-array value in the form of hash
170
+ # For object, use to_hash. Otherwise, just return the value
171
+ # @param [Object] value Any valid value
172
+ # @return [Hash] Returns the value in the form of hash
173
+ def _to_hash(value)
174
+ if value.is_a?(Array)
175
+ value.compact.map{ |v| _to_hash(v) }
176
+ elsif value.is_a?(Hash)
177
+ {}.tap do |hash|
178
+ value.each { |k, v| hash[k] = _to_hash(v) }
179
+ end
180
+ elsif value.respond_to? :to_hash
181
+ value.to_hash
182
+ else
183
+ value
184
+ end
185
+ end
186
+
187
+ end
188
+
189
+ end
@@ -0,0 +1,189 @@
1
+ =begin
2
+ #EVE Swagger Interface
3
+
4
+ #An OpenAPI for EVE Online
5
+
6
+ OpenAPI spec version: 0.8.6
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
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
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'error' => :'error'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.swagger_types
31
+ {
32
+ :'error' => :'String'
33
+ }
34
+ end
35
+
36
+ # Initializes the object
37
+ # @param [Hash] attributes Model attributes in the form of hash
38
+ def initialize(attributes = {})
39
+ return unless attributes.is_a?(Hash)
40
+
41
+ # convert string to symbol for hash key
42
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
43
+
44
+ if attributes.has_key?(:'error')
45
+ self.error = attributes[:'error']
46
+ end
47
+
48
+ end
49
+
50
+ # Show invalid properties with the reasons. Usually used together with valid?
51
+ # @return Array for valid properties with the reasons
52
+ def list_invalid_properties
53
+ invalid_properties = Array.new
54
+ return invalid_properties
55
+ end
56
+
57
+ # Check to see if the all the properties in the model are valid
58
+ # @return true if the model is valid
59
+ def valid?
60
+ return true
61
+ end
62
+
63
+ # Checks equality by comparing each attribute.
64
+ # @param [Object] Object to be compared
65
+ def ==(o)
66
+ return true if self.equal?(o)
67
+ self.class == o.class &&
68
+ error == o.error
69
+ end
70
+
71
+ # @see the `==` method
72
+ # @param [Object] Object to be compared
73
+ def eql?(o)
74
+ self == o
75
+ end
76
+
77
+ # Calculates hash code according to all attributes.
78
+ # @return [Fixnum] Hash code
79
+ def hash
80
+ [error].hash
81
+ end
82
+
83
+ # Builds the object from hash
84
+ # @param [Hash] attributes Model attributes in the form of hash
85
+ # @return [Object] Returns the model itself
86
+ def build_from_hash(attributes)
87
+ return nil unless attributes.is_a?(Hash)
88
+ self.class.swagger_types.each_pair do |key, type|
89
+ if type =~ /\AArray<(.*)>/i
90
+ # check to ensure the input is an array given that the the attribute
91
+ # is documented as an array but the input is not
92
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
93
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
94
+ end
95
+ elsif !attributes[self.class.attribute_map[key]].nil?
96
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
97
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
98
+ end
99
+
100
+ self
101
+ end
102
+
103
+ # Deserializes the data based on type
104
+ # @param string type Data type
105
+ # @param string value Value to be deserialized
106
+ # @return [Object] Deserialized data
107
+ def _deserialize(type, value)
108
+ case type.to_sym
109
+ when :DateTime
110
+ DateTime.parse(value)
111
+ when :Date
112
+ Date.parse(value)
113
+ when :String
114
+ value.to_s
115
+ when :Integer
116
+ value.to_i
117
+ when :Float
118
+ value.to_f
119
+ when :BOOLEAN
120
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
121
+ true
122
+ else
123
+ false
124
+ end
125
+ when :Object
126
+ # generic object (usually a Hash), return directly
127
+ value
128
+ when /\AArray<(?<inner_type>.+)>\z/
129
+ inner_type = Regexp.last_match[:inner_type]
130
+ value.map { |v| _deserialize(inner_type, v) }
131
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
132
+ k_type = Regexp.last_match[:k_type]
133
+ v_type = Regexp.last_match[:v_type]
134
+ {}.tap do |hash|
135
+ value.each do |k, v|
136
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
137
+ end
138
+ end
139
+ else # model
140
+ temp_model = ESI.const_get(type).new
141
+ temp_model.build_from_hash(value)
142
+ end
143
+ end
144
+
145
+ # Returns the string representation of the object
146
+ # @return [String] String presentation of the object
147
+ def to_s
148
+ to_hash.to_s
149
+ end
150
+
151
+ # to_body is an alias to to_hash (backward compatibility)
152
+ # @return [Hash] Returns the object in the form of hash
153
+ def to_body
154
+ to_hash
155
+ end
156
+
157
+ # Returns the object in the form of hash
158
+ # @return [Hash] Returns the object in the form of hash
159
+ def to_hash
160
+ hash = {}
161
+ self.class.attribute_map.each_pair do |attr, param|
162
+ value = self.send(attr)
163
+ next if value.nil?
164
+ hash[param] = _to_hash(value)
165
+ end
166
+ hash
167
+ end
168
+
169
+ # Outputs non-array value in the form of hash
170
+ # For object, use to_hash. Otherwise, just return the value
171
+ # @param [Object] value Any valid value
172
+ # @return [Hash] Returns the value in the form of hash
173
+ def _to_hash(value)
174
+ if value.is_a?(Array)
175
+ value.compact.map{ |v| _to_hash(v) }
176
+ elsif value.is_a?(Hash)
177
+ {}.tap do |hash|
178
+ value.each { |k, v| hash[k] = _to_hash(v) }
179
+ end
180
+ elsif value.respond_to? :to_hash
181
+ value.to_hash
182
+ else
183
+ value
184
+ end
185
+ end
186
+
187
+ end
188
+
189
+ end
@@ -0,0 +1,355 @@
1
+ =begin
2
+ #EVE Swagger Interface
3
+
4
+ #An OpenAPI for EVE Online
5
+
6
+ OpenAPI spec version: 0.8.6
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
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
+
46
+ # Attribute mapping from ruby-style variable name to JSON key.
47
+ def self.attribute_map
48
+ {
49
+ :'is_blueprint_copy' => :'is_blueprint_copy',
50
+ :'is_included' => :'is_included',
51
+ :'item_id' => :'item_id',
52
+ :'material_efficiency' => :'material_efficiency',
53
+ :'quantity' => :'quantity',
54
+ :'record_id' => :'record_id',
55
+ :'runs' => :'runs',
56
+ :'time_efficiency' => :'time_efficiency',
57
+ :'type_id' => :'type_id'
58
+ }
59
+ end
60
+
61
+ # Attribute type mapping.
62
+ def self.swagger_types
63
+ {
64
+ :'is_blueprint_copy' => :'BOOLEAN',
65
+ :'is_included' => :'BOOLEAN',
66
+ :'item_id' => :'Integer',
67
+ :'material_efficiency' => :'Integer',
68
+ :'quantity' => :'Integer',
69
+ :'record_id' => :'Integer',
70
+ :'runs' => :'Integer',
71
+ :'time_efficiency' => :'Integer',
72
+ :'type_id' => :'Integer'
73
+ }
74
+ end
75
+
76
+ # Initializes the object
77
+ # @param [Hash] attributes Model attributes in the form of hash
78
+ def initialize(attributes = {})
79
+ return unless attributes.is_a?(Hash)
80
+
81
+ # convert string to symbol for hash key
82
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
83
+
84
+ if attributes.has_key?(:'is_blueprint_copy')
85
+ self.is_blueprint_copy = attributes[:'is_blueprint_copy']
86
+ end
87
+
88
+ if attributes.has_key?(:'is_included')
89
+ self.is_included = attributes[:'is_included']
90
+ end
91
+
92
+ if attributes.has_key?(:'item_id')
93
+ self.item_id = attributes[:'item_id']
94
+ end
95
+
96
+ if attributes.has_key?(:'material_efficiency')
97
+ self.material_efficiency = attributes[:'material_efficiency']
98
+ end
99
+
100
+ if attributes.has_key?(:'quantity')
101
+ self.quantity = attributes[:'quantity']
102
+ end
103
+
104
+ if attributes.has_key?(:'record_id')
105
+ self.record_id = attributes[:'record_id']
106
+ end
107
+
108
+ if attributes.has_key?(:'runs')
109
+ self.runs = attributes[:'runs']
110
+ end
111
+
112
+ if attributes.has_key?(:'time_efficiency')
113
+ self.time_efficiency = attributes[:'time_efficiency']
114
+ end
115
+
116
+ if attributes.has_key?(:'type_id')
117
+ self.type_id = attributes[:'type_id']
118
+ end
119
+
120
+ end
121
+
122
+ # Show invalid properties with the reasons. Usually used together with valid?
123
+ # @return Array for valid properties with the reasons
124
+ def list_invalid_properties
125
+ invalid_properties = Array.new
126
+ if @is_included.nil?
127
+ invalid_properties.push("invalid value for 'is_included', is_included cannot be nil.")
128
+ end
129
+
130
+ if !@material_efficiency.nil? && @material_efficiency > 25
131
+ invalid_properties.push("invalid value for 'material_efficiency', must be smaller than or equal to 25.")
132
+ end
133
+
134
+ if !@material_efficiency.nil? && @material_efficiency < 0
135
+ invalid_properties.push("invalid value for 'material_efficiency', must be greater than or equal to 0.")
136
+ end
137
+
138
+ if @quantity.nil?
139
+ invalid_properties.push("invalid value for 'quantity', quantity cannot be nil.")
140
+ end
141
+
142
+ if @record_id.nil?
143
+ invalid_properties.push("invalid value for 'record_id', record_id cannot be nil.")
144
+ end
145
+
146
+ if !@runs.nil? && @runs < -1
147
+ invalid_properties.push("invalid value for 'runs', must be greater than or equal to -1.")
148
+ end
149
+
150
+ if !@time_efficiency.nil? && @time_efficiency > 20
151
+ invalid_properties.push("invalid value for 'time_efficiency', must be smaller than or equal to 20.")
152
+ end
153
+
154
+ if !@time_efficiency.nil? && @time_efficiency < 0
155
+ invalid_properties.push("invalid value for 'time_efficiency', must be greater than or equal to 0.")
156
+ end
157
+
158
+ if @type_id.nil?
159
+ invalid_properties.push("invalid value for 'type_id', type_id cannot be nil.")
160
+ end
161
+
162
+ return invalid_properties
163
+ end
164
+
165
+ # Check to see if the all the properties in the model are valid
166
+ # @return true if the model is valid
167
+ def valid?
168
+ return false if @is_included.nil?
169
+ return false if !@material_efficiency.nil? && @material_efficiency > 25
170
+ return false if !@material_efficiency.nil? && @material_efficiency < 0
171
+ return false if @quantity.nil?
172
+ return false if @record_id.nil?
173
+ return false if !@runs.nil? && @runs < -1
174
+ return false if !@time_efficiency.nil? && @time_efficiency > 20
175
+ return false if !@time_efficiency.nil? && @time_efficiency < 0
176
+ return false if @type_id.nil?
177
+ return true
178
+ end
179
+
180
+ # Custom attribute writer method with validation
181
+ # @param [Object] material_efficiency Value to be assigned
182
+ def material_efficiency=(material_efficiency)
183
+
184
+ if !material_efficiency.nil? && material_efficiency > 25
185
+ fail ArgumentError, "invalid value for 'material_efficiency', must be smaller than or equal to 25."
186
+ end
187
+
188
+ if !material_efficiency.nil? && material_efficiency < 0
189
+ fail ArgumentError, "invalid value for 'material_efficiency', must be greater than or equal to 0."
190
+ end
191
+
192
+ @material_efficiency = material_efficiency
193
+ end
194
+
195
+ # Custom attribute writer method with validation
196
+ # @param [Object] runs Value to be assigned
197
+ def runs=(runs)
198
+
199
+ if !runs.nil? && runs < -1
200
+ fail ArgumentError, "invalid value for 'runs', must be greater than or equal to -1."
201
+ end
202
+
203
+ @runs = runs
204
+ end
205
+
206
+ # Custom attribute writer method with validation
207
+ # @param [Object] time_efficiency Value to be assigned
208
+ def time_efficiency=(time_efficiency)
209
+
210
+ if !time_efficiency.nil? && time_efficiency > 20
211
+ fail ArgumentError, "invalid value for 'time_efficiency', must be smaller than or equal to 20."
212
+ end
213
+
214
+ if !time_efficiency.nil? && time_efficiency < 0
215
+ fail ArgumentError, "invalid value for 'time_efficiency', must be greater than or equal to 0."
216
+ end
217
+
218
+ @time_efficiency = time_efficiency
219
+ end
220
+
221
+ # Checks equality by comparing each attribute.
222
+ # @param [Object] Object to be compared
223
+ def ==(o)
224
+ return true if self.equal?(o)
225
+ self.class == o.class &&
226
+ is_blueprint_copy == o.is_blueprint_copy &&
227
+ is_included == o.is_included &&
228
+ item_id == o.item_id &&
229
+ material_efficiency == o.material_efficiency &&
230
+ quantity == o.quantity &&
231
+ record_id == o.record_id &&
232
+ runs == o.runs &&
233
+ time_efficiency == o.time_efficiency &&
234
+ type_id == o.type_id
235
+ end
236
+
237
+ # @see the `==` method
238
+ # @param [Object] Object to be compared
239
+ def eql?(o)
240
+ self == o
241
+ end
242
+
243
+ # Calculates hash code according to all attributes.
244
+ # @return [Fixnum] Hash code
245
+ def hash
246
+ [is_blueprint_copy, is_included, item_id, material_efficiency, quantity, record_id, runs, time_efficiency, type_id].hash
247
+ end
248
+
249
+ # Builds the object from hash
250
+ # @param [Hash] attributes Model attributes in the form of hash
251
+ # @return [Object] Returns the model itself
252
+ def build_from_hash(attributes)
253
+ return nil unless attributes.is_a?(Hash)
254
+ self.class.swagger_types.each_pair do |key, type|
255
+ if type =~ /\AArray<(.*)>/i
256
+ # check to ensure the input is an array given that the the attribute
257
+ # is documented as an array but the input is not
258
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
259
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
260
+ end
261
+ elsif !attributes[self.class.attribute_map[key]].nil?
262
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
263
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
264
+ end
265
+
266
+ self
267
+ end
268
+
269
+ # Deserializes the data based on type
270
+ # @param string type Data type
271
+ # @param string value Value to be deserialized
272
+ # @return [Object] Deserialized data
273
+ def _deserialize(type, value)
274
+ case type.to_sym
275
+ when :DateTime
276
+ DateTime.parse(value)
277
+ when :Date
278
+ Date.parse(value)
279
+ when :String
280
+ value.to_s
281
+ when :Integer
282
+ value.to_i
283
+ when :Float
284
+ value.to_f
285
+ when :BOOLEAN
286
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
287
+ true
288
+ else
289
+ false
290
+ end
291
+ when :Object
292
+ # generic object (usually a Hash), return directly
293
+ value
294
+ when /\AArray<(?<inner_type>.+)>\z/
295
+ inner_type = Regexp.last_match[:inner_type]
296
+ value.map { |v| _deserialize(inner_type, v) }
297
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
298
+ k_type = Regexp.last_match[:k_type]
299
+ v_type = Regexp.last_match[:v_type]
300
+ {}.tap do |hash|
301
+ value.each do |k, v|
302
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
303
+ end
304
+ end
305
+ else # model
306
+ temp_model = ESI.const_get(type).new
307
+ temp_model.build_from_hash(value)
308
+ end
309
+ end
310
+
311
+ # Returns the string representation of the object
312
+ # @return [String] String presentation of the object
313
+ def to_s
314
+ to_hash.to_s
315
+ end
316
+
317
+ # to_body is an alias to to_hash (backward compatibility)
318
+ # @return [Hash] Returns the object in the form of hash
319
+ def to_body
320
+ to_hash
321
+ end
322
+
323
+ # Returns the object in the form of hash
324
+ # @return [Hash] Returns the object in the form of hash
325
+ def to_hash
326
+ hash = {}
327
+ self.class.attribute_map.each_pair do |attr, param|
328
+ value = self.send(attr)
329
+ next if value.nil?
330
+ hash[param] = _to_hash(value)
331
+ end
332
+ hash
333
+ end
334
+
335
+ # Outputs non-array value in the form of hash
336
+ # For object, use to_hash. Otherwise, just return the value
337
+ # @param [Object] value Any valid value
338
+ # @return [Hash] Returns the value in the form of hash
339
+ def _to_hash(value)
340
+ if value.is_a?(Array)
341
+ value.compact.map{ |v| _to_hash(v) }
342
+ elsif value.is_a?(Hash)
343
+ {}.tap do |hash|
344
+ value.each { |k, v| hash[k] = _to_hash(v) }
345
+ end
346
+ elsif value.respond_to? :to_hash
347
+ value.to_hash
348
+ else
349
+ value
350
+ end
351
+ end
352
+
353
+ end
354
+
355
+ end