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 GetContractsPublicItemsContractIdForbidden
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 GetContractsPublicItemsContractIdNotFound
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,402 @@
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 GetContractsPublicRegionId200Ok
18
+ # Buyout price (for Auctions only)
19
+ attr_accessor :buyout
20
+
21
+ # Collateral price (for Couriers only)
22
+ attr_accessor :collateral
23
+
24
+ # contract_id integer
25
+ attr_accessor :contract_id
26
+
27
+ # Expiration date of the contract
28
+ attr_accessor :date_expired
29
+
30
+ # Сreation date of the contract
31
+ attr_accessor :date_issued
32
+
33
+ # Number of days to perform the contract
34
+ attr_accessor :days_to_complete
35
+
36
+ # End location ID (for Couriers contract)
37
+ attr_accessor :end_location_id
38
+
39
+ # true if the contract was issued on behalf of the issuer's corporation
40
+ attr_accessor :for_corporation
41
+
42
+ # Character's corporation ID for the issuer
43
+ attr_accessor :issuer_corporation_id
44
+
45
+ # Character ID for the issuer
46
+ attr_accessor :issuer_id
47
+
48
+ # Price of contract (for ItemsExchange and Auctions)
49
+ attr_accessor :price
50
+
51
+ # Remuneration for contract (for Couriers only)
52
+ attr_accessor :reward
53
+
54
+ # Start location ID (for Couriers contract)
55
+ attr_accessor :start_location_id
56
+
57
+ # Title of the contract
58
+ attr_accessor :title
59
+
60
+ # Type of the contract
61
+ attr_accessor :type
62
+
63
+ # Volume of items in the contract
64
+ attr_accessor :volume
65
+
66
+ class EnumAttributeValidator
67
+ attr_reader :datatype
68
+ attr_reader :allowable_values
69
+
70
+ def initialize(datatype, allowable_values)
71
+ @allowable_values = allowable_values.map do |value|
72
+ case datatype.to_s
73
+ when /Integer/i
74
+ value.to_i
75
+ when /Float/i
76
+ value.to_f
77
+ else
78
+ value
79
+ end
80
+ end
81
+ end
82
+
83
+ def valid?(value)
84
+ !value || allowable_values.include?(value)
85
+ end
86
+ end
87
+
88
+ # Attribute mapping from ruby-style variable name to JSON key.
89
+ def self.attribute_map
90
+ {
91
+ :'buyout' => :'buyout',
92
+ :'collateral' => :'collateral',
93
+ :'contract_id' => :'contract_id',
94
+ :'date_expired' => :'date_expired',
95
+ :'date_issued' => :'date_issued',
96
+ :'days_to_complete' => :'days_to_complete',
97
+ :'end_location_id' => :'end_location_id',
98
+ :'for_corporation' => :'for_corporation',
99
+ :'issuer_corporation_id' => :'issuer_corporation_id',
100
+ :'issuer_id' => :'issuer_id',
101
+ :'price' => :'price',
102
+ :'reward' => :'reward',
103
+ :'start_location_id' => :'start_location_id',
104
+ :'title' => :'title',
105
+ :'type' => :'type',
106
+ :'volume' => :'volume'
107
+ }
108
+ end
109
+
110
+ # Attribute type mapping.
111
+ def self.swagger_types
112
+ {
113
+ :'buyout' => :'Float',
114
+ :'collateral' => :'Float',
115
+ :'contract_id' => :'Integer',
116
+ :'date_expired' => :'DateTime',
117
+ :'date_issued' => :'DateTime',
118
+ :'days_to_complete' => :'Integer',
119
+ :'end_location_id' => :'Integer',
120
+ :'for_corporation' => :'BOOLEAN',
121
+ :'issuer_corporation_id' => :'Integer',
122
+ :'issuer_id' => :'Integer',
123
+ :'price' => :'Float',
124
+ :'reward' => :'Float',
125
+ :'start_location_id' => :'Integer',
126
+ :'title' => :'String',
127
+ :'type' => :'String',
128
+ :'volume' => :'Float'
129
+ }
130
+ end
131
+
132
+ # Initializes the object
133
+ # @param [Hash] attributes Model attributes in the form of hash
134
+ def initialize(attributes = {})
135
+ return unless attributes.is_a?(Hash)
136
+
137
+ # convert string to symbol for hash key
138
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
139
+
140
+ if attributes.has_key?(:'buyout')
141
+ self.buyout = attributes[:'buyout']
142
+ end
143
+
144
+ if attributes.has_key?(:'collateral')
145
+ self.collateral = attributes[:'collateral']
146
+ end
147
+
148
+ if attributes.has_key?(:'contract_id')
149
+ self.contract_id = attributes[:'contract_id']
150
+ end
151
+
152
+ if attributes.has_key?(:'date_expired')
153
+ self.date_expired = attributes[:'date_expired']
154
+ end
155
+
156
+ if attributes.has_key?(:'date_issued')
157
+ self.date_issued = attributes[:'date_issued']
158
+ end
159
+
160
+ if attributes.has_key?(:'days_to_complete')
161
+ self.days_to_complete = attributes[:'days_to_complete']
162
+ end
163
+
164
+ if attributes.has_key?(:'end_location_id')
165
+ self.end_location_id = attributes[:'end_location_id']
166
+ end
167
+
168
+ if attributes.has_key?(:'for_corporation')
169
+ self.for_corporation = attributes[:'for_corporation']
170
+ end
171
+
172
+ if attributes.has_key?(:'issuer_corporation_id')
173
+ self.issuer_corporation_id = attributes[:'issuer_corporation_id']
174
+ end
175
+
176
+ if attributes.has_key?(:'issuer_id')
177
+ self.issuer_id = attributes[:'issuer_id']
178
+ end
179
+
180
+ if attributes.has_key?(:'price')
181
+ self.price = attributes[:'price']
182
+ end
183
+
184
+ if attributes.has_key?(:'reward')
185
+ self.reward = attributes[:'reward']
186
+ end
187
+
188
+ if attributes.has_key?(:'start_location_id')
189
+ self.start_location_id = attributes[:'start_location_id']
190
+ end
191
+
192
+ if attributes.has_key?(:'title')
193
+ self.title = attributes[:'title']
194
+ end
195
+
196
+ if attributes.has_key?(:'type')
197
+ self.type = attributes[:'type']
198
+ end
199
+
200
+ if attributes.has_key?(:'volume')
201
+ self.volume = attributes[:'volume']
202
+ end
203
+
204
+ end
205
+
206
+ # Show invalid properties with the reasons. Usually used together with valid?
207
+ # @return Array for valid properties with the reasons
208
+ def list_invalid_properties
209
+ invalid_properties = Array.new
210
+ if @contract_id.nil?
211
+ invalid_properties.push("invalid value for 'contract_id', contract_id cannot be nil.")
212
+ end
213
+
214
+ if @date_expired.nil?
215
+ invalid_properties.push("invalid value for 'date_expired', date_expired cannot be nil.")
216
+ end
217
+
218
+ if @date_issued.nil?
219
+ invalid_properties.push("invalid value for 'date_issued', date_issued cannot be nil.")
220
+ end
221
+
222
+ if @issuer_corporation_id.nil?
223
+ invalid_properties.push("invalid value for 'issuer_corporation_id', issuer_corporation_id cannot be nil.")
224
+ end
225
+
226
+ if @issuer_id.nil?
227
+ invalid_properties.push("invalid value for 'issuer_id', issuer_id cannot be nil.")
228
+ end
229
+
230
+ if @type.nil?
231
+ invalid_properties.push("invalid value for 'type', type cannot be nil.")
232
+ end
233
+
234
+ return invalid_properties
235
+ end
236
+
237
+ # Check to see if the all the properties in the model are valid
238
+ # @return true if the model is valid
239
+ def valid?
240
+ return false if @contract_id.nil?
241
+ return false if @date_expired.nil?
242
+ return false if @date_issued.nil?
243
+ return false if @issuer_corporation_id.nil?
244
+ return false if @issuer_id.nil?
245
+ return false if @type.nil?
246
+ type_validator = EnumAttributeValidator.new('String', ["unknown", "item_exchange", "auction", "courier", "loan"])
247
+ return false unless type_validator.valid?(@type)
248
+ return true
249
+ end
250
+
251
+ # Custom attribute writer method checking allowed values (enum).
252
+ # @param [Object] type Object to be assigned
253
+ def type=(type)
254
+ validator = EnumAttributeValidator.new('String', ["unknown", "item_exchange", "auction", "courier", "loan"])
255
+ unless validator.valid?(type)
256
+ fail ArgumentError, "invalid value for 'type', must be one of #{validator.allowable_values}."
257
+ end
258
+ @type = type
259
+ end
260
+
261
+ # Checks equality by comparing each attribute.
262
+ # @param [Object] Object to be compared
263
+ def ==(o)
264
+ return true if self.equal?(o)
265
+ self.class == o.class &&
266
+ buyout == o.buyout &&
267
+ collateral == o.collateral &&
268
+ contract_id == o.contract_id &&
269
+ date_expired == o.date_expired &&
270
+ date_issued == o.date_issued &&
271
+ days_to_complete == o.days_to_complete &&
272
+ end_location_id == o.end_location_id &&
273
+ for_corporation == o.for_corporation &&
274
+ issuer_corporation_id == o.issuer_corporation_id &&
275
+ issuer_id == o.issuer_id &&
276
+ price == o.price &&
277
+ reward == o.reward &&
278
+ start_location_id == o.start_location_id &&
279
+ title == o.title &&
280
+ type == o.type &&
281
+ volume == o.volume
282
+ end
283
+
284
+ # @see the `==` method
285
+ # @param [Object] Object to be compared
286
+ def eql?(o)
287
+ self == o
288
+ end
289
+
290
+ # Calculates hash code according to all attributes.
291
+ # @return [Fixnum] Hash code
292
+ def hash
293
+ [buyout, collateral, contract_id, date_expired, date_issued, days_to_complete, end_location_id, for_corporation, issuer_corporation_id, issuer_id, price, reward, start_location_id, title, type, volume].hash
294
+ end
295
+
296
+ # Builds the object from hash
297
+ # @param [Hash] attributes Model attributes in the form of hash
298
+ # @return [Object] Returns the model itself
299
+ def build_from_hash(attributes)
300
+ return nil unless attributes.is_a?(Hash)
301
+ self.class.swagger_types.each_pair do |key, type|
302
+ if type =~ /\AArray<(.*)>/i
303
+ # check to ensure the input is an array given that the the attribute
304
+ # is documented as an array but the input is not
305
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
306
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
307
+ end
308
+ elsif !attributes[self.class.attribute_map[key]].nil?
309
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
310
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
311
+ end
312
+
313
+ self
314
+ end
315
+
316
+ # Deserializes the data based on type
317
+ # @param string type Data type
318
+ # @param string value Value to be deserialized
319
+ # @return [Object] Deserialized data
320
+ def _deserialize(type, value)
321
+ case type.to_sym
322
+ when :DateTime
323
+ DateTime.parse(value)
324
+ when :Date
325
+ Date.parse(value)
326
+ when :String
327
+ value.to_s
328
+ when :Integer
329
+ value.to_i
330
+ when :Float
331
+ value.to_f
332
+ when :BOOLEAN
333
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
334
+ true
335
+ else
336
+ false
337
+ end
338
+ when :Object
339
+ # generic object (usually a Hash), return directly
340
+ value
341
+ when /\AArray<(?<inner_type>.+)>\z/
342
+ inner_type = Regexp.last_match[:inner_type]
343
+ value.map { |v| _deserialize(inner_type, v) }
344
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
345
+ k_type = Regexp.last_match[:k_type]
346
+ v_type = Regexp.last_match[:v_type]
347
+ {}.tap do |hash|
348
+ value.each do |k, v|
349
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
350
+ end
351
+ end
352
+ else # model
353
+ temp_model = ESI.const_get(type).new
354
+ temp_model.build_from_hash(value)
355
+ end
356
+ end
357
+
358
+ # Returns the string representation of the object
359
+ # @return [String] String presentation of the object
360
+ def to_s
361
+ to_hash.to_s
362
+ end
363
+
364
+ # to_body is an alias to to_hash (backward compatibility)
365
+ # @return [Hash] Returns the object in the form of hash
366
+ def to_body
367
+ to_hash
368
+ end
369
+
370
+ # Returns the object in the form of hash
371
+ # @return [Hash] Returns the object in the form of hash
372
+ def to_hash
373
+ hash = {}
374
+ self.class.attribute_map.each_pair do |attr, param|
375
+ value = self.send(attr)
376
+ next if value.nil?
377
+ hash[param] = _to_hash(value)
378
+ end
379
+ hash
380
+ end
381
+
382
+ # Outputs non-array value in the form of hash
383
+ # For object, use to_hash. Otherwise, just return the value
384
+ # @param [Object] value Any valid value
385
+ # @return [Hash] Returns the value in the form of hash
386
+ def _to_hash(value)
387
+ if value.is_a?(Array)
388
+ value.compact.map{ |v| _to_hash(v) }
389
+ elsif value.is_a?(Hash)
390
+ {}.tap do |hash|
391
+ value.each { |k, v| hash[k] = _to_hash(v) }
392
+ end
393
+ elsif value.respond_to? :to_hash
394
+ value.to_hash
395
+ else
396
+ value
397
+ end
398
+ end
399
+
400
+ end
401
+
402
+ end