ruby-esi 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +187 -92
- data/docs/AllianceApi.md +14 -78
- data/docs/AssetsApi.md +24 -44
- data/docs/{PutFleetsFleetIdBadRequest.md → BadRequest.md} +2 -2
- data/docs/BookmarksApi.md +25 -29
- data/docs/CalendarApi.md +15 -25
- data/docs/CharacterApi.md +137 -164
- data/docs/ClonesApi.md +11 -15
- data/docs/ContactsApi.md +225 -58
- data/docs/ContractsApi.md +33 -41
- data/docs/CorporationApi.md +525 -171
- data/docs/DogmaApi.md +70 -21
- data/docs/{PostCharactersCharacterIdCspaCreated.md → ErrorLimited.md} +2 -2
- data/docs/FactionWarfareApi.md +142 -32
- data/docs/FittingsApi.md +14 -23
- data/docs/FleetsApi.md +102 -83
- data/docs/Forbidden.md +1 -1
- data/docs/GatewayTimeout.md +9 -0
- data/docs/GetAlliancesAllianceIdContacts200Ok.md +11 -0
- data/docs/GetAlliancesAllianceIdContactsLabels200Ok.md +9 -0
- data/docs/GetAlliancesAllianceIdNotFound.md +1 -1
- data/docs/GetAlliancesAllianceIdOk.md +5 -2
- data/docs/GetCharactersCharacterIdAssets200Ok.md +2 -1
- data/docs/GetCharactersCharacterIdBookmarks200Ok.md +6 -5
- data/docs/GetCharactersCharacterIdBookmarksFolders200Ok.md +2 -3
- data/docs/GetCharactersCharacterIdCalendarEventIdAttendeesNotFound.md +8 -0
- data/docs/GetCharactersCharacterIdCalendarEventIdNotFound.md +8 -0
- data/docs/GetCharactersCharacterIdClonesJumpClone.md +5 -3
- data/docs/GetCharactersCharacterIdClonesOk.md +2 -1
- data/docs/GetCharactersCharacterIdContacts200Ok.md +1 -1
- data/docs/GetCharactersCharacterIdContractsContractIdBidsNotFound.md +8 -0
- data/docs/GetCharactersCharacterIdContractsContractIdItemsNotFound.md +8 -0
- data/docs/{PostCharactersCharacterIdMailBadRequest.md → GetCharactersCharacterIdFleetNotFound.md} +2 -2
- data/docs/GetCharactersCharacterIdFleetOk.md +11 -0
- data/docs/GetCharactersCharacterIdFwStatsKills.md +10 -0
- data/docs/GetCharactersCharacterIdFwStatsOk.md +13 -0
- data/docs/GetCharactersCharacterIdFwStatsVictoryPoints.md +10 -0
- data/docs/GetCharactersCharacterIdMining200Ok.md +11 -0
- data/docs/GetCharactersCharacterIdOk.md +1 -0
- data/docs/GetCharactersCharacterIdOnlineOk.md +11 -0
- data/docs/GetCharactersCharacterIdOrders200Ok.md +5 -7
- data/docs/GetCharactersCharacterIdOrdersHistory200Ok.md +22 -0
- data/docs/GetCharactersCharacterIdRolesOk.md +11 -0
- data/docs/GetCharactersCharacterIdSearchOk.md +2 -3
- data/docs/GetCharactersCharacterIdSkillsOk.md +3 -2
- data/docs/GetCharactersCharacterIdSkillsSkill.md +4 -3
- data/docs/GetCharactersCharacterIdStats200Ok.md +20 -0
- data/docs/GetCharactersCharacterIdStatsCharacter.md +10 -0
- data/docs/GetCharactersCharacterIdStatsCombat.md +101 -0
- data/docs/GetCharactersCharacterIdStatsIndustry.md +43 -0
- data/docs/GetCharactersCharacterIdStatsInventory.md +9 -0
- data/docs/GetCharactersCharacterIdStatsIsk.md +9 -0
- data/docs/GetCharactersCharacterIdStatsMarket.md +20 -0
- data/docs/GetCharactersCharacterIdStatsMining.md +26 -0
- data/docs/GetCharactersCharacterIdStatsModule.md +76 -0
- data/docs/GetCharactersCharacterIdStatsOrbital.md +10 -0
- data/docs/GetCharactersCharacterIdStatsPve.md +11 -0
- data/docs/GetCharactersCharacterIdStatsSocial.md +32 -0
- data/docs/GetCharactersCharacterIdStatsTravel.md +28 -0
- data/docs/GetCharactersCharacterIdTitles200Ok.md +9 -0
- data/docs/GetCharactersCharacterIdWalletJournal200Ok.md +11 -11
- data/docs/GetCorporationCorporationIdMiningExtractions200Ok.md +12 -0
- data/docs/GetCorporationCorporationIdMiningObservers200Ok.md +10 -0
- data/docs/GetCorporationCorporationIdMiningObserversObserverId200Ok.md +12 -0
- data/docs/GetCorporationsCorporationIdAssets200Ok.md +2 -1
- data/docs/GetCorporationsCorporationIdContacts200Ok.md +1 -1
- data/docs/GetCorporationsCorporationIdContactsLabels200Ok.md +9 -0
- data/docs/GetCorporationsCorporationIdContainersLogs200Ok.md +19 -0
- data/docs/GetCorporationsCorporationIdContractsContractIdBidsNotFound.md +8 -0
- data/docs/GetCorporationsCorporationIdContractsContractIdItemsError520.md +8 -0
- data/docs/GetCorporationsCorporationIdContractsContractIdItemsNotFound.md +8 -0
- data/docs/GetCorporationsCorporationIdCustomsOffices200Ok.md +21 -0
- data/docs/{GetCorporationsCorporationIdDivisionsWallet.md → GetCorporationsCorporationIdDivisionsHangarHangar.md} +1 -1
- data/docs/GetCorporationsCorporationIdDivisionsOk.md +2 -2
- data/docs/{GetCorporationsCorporationIdDivisionsHangar.md → GetCorporationsCorporationIdDivisionsWalletWallet.md} +1 -1
- data/docs/GetCorporationsCorporationIdFacilities200Ok.md +10 -0
- data/docs/GetCorporationsCorporationIdFwStatsKills.md +10 -0
- data/docs/GetCorporationsCorporationIdFwStatsOk.md +12 -0
- data/docs/GetCorporationsCorporationIdFwStatsVictoryPoints.md +10 -0
- data/docs/GetCorporationsCorporationIdMedals200Ok.md +12 -0
- data/docs/GetCorporationsCorporationIdMedalsIssued200Ok.md +13 -0
- data/docs/{GetCorporationsCorporationIdMembers200Ok.md → GetCorporationsCorporationIdMembersTitles200Ok.md} +2 -1
- data/docs/GetCorporationsCorporationIdOk.md +8 -6
- data/docs/GetCorporationsCorporationIdOrders200Ok.md +6 -6
- data/docs/GetCorporationsCorporationIdOrdersHistory200Ok.md +23 -0
- data/docs/GetCorporationsCorporationIdRolesHistory200Ok.md +13 -0
- data/docs/GetCorporationsCorporationIdStarbases200Ok.md +15 -0
- data/docs/GetCorporationsCorporationIdStarbasesStarbaseIdFuel.md +9 -0
- data/docs/GetCorporationsCorporationIdStarbasesStarbaseIdOk.md +21 -0
- data/docs/GetCorporationsCorporationIdStructures200Ok.md +10 -6
- data/docs/GetCorporationsCorporationIdWalletsDivisionJournal200Ok.md +11 -11
- data/docs/GetCorporationsCorporationIdWalletsDivisionTransactions200Ok.md +1 -1
- data/docs/GetDogmaDynamicItemsTypeIdItemIdDogmaAttribute.md +9 -0
- data/docs/GetDogmaDynamicItemsTypeIdItemIdDogmaEffect.md +9 -0
- data/docs/GetDogmaDynamicItemsTypeIdItemIdNotFound.md +8 -0
- data/docs/GetDogmaDynamicItemsTypeIdItemIdOk.md +12 -0
- data/docs/{GetFwLeaderboardsLastWeek.md → GetFwLeaderboardsActiveTotalActiveTotal.md} +1 -1
- data/docs/{GetFwLeaderboardsLastWeek1.md → GetFwLeaderboardsActiveTotalActiveTotal1.md} +1 -1
- data/docs/{GetFwLeaderboardsCharactersLastWeek.md → GetFwLeaderboardsCharactersActiveTotalActiveTotal.md} +1 -1
- data/docs/{GetFwLeaderboardsCharactersActiveTotal1.md → GetFwLeaderboardsCharactersActiveTotalActiveTotal1.md} +1 -1
- data/docs/GetFwLeaderboardsCharactersKills.md +3 -3
- data/docs/{GetFwLeaderboardsCharactersActiveTotal.md → GetFwLeaderboardsCharactersLastWeekLastWeek.md} +1 -1
- data/docs/{GetFwLeaderboardsCharactersLastWeek1.md → GetFwLeaderboardsCharactersLastWeekLastWeek1.md} +1 -1
- data/docs/GetFwLeaderboardsCharactersOk.md +2 -2
- data/docs/GetFwLeaderboardsCharactersVictoryPoints.md +3 -3
- data/docs/{GetFwLeaderboardsCharactersYesterday.md → GetFwLeaderboardsCharactersYesterdayYesterday.md} +1 -1
- data/docs/{GetFwLeaderboardsCharactersYesterday1.md → GetFwLeaderboardsCharactersYesterdayYesterday1.md} +1 -1
- data/docs/{GetFwLeaderboardsCorporationsLastWeek.md → GetFwLeaderboardsCorporationsActiveTotalActiveTotal.md} +1 -1
- data/docs/{GetFwLeaderboardsCorporationsLastWeek1.md → GetFwLeaderboardsCorporationsActiveTotalActiveTotal1.md} +1 -1
- data/docs/GetFwLeaderboardsCorporationsKills.md +3 -3
- data/docs/{GetFwLeaderboardsCorporationsActiveTotal.md → GetFwLeaderboardsCorporationsLastWeekLastWeek.md} +1 -1
- data/docs/{GetFwLeaderboardsCorporationsYesterday1.md → GetFwLeaderboardsCorporationsLastWeekLastWeek1.md} +1 -1
- data/docs/GetFwLeaderboardsCorporationsOk.md +2 -2
- data/docs/GetFwLeaderboardsCorporationsVictoryPoints.md +3 -3
- data/docs/{GetFwLeaderboardsCorporationsYesterday.md → GetFwLeaderboardsCorporationsYesterdayYesterday.md} +1 -1
- data/docs/{GetFwLeaderboardsCorporationsActiveTotal1.md → GetFwLeaderboardsCorporationsYesterdayYesterday1.md} +1 -1
- data/docs/GetFwLeaderboardsKills.md +3 -3
- data/docs/{GetFwLeaderboardsActiveTotal.md → GetFwLeaderboardsLastWeekLastWeek.md} +1 -1
- data/docs/{GetFwLeaderboardsYesterday1.md → GetFwLeaderboardsLastWeekLastWeek1.md} +1 -1
- data/docs/GetFwLeaderboardsOk.md +2 -2
- data/docs/GetFwLeaderboardsVictoryPoints.md +3 -3
- data/docs/{GetFwLeaderboardsYesterday.md → GetFwLeaderboardsYesterdayYesterday.md} +1 -1
- data/docs/{GetFwLeaderboardsActiveTotal1.md → GetFwLeaderboardsYesterdayYesterday1.md} +1 -1
- data/docs/GetFwStats200Ok.md +2 -2
- data/docs/GetFwSystems200Ok.md +1 -1
- data/docs/GetKillmailsKillmailIdKillmailHashItem.md +4 -3
- data/docs/GetKillmailsKillmailIdKillmailHashItemsItem.md +12 -0
- data/docs/GetKillmailsKillmailIdKillmailHashOk.md +1 -1
- data/docs/GetKillmailsKillmailIdKillmailHashVictim.md +1 -1
- data/docs/GetLoyaltyStoresCorporationIdOffers200Ok.md +2 -1
- data/docs/GetLoyaltyStoresCorporationIdOffersNotFound.md +8 -0
- data/docs/GetMarketsRegionIdHistoryError520.md +8 -0
- data/docs/GetMarketsRegionIdHistoryNotFound.md +8 -0
- data/docs/GetMarketsRegionIdOrders200Ok.md +1 -0
- data/docs/GetMarketsRegionIdOrdersNotFound.md +8 -0
- data/docs/GetSearchOk.md +2 -3
- data/docs/GetUniverseAncestries200Ok.md +13 -0
- data/docs/{PostCharactersCharacterIdCspaCharacters.md → GetUniverseAsteroidBeltsAsteroidBeltIdNotFound.md} +2 -2
- data/docs/GetUniverseAsteroidBeltsAsteroidBeltIdOk.md +10 -0
- data/docs/GetUniverseAsteroidBeltsAsteroidBeltIdPosition.md +10 -0
- data/docs/GetUniverseConstellationsConstellationIdOk.md +1 -1
- data/docs/GetUniverseFactions200Ok.md +2 -2
- data/docs/GetUniverseMoonsMoonIdOk.md +1 -1
- data/docs/GetUniversePlanetsPlanetIdOk.md +1 -1
- data/docs/GetUniverseStargatesStargateIdOk.md +2 -2
- data/docs/GetUniverseStationsStationIdOk.md +1 -1
- data/docs/GetUniverseStructuresStructureIdOk.md +1 -0
- data/docs/GetUniverseSystemsSystemIdOk.md +3 -3
- data/docs/GetUniverseSystemsSystemIdPlanet.md +1 -0
- data/docs/GetWarsWarIdOk.md +2 -2
- data/docs/IncursionsApi.md +4 -6
- data/docs/IndustryApi.md +271 -24
- data/docs/InsuranceApi.md +8 -8
- data/docs/KillmailsApi.md +25 -33
- data/docs/LocationApi.md +16 -22
- data/docs/LoyaltyApi.md +8 -12
- data/docs/MailApi.md +32 -59
- data/docs/MarketApi.md +171 -61
- data/docs/OpportunitiesApi.md +21 -29
- data/docs/PlanetaryInteractionApi.md +75 -18
- data/docs/PostCharactersCharacterIdAssetsLocations200Ok.md +1 -3
- data/docs/PostCharactersCharacterIdAssetsLocationsPosition.md +10 -0
- data/docs/PostCharactersCharacterIdContactsError520.md +8 -0
- data/docs/PostCharactersCharacterIdMailError520.md +8 -0
- data/docs/PostCorporationsCorporationIdAssetsLocations200Ok.md +1 -3
- data/docs/PostCorporationsCorporationIdAssetsLocationsNotFound.md +8 -0
- data/docs/PostCorporationsCorporationIdAssetsLocationsPosition.md +10 -0
- data/docs/PostCorporationsCorporationIdAssetsNamesNotFound.md +8 -0
- data/docs/PostUniverseIdsAgent.md +9 -0
- data/docs/PostUniverseIdsAlliance.md +9 -0
- data/docs/PostUniverseIdsCharacter.md +9 -0
- data/docs/PostUniverseIdsConstellation.md +9 -0
- data/docs/PostUniverseIdsCorporation.md +9 -0
- data/docs/PostUniverseIdsFaction.md +9 -0
- data/docs/PostUniverseIdsInventoryType.md +9 -0
- data/docs/PostUniverseIdsOk.md +17 -0
- data/docs/PostUniverseIdsRegion.md +9 -0
- data/docs/PostUniverseIdsStation.md +9 -0
- data/docs/PostUniverseIdsSystem.md +9 -0
- data/docs/RoutesApi.md +4 -6
- data/docs/SearchApi.md +19 -19
- data/docs/ServiceUnavailable.md +8 -0
- data/docs/SkillsApi.md +14 -20
- data/docs/SovereigntyApi.md +10 -16
- data/docs/StatusApi.md +4 -6
- data/docs/Unauthorized.md +8 -0
- data/docs/UniverseApi.md +288 -161
- data/docs/UserInterfaceApi.md +11 -31
- data/docs/WalletApi.md +35 -47
- data/docs/WarsApi.md +11 -17
- data/git_push.sh +1 -1
- data/lib/ruby-esi.rb +107 -43
- data/lib/ruby-esi/api/alliance_api.rb +35 -101
- data/lib/ruby-esi/api/assets_api.rb +62 -48
- data/lib/ruby-esi/api/bookmarks_api.rb +66 -32
- data/lib/ruby-esi/api/calendar_api.rb +35 -26
- data/lib/ruby-esi/api/character_api.rb +220 -187
- data/lib/ruby-esi/api/clones_api.rb +23 -17
- data/lib/ruby-esi/api/contacts_api.rb +314 -60
- data/lib/ruby-esi/api/contracts_api.rb +78 -42
- data/lib/ruby-esi/api/corporation_api.rb +751 -228
- data/lib/ruby-esi/api/dogma_api.rb +92 -26
- data/lib/ruby-esi/api/faction_warfare_api.rb +175 -39
- data/lib/ruby-esi/api/fittings_api.rb +33 -26
- data/lib/ruby-esi/api/fleets_api.rb +124 -84
- data/lib/ruby-esi/api/incursions_api.rb +7 -8
- data/lib/ruby-esi/api/industry_api.rb +354 -28
- data/lib/ruby-esi/api/insurance_api.rb +15 -10
- data/lib/ruby-esi/api/killmails_api.rb +47 -41
- data/lib/ruby-esi/api/location_api.rb +33 -24
- data/lib/ruby-esi/api/loyalty_api.rb +20 -14
- data/lib/ruby-esi/api/mail_api.rb +78 -62
- data/lib/ruby-esi/api/market_api.rb +247 -70
- data/lib/ruby-esi/api/opportunities_api.rb +39 -34
- data/lib/ruby-esi/api/planetary_interaction_api.rb +103 -20
- data/lib/ruby-esi/api/routes_api.rb +7 -8
- data/lib/ruby-esi/api/search_api.rb +36 -22
- data/lib/ruby-esi/api/skills_api.rb +30 -21
- data/lib/ruby-esi/api/sovereignty_api.rb +17 -20
- data/lib/ruby-esi/api/status_api.rb +7 -8
- data/lib/ruby-esi/api/universe_api.rb +430 -191
- data/lib/ruby-esi/api/user_interface_api.rb +12 -32
- data/lib/ruby-esi/api/wallet_api.rb +80 -54
- data/lib/ruby-esi/api/wars_api.rb +29 -20
- data/lib/ruby-esi/api_client.rb +2 -2
- data/lib/ruby-esi/api_error.rb +2 -2
- data/lib/ruby-esi/configuration.rb +3 -3
- data/lib/ruby-esi/models/bad_request.rb +194 -0
- data/lib/ruby-esi/models/delete_characters_character_id_mail_labels_label_id_unprocessable_entity.rb +3 -3
- data/lib/ruby-esi/models/delete_fleets_fleet_id_members_member_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/delete_fleets_fleet_id_squads_squad_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/delete_fleets_fleet_id_wings_wing_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/error_limited.rb +194 -0
- data/lib/ruby-esi/models/forbidden.rb +4 -4
- data/lib/ruby-esi/models/gateway_timeout.rb +204 -0
- data/lib/ruby-esi/models/{get_characters_character_id_chat_channels_muted.rb → get_alliances_alliance_id_contacts_200_ok.rb} +55 -48
- data/lib/ruby-esi/models/get_alliances_alliance_id_contacts_labels_200_ok.rb +209 -0
- data/lib/ruby-esi/models/get_alliances_alliance_id_icons_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_alliances_alliance_id_icons_ok.rb +3 -3
- data/lib/ruby-esi/models/get_alliances_alliance_id_not_found.rb +5 -5
- data/lib/ruby-esi/models/get_alliances_alliance_id_ok.rb +60 -20
- data/lib/ruby-esi/models/get_characters_character_id_agents_research_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_assets_200_ok.rb +21 -6
- data/lib/ruby-esi/models/get_characters_character_id_attributes_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_blueprints_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_bookmarks_200_ok.rb +59 -50
- data/lib/ruby-esi/models/get_characters_character_id_bookmarks_coordinates.rb +4 -4
- data/lib/ruby-esi/models/get_characters_character_id_bookmarks_folders_200_ok.rb +17 -17
- data/lib/ruby-esi/models/get_characters_character_id_bookmarks_item.rb +4 -4
- data/lib/ruby-esi/models/get_characters_character_id_calendar_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_calendar_event_id_attendees_200_ok.rb +3 -3
- data/lib/ruby-esi/models/{put_characters_character_id_mail_mail_id_bad_request.rb → get_characters_character_id_calendar_event_id_attendees_not_found.rb} +6 -6
- data/lib/ruby-esi/models/{post_characters_character_id_mail_bad_request.rb → get_characters_character_id_calendar_event_id_not_found.rb} +6 -6
- data/lib/ruby-esi/models/get_characters_character_id_calendar_event_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_clones_home_location.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_clones_jump_clone.rb +47 -7
- data/lib/ruby-esi/models/get_characters_character_id_clones_ok.rb +21 -11
- data/lib/ruby-esi/models/get_characters_character_id_contacts_200_ok.rb +13 -11
- data/lib/ruby-esi/models/get_characters_character_id_contacts_labels_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_contracts_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_contracts_contract_id_bids_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_contracts_contract_id_bids_not_found.rb +189 -0
- data/lib/ruby-esi/models/get_characters_character_id_contracts_contract_id_items_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_contracts_contract_id_items_not_found.rb +189 -0
- data/lib/ruby-esi/models/get_characters_character_id_corporationhistory_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_fatigue_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_fittings_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_fittings_item.rb +3 -3
- data/lib/ruby-esi/models/{put_fleets_fleet_id_bad_request.rb → get_characters_character_id_fleet_not_found.rb} +6 -6
- data/lib/ruby-esi/models/{get_characters_character_id_chat_channels_blocked.rb → get_characters_character_id_fleet_ok.rb} +58 -48
- data/lib/ruby-esi/models/get_characters_character_id_fw_stats_kills.rb +224 -0
- data/lib/ruby-esi/models/get_characters_character_id_fw_stats_ok.rb +297 -0
- data/lib/ruby-esi/models/get_characters_character_id_fw_stats_victory_points.rb +224 -0
- data/lib/ruby-esi/models/get_characters_character_id_industry_jobs_200_ok.rb +5 -5
- data/lib/ruby-esi/models/get_characters_character_id_killmails_recent_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_location_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_loyalty_points_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_mail_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_mail_labels_label.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_mail_labels_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_mail_lists_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_mail_mail_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_mail_mail_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_mail_mail_id_recipient.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_mail_recipient.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_medals_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_medals_graphic.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_mining_200_ok.rb +239 -0
- data/lib/ruby-esi/models/get_characters_character_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_notifications_200_ok.rb +5 -5
- data/lib/ruby-esi/models/get_characters_character_id_notifications_contacts_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_ok.rb +14 -4
- data/lib/ruby-esi/models/{get_characters_character_id_bookmarks_target.rb → get_characters_character_id_online_ok.rb} +40 -28
- data/lib/ruby-esi/models/get_characters_character_id_opportunities_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_orders_200_ok.rb +17 -74
- data/lib/ruby-esi/models/get_characters_character_id_orders_history_200_ok.rb +434 -0
- data/lib/ruby-esi/models/get_characters_character_id_planets_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_content.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_extractor_details.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_factory_details.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_head.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_link.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_pin.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_planets_planet_id_route.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_portrait_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_portrait_ok.rb +3 -3
- data/lib/ruby-esi/models/{get_characters_character_id_chat_channels_operator.rb → get_characters_character_id_roles_ok.rb} +48 -42
- data/lib/ruby-esi/models/get_characters_character_id_search_ok.rb +23 -35
- data/lib/ruby-esi/models/get_characters_character_id_ship_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_skillqueue_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_characters_character_id_skills_ok.rb +27 -7
- data/lib/ruby-esi/models/get_characters_character_id_skills_skill.rb +44 -14
- data/lib/ruby-esi/models/get_characters_character_id_standings_200_ok.rb +3 -31
- data/lib/ruby-esi/models/get_characters_character_id_stats_200_ok.rb +302 -0
- data/lib/ruby-esi/models/get_characters_character_id_stats_character.rb +209 -0
- data/lib/ruby-esi/models/get_characters_character_id_stats_combat.rb +1119 -0
- data/lib/ruby-esi/models/get_characters_character_id_stats_industry.rb +539 -0
- data/lib/ruby-esi/models/{get_corporations_corporation_id_structures_current_vul.rb → get_characters_character_id_stats_inventory.rb} +20 -30
- data/lib/ruby-esi/models/get_characters_character_id_stats_isk.rb +199 -0
- data/lib/ruby-esi/models/get_characters_character_id_stats_market.rb +309 -0
- data/lib/ruby-esi/models/get_characters_character_id_stats_mining.rb +369 -0
- data/lib/ruby-esi/models/get_characters_character_id_stats_module.rb +869 -0
- data/lib/ruby-esi/models/get_characters_character_id_stats_orbital.rb +209 -0
- data/lib/ruby-esi/models/get_characters_character_id_stats_pve.rb +219 -0
- data/lib/ruby-esi/models/get_characters_character_id_stats_social.rb +429 -0
- data/lib/ruby-esi/models/get_characters_character_id_stats_travel.rb +389 -0
- data/lib/ruby-esi/models/{get_corporations_corporation_id_members_200_ok.rb → get_characters_character_id_titles_200_ok.rb} +22 -17
- data/lib/ruby-esi/models/get_characters_character_id_wallet_journal_200_ok.rb +69 -75
- data/lib/ruby-esi/models/get_characters_character_id_wallet_transactions_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporation_corporation_id_mining_extractions_200_ok.rb +254 -0
- data/lib/ruby-esi/models/{get_characters_character_id_chat_channels_allowed.rb → get_corporation_corporation_id_mining_observers_200_ok.rb} +49 -34
- data/lib/ruby-esi/models/get_corporation_corporation_id_mining_observers_observer_id_200_ok.rb +254 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_alliancehistory_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_assets_200_ok.rb +21 -6
- data/lib/ruby-esi/models/get_corporations_corporation_id_blueprints_200_ok.rb +10 -10
- data/lib/ruby-esi/models/get_corporations_corporation_id_bookmarks_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_bookmarks_coordinates.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_bookmarks_folders_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_bookmarks_item.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_contacts_200_ok.rb +13 -11
- data/lib/ruby-esi/models/get_corporations_corporation_id_contacts_labels_200_ok.rb +209 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_containers_logs_200_ok.rb +391 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_contract_id_bids_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_contract_id_bids_not_found.rb +189 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_contract_id_items_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_contract_id_items_error_520.rb +189 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_contracts_contract_id_items_not_found.rb +189 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_customs_offices_200_ok.rb +438 -0
- data/lib/ruby-esi/models/{get_corporations_corporation_id_divisions_hangar.rb → get_corporations_corporation_id_divisions_hangar_hangar.rb} +4 -4
- data/lib/ruby-esi/models/get_corporations_corporation_id_divisions_ok.rb +5 -5
- data/lib/ruby-esi/models/{get_corporations_corporation_id_divisions_wallet.rb → get_corporations_corporation_id_divisions_wallet_wallet.rb} +4 -4
- data/lib/ruby-esi/models/get_corporations_corporation_id_facilities_200_ok.rb +224 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_fw_stats_kills.rb +224 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_fw_stats_ok.rb +237 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_fw_stats_victory_points.rb +224 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_icons_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_icons_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_industry_jobs_200_ok.rb +5 -5
- data/lib/ruby-esi/models/get_corporations_corporation_id_killmails_recent_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_medals_200_ok.rb +292 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_medals_issued_200_ok.rb +321 -0
- data/lib/ruby-esi/models/{get_characters_names_200_ok.rb → get_corporations_corporation_id_members_titles_200_ok.rb} +17 -15
- data/lib/ruby-esi/models/get_corporations_corporation_id_membertracking_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_ok.rb +62 -85
- data/lib/ruby-esi/models/get_corporations_corporation_id_orders_200_ok.rb +23 -50
- data/lib/ruby-esi/models/get_corporations_corporation_id_orders_history_200_ok.rb +472 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_roles_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_roles_history_200_ok.rb +306 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_shareholders_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_standings_200_ok.rb +3 -31
- data/lib/ruby-esi/models/get_corporations_corporation_id_starbases_200_ok.rb +307 -0
- data/lib/ruby-esi/models/{get_corporations_corporation_id_structures_next_vul.rb → get_corporations_corporation_id_starbases_starbase_id_fuel.rb} +26 -26
- data/lib/ruby-esi/models/get_corporations_corporation_id_starbases_starbase_id_ok.rb +469 -0
- data/lib/ruby-esi/models/get_corporations_corporation_id_structures_200_ok.rb +215 -35
- data/lib/ruby-esi/models/get_corporations_corporation_id_structures_service.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_titles_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_wallets_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_corporations_corporation_id_wallets_division_journal_200_ok.rb +69 -75
- data/lib/ruby-esi/models/get_corporations_corporation_id_wallets_division_transactions_200_ok.rb +4 -4
- data/lib/ruby-esi/models/get_dogma_attributes_attribute_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_dogma_attributes_attribute_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_dogma_dynamic_items_type_id_item_id_dogma_attribute.rb +209 -0
- data/lib/ruby-esi/models/get_dogma_dynamic_items_type_id_item_id_dogma_effect.rb +209 -0
- data/lib/ruby-esi/models/get_dogma_dynamic_items_type_id_item_id_not_found.rb +189 -0
- data/lib/ruby-esi/models/get_dogma_dynamic_items_type_id_item_id_ok.rb +258 -0
- data/lib/ruby-esi/models/get_dogma_effects_effect_id_modifier.rb +3 -3
- data/lib/ruby-esi/models/get_dogma_effects_effect_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_dogma_effects_effect_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_fleets_fleet_id_members_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_fleets_fleet_id_members_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_fleets_fleet_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_fleets_fleet_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_fleets_fleet_id_wings_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_fleets_fleet_id_wings_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_fleets_fleet_id_wings_squad.rb +3 -3
- data/lib/ruby-esi/models/{get_fw_leaderboards_active_total.rb → get_fw_leaderboards_active_total_active_total.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_active_total_1.rb → get_fw_leaderboards_active_total_active_total_1.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_characters_active_total.rb → get_fw_leaderboards_characters_active_total_active_total.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_characters_active_total_1.rb → get_fw_leaderboards_characters_active_total_active_total_1.rb} +4 -4
- data/lib/ruby-esi/models/get_fw_leaderboards_characters_kills.rb +6 -6
- data/lib/ruby-esi/models/{get_fw_leaderboards_characters_last_week.rb → get_fw_leaderboards_characters_last_week_last_week.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_characters_last_week_1.rb → get_fw_leaderboards_characters_last_week_last_week_1.rb} +4 -4
- data/lib/ruby-esi/models/get_fw_leaderboards_characters_ok.rb +13 -3
- data/lib/ruby-esi/models/get_fw_leaderboards_characters_victory_points.rb +6 -6
- data/lib/ruby-esi/models/{get_fw_leaderboards_characters_yesterday.rb → get_fw_leaderboards_characters_yesterday_yesterday.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_characters_yesterday_1.rb → get_fw_leaderboards_characters_yesterday_yesterday_1.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_corporations_active_total.rb → get_fw_leaderboards_corporations_active_total_active_total.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_corporations_active_total_1.rb → get_fw_leaderboards_corporations_active_total_active_total_1.rb} +4 -4
- data/lib/ruby-esi/models/get_fw_leaderboards_corporations_kills.rb +6 -6
- data/lib/ruby-esi/models/{get_fw_leaderboards_corporations_last_week.rb → get_fw_leaderboards_corporations_last_week_last_week.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_corporations_last_week_1.rb → get_fw_leaderboards_corporations_last_week_last_week_1.rb} +4 -4
- data/lib/ruby-esi/models/get_fw_leaderboards_corporations_ok.rb +13 -3
- data/lib/ruby-esi/models/get_fw_leaderboards_corporations_victory_points.rb +6 -6
- data/lib/ruby-esi/models/{get_fw_leaderboards_corporations_yesterday.rb → get_fw_leaderboards_corporations_yesterday_yesterday.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_corporations_yesterday_1.rb → get_fw_leaderboards_corporations_yesterday_yesterday_1.rb} +4 -4
- data/lib/ruby-esi/models/get_fw_leaderboards_kills.rb +6 -6
- data/lib/ruby-esi/models/{get_fw_leaderboards_last_week.rb → get_fw_leaderboards_last_week_last_week.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_last_week_1.rb → get_fw_leaderboards_last_week_last_week_1.rb} +4 -4
- data/lib/ruby-esi/models/get_fw_leaderboards_ok.rb +13 -3
- data/lib/ruby-esi/models/get_fw_leaderboards_victory_points.rb +6 -6
- data/lib/ruby-esi/models/{get_fw_leaderboards_yesterday.rb → get_fw_leaderboards_yesterday_yesterday.rb} +4 -4
- data/lib/ruby-esi/models/{get_fw_leaderboards_yesterday_1.rb → get_fw_leaderboards_yesterday_yesterday_1.rb} +4 -4
- data/lib/ruby-esi/models/get_fw_stats_200_ok.rb +13 -3
- data/lib/ruby-esi/models/get_fw_stats_kills.rb +3 -3
- data/lib/ruby-esi/models/get_fw_stats_victory_points.rb +3 -3
- data/lib/ruby-esi/models/get_fw_systems_200_ok.rb +38 -5
- data/lib/ruby-esi/models/get_fw_wars_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_incursions_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_industry_facilities_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_industry_systems_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_industry_systems_cost_indice.rb +5 -5
- data/lib/ruby-esi/models/get_insurance_prices_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_insurance_prices_level.rb +3 -3
- data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_attacker.rb +3 -3
- data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_item.rb +19 -7
- data/lib/ruby-esi/models/{get_killmails_killmail_id_killmail_hash_item_1.rb → get_killmails_killmail_id_killmail_hash_items_item.rb} +8 -20
- data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_ok.rb +8 -3
- data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_position.rb +3 -3
- data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_unprocessable_entity.rb +3 -3
- data/lib/ruby-esi/models/get_killmails_killmail_id_killmail_hash_victim.rb +4 -4
- data/lib/ruby-esi/models/get_loyalty_stores_corporation_id_offers_200_ok.rb +16 -6
- data/lib/ruby-esi/models/get_loyalty_stores_corporation_id_offers_not_found.rb +189 -0
- data/lib/ruby-esi/models/get_loyalty_stores_corporation_id_offers_required_item.rb +3 -3
- data/lib/ruby-esi/models/get_markets_groups_market_group_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_markets_groups_market_group_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_markets_prices_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_markets_region_id_history_200_ok.rb +3 -3
- data/lib/ruby-esi/models/{post_characters_character_id_cspa_created.rb → get_markets_region_id_history_error_520.rb} +13 -13
- data/lib/ruby-esi/models/get_markets_region_id_history_not_found.rb +189 -0
- data/lib/ruby-esi/models/get_markets_region_id_history_unprocessable_entity.rb +3 -3
- data/lib/ruby-esi/models/get_markets_region_id_orders_200_ok.rb +19 -4
- data/lib/ruby-esi/models/get_markets_region_id_orders_not_found.rb +189 -0
- data/lib/ruby-esi/models/get_markets_region_id_orders_unprocessable_entity.rb +3 -3
- data/lib/ruby-esi/models/get_markets_structures_structure_id_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_opportunities_groups_group_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_opportunities_tasks_task_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_route_origin_destination_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_search_ok.rb +23 -35
- data/lib/ruby-esi/models/get_sovereignty_campaigns_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_sovereignty_campaigns_participant.rb +3 -3
- data/lib/ruby-esi/models/get_sovereignty_map_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_sovereignty_structures_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_status_ok.rb +3 -3
- data/lib/ruby-esi/models/{put_corporations_corporation_id_structures_structure_id_new_schedule.rb → get_universe_ancestries_200_ok.rb} +72 -78
- data/lib/ruby-esi/models/get_universe_asteroid_belts_asteroid_belt_id_not_found.rb +189 -0
- data/lib/ruby-esi/models/{get_corporations_names_200_ok.rb → get_universe_asteroid_belts_asteroid_belt_id_ok.rb} +39 -25
- data/lib/ruby-esi/models/{get_alliances_names_200_ok.rb → get_universe_asteroid_belts_asteroid_belt_id_position.rb} +41 -26
- data/lib/ruby-esi/models/get_universe_bloodlines_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_universe_categories_category_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_categories_category_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_universe_constellations_constellation_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_constellations_constellation_id_ok.rb +8 -3
- data/lib/ruby-esi/models/get_universe_constellations_constellation_id_position.rb +3 -3
- data/lib/ruby-esi/models/get_universe_factions_200_ok.rb +3 -13
- data/lib/ruby-esi/models/get_universe_graphics_graphic_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_graphics_graphic_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_universe_groups_group_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_groups_group_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_universe_moons_moon_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_moons_moon_id_ok.rb +8 -3
- data/lib/ruby-esi/models/get_universe_moons_moon_id_position.rb +3 -3
- data/lib/ruby-esi/models/get_universe_planets_planet_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_planets_planet_id_ok.rb +8 -3
- data/lib/ruby-esi/models/get_universe_planets_planet_id_position.rb +3 -3
- data/lib/ruby-esi/models/get_universe_races_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_universe_regions_region_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_regions_region_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_universe_schematics_schematic_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_schematics_schematic_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_universe_stargates_stargate_id_destination.rb +3 -3
- data/lib/ruby-esi/models/get_universe_stargates_stargate_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_stargates_stargate_id_ok.rb +13 -3
- data/lib/ruby-esi/models/get_universe_stargates_stargate_id_position.rb +3 -3
- data/lib/ruby-esi/models/get_universe_stars_star_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_universe_stations_station_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_stations_station_id_ok.rb +8 -3
- data/lib/ruby-esi/models/get_universe_stations_station_id_position.rb +3 -3
- data/lib/ruby-esi/models/get_universe_structures_structure_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_structures_structure_id_ok.rb +19 -4
- data/lib/ruby-esi/models/get_universe_structures_structure_id_position.rb +3 -3
- data/lib/ruby-esi/models/get_universe_system_jumps_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_universe_system_kills_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_universe_systems_system_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_systems_system_id_ok.rb +6 -11
- data/lib/ruby-esi/models/get_universe_systems_system_id_planet.rb +16 -4
- data/lib/ruby-esi/models/get_universe_systems_system_id_position.rb +3 -3
- data/lib/ruby-esi/models/get_universe_types_type_id_dogma_attribute.rb +3 -3
- data/lib/ruby-esi/models/get_universe_types_type_id_dogma_effect.rb +3 -3
- data/lib/ruby-esi/models/get_universe_types_type_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/get_universe_types_type_id_ok.rb +3 -3
- data/lib/ruby-esi/models/get_wars_war_id_aggressor.rb +3 -3
- data/lib/ruby-esi/models/get_wars_war_id_ally.rb +3 -3
- data/lib/ruby-esi/models/get_wars_war_id_defender.rb +3 -3
- data/lib/ruby-esi/models/get_wars_war_id_killmails_200_ok.rb +3 -3
- data/lib/ruby-esi/models/get_wars_war_id_killmails_unprocessable_entity.rb +3 -3
- data/lib/ruby-esi/models/get_wars_war_id_ok.rb +13 -3
- data/lib/ruby-esi/models/get_wars_war_id_unprocessable_entity.rb +3 -3
- data/lib/ruby-esi/models/internal_server_error.rb +3 -3
- data/lib/ruby-esi/models/post_characters_affiliation_200_ok.rb +3 -3
- data/lib/ruby-esi/models/post_characters_affiliation_not_found.rb +3 -3
- data/lib/ruby-esi/models/post_characters_character_id_assets_locations_200_ok.rb +13 -44
- data/lib/ruby-esi/models/post_characters_character_id_assets_locations_position.rb +224 -0
- data/lib/ruby-esi/models/post_characters_character_id_assets_names_200_ok.rb +3 -3
- data/lib/ruby-esi/models/post_characters_character_id_contacts_error_520.rb +189 -0
- data/lib/ruby-esi/models/post_characters_character_id_fittings_created.rb +3 -3
- data/lib/ruby-esi/models/post_characters_character_id_fittings_fitting.rb +3 -3
- data/lib/ruby-esi/models/post_characters_character_id_fittings_item.rb +3 -3
- data/lib/ruby-esi/models/post_characters_character_id_mail_error_520.rb +189 -0
- data/lib/ruby-esi/models/post_characters_character_id_mail_labels_label.rb +3 -3
- data/lib/ruby-esi/models/post_characters_character_id_mail_mail.rb +4 -4
- data/lib/ruby-esi/models/post_characters_character_id_mail_recipient.rb +3 -3
- data/lib/ruby-esi/models/post_corporations_corporation_id_assets_locations_200_ok.rb +13 -44
- data/lib/ruby-esi/models/post_corporations_corporation_id_assets_locations_not_found.rb +189 -0
- data/lib/ruby-esi/models/post_corporations_corporation_id_assets_locations_position.rb +224 -0
- data/lib/ruby-esi/models/post_corporations_corporation_id_assets_names_200_ok.rb +3 -3
- data/lib/ruby-esi/models/post_corporations_corporation_id_assets_names_not_found.rb +189 -0
- data/lib/ruby-esi/models/post_fleets_fleet_id_members_invitation.rb +3 -3
- data/lib/ruby-esi/models/post_fleets_fleet_id_members_not_found.rb +3 -3
- data/lib/ruby-esi/models/post_fleets_fleet_id_members_unprocessable_entity.rb +3 -3
- data/lib/ruby-esi/models/post_fleets_fleet_id_wings_created.rb +3 -3
- data/lib/ruby-esi/models/post_fleets_fleet_id_wings_not_found.rb +3 -3
- data/lib/ruby-esi/models/post_fleets_fleet_id_wings_wing_id_squads_created.rb +3 -3
- data/lib/ruby-esi/models/post_fleets_fleet_id_wings_wing_id_squads_not_found.rb +3 -3
- data/lib/ruby-esi/models/post_ui_openwindow_newmail_new_mail.rb +3 -3
- data/lib/ruby-esi/models/post_ui_openwindow_newmail_unprocessable_entity.rb +3 -3
- data/lib/ruby-esi/models/post_universe_ids_agent.rb +199 -0
- data/lib/ruby-esi/models/post_universe_ids_alliance.rb +199 -0
- data/lib/ruby-esi/models/post_universe_ids_character.rb +199 -0
- data/lib/ruby-esi/models/post_universe_ids_constellation.rb +199 -0
- data/lib/ruby-esi/models/post_universe_ids_corporation.rb +199 -0
- data/lib/ruby-esi/models/post_universe_ids_faction.rb +199 -0
- data/lib/ruby-esi/models/post_universe_ids_inventory_type.rb +199 -0
- data/lib/ruby-esi/models/{post_characters_character_id_cspa_characters.rb → post_universe_ids_ok.rb} +117 -14
- data/lib/ruby-esi/models/post_universe_ids_region.rb +199 -0
- data/lib/ruby-esi/models/post_universe_ids_station.rb +199 -0
- data/lib/ruby-esi/models/post_universe_ids_system.rb +199 -0
- data/lib/ruby-esi/models/post_universe_names_200_ok.rb +3 -3
- data/lib/ruby-esi/models/post_universe_names_not_found.rb +3 -3
- data/lib/ruby-esi/models/put_characters_character_id_calendar_event_id_response.rb +4 -4
- data/lib/ruby-esi/models/put_characters_character_id_mail_mail_id_contents.rb +3 -3
- data/lib/ruby-esi/models/put_fleets_fleet_id_members_member_id_movement.rb +3 -3
- data/lib/ruby-esi/models/put_fleets_fleet_id_members_member_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/put_fleets_fleet_id_members_member_id_unprocessable_entity.rb +3 -3
- data/lib/ruby-esi/models/put_fleets_fleet_id_new_settings.rb +3 -3
- data/lib/ruby-esi/models/put_fleets_fleet_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/put_fleets_fleet_id_squads_squad_id_naming.rb +3 -3
- data/lib/ruby-esi/models/put_fleets_fleet_id_squads_squad_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/put_fleets_fleet_id_wings_wing_id_naming.rb +3 -3
- data/lib/ruby-esi/models/put_fleets_fleet_id_wings_wing_id_not_found.rb +3 -3
- data/lib/ruby-esi/models/service_unavailable.rb +194 -0
- data/lib/ruby-esi/models/unauthorized.rb +194 -0
- data/lib/ruby-esi/version.rb +3 -3
- data/ruby-esi.gemspec +3 -3
- data/spec/api/alliance_api_spec.rb +6 -25
- data/spec/api/assets_api_spec.rb +7 -17
- data/spec/api/bookmarks_api_spec.rb +10 -12
- data/spec/api/calendar_api_spec.rb +5 -10
- data/spec/api/character_api_spec.rb +38 -54
- data/spec/api/clones_api_spec.rb +5 -7
- data/spec/api/contacts_api_spec.rb +58 -21
- data/spec/api/contracts_api_spec.rb +12 -16
- data/spec/api/corporation_api_spec.rb +154 -73
- data/spec/api/dogma_api_spec.rb +21 -10
- data/spec/api/faction_warfare_api_spec.rb +38 -14
- data/spec/api/fittings_api_spec.rb +4 -9
- data/spec/api/fleets_api_spec.rb +24 -30
- data/spec/api/incursions_api_spec.rb +3 -4
- data/spec/api/industry_api_spec.rb +72 -11
- data/spec/api/insurance_api_spec.rb +5 -5
- data/spec/api/killmails_api_spec.rb +12 -16
- data/spec/api/location_api_spec.rb +6 -9
- data/spec/api/loyalty_api_spec.rb +4 -6
- data/spec/api/mail_api_spec.rb +7 -21
- data/spec/api/market_api_spec.rb +50 -26
- data/spec/api/opportunities_api_spec.rb +9 -13
- data/spec/api/planetary_interaction_api_spec.rb +21 -8
- data/spec/api/routes_api_spec.rb +3 -4
- data/spec/api/search_api_spec.rb +8 -8
- data/spec/api/skills_api_spec.rb +5 -8
- data/spec/api/sovereignty_api_spec.rb +5 -8
- data/spec/api/status_api_spec.rb +3 -4
- data/spec/api/universe_api_spec.rb +93 -68
- data/spec/api/user_interface_api_spec.rb +2 -12
- data/spec/api/wallet_api_spec.rb +14 -20
- data/spec/api/wars_api_spec.rb +5 -8
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +5 -5
- data/spec/models/{put_fleets_fleet_id_bad_request_spec.rb → bad_request_spec.rb} +8 -8
- data/spec/models/delete_characters_character_id_mail_labels_label_id_unprocessable_entity_spec.rb +2 -2
- data/spec/models/delete_fleets_fleet_id_members_member_id_not_found_spec.rb +2 -2
- data/spec/models/delete_fleets_fleet_id_squads_squad_id_not_found_spec.rb +2 -2
- data/spec/models/delete_fleets_fleet_id_wings_wing_id_not_found_spec.rb +2 -2
- data/spec/models/{put_characters_character_id_mail_mail_id_bad_request_spec.rb → error_limited_spec.rb} +8 -8
- data/spec/models/forbidden_spec.rb +2 -2
- data/spec/models/{get_alliances_names_200_ok_spec.rb → gateway_timeout_spec.rb} +10 -10
- data/spec/models/{get_characters_character_id_chat_channels_blocked_spec.rb → get_alliances_alliance_id_contacts_200_ok_spec.rb} +14 -14
- data/spec/models/{get_corporations_names_200_ok_spec.rb → get_alliances_alliance_id_contacts_labels_200_ok_spec.rb} +10 -10
- data/spec/models/get_alliances_alliance_id_icons_not_found_spec.rb +2 -2
- data/spec/models/get_alliances_alliance_id_icons_ok_spec.rb +2 -2
- data/spec/models/get_alliances_alliance_id_not_found_spec.rb +2 -2
- data/spec/models/get_alliances_alliance_id_ok_spec.rb +22 -4
- data/spec/models/get_characters_character_id_agents_research_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_assets_200_ok_spec.rb +9 -3
- data/spec/models/get_characters_character_id_attributes_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_blueprints_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_bookmarks_200_ok_spec.rb +13 -7
- data/spec/models/get_characters_character_id_bookmarks_coordinates_spec.rb +2 -2
- data/spec/models/get_characters_character_id_bookmarks_folders_200_ok_spec.rb +2 -8
- data/spec/models/get_characters_character_id_bookmarks_item_spec.rb +2 -2
- data/spec/models/get_characters_character_id_calendar_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_calendar_event_id_attendees_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_calendar_event_id_attendees_not_found_spec.rb +42 -0
- data/spec/models/get_characters_character_id_calendar_event_id_not_found_spec.rb +42 -0
- data/spec/models/get_characters_character_id_calendar_event_id_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_clones_home_location_spec.rb +2 -2
- data/spec/models/get_characters_character_id_clones_jump_clone_spec.rb +14 -2
- data/spec/models/get_characters_character_id_clones_ok_spec.rb +9 -3
- data/spec/models/get_characters_character_id_contacts_200_ok_spec.rb +3 -3
- data/spec/models/get_characters_character_id_contacts_labels_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_contracts_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_contracts_contract_id_bids_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_contracts_contract_id_bids_not_found_spec.rb +42 -0
- data/spec/models/get_characters_character_id_contracts_contract_id_items_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_contracts_contract_id_items_not_found_spec.rb +42 -0
- data/spec/models/get_characters_character_id_corporationhistory_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_fatigue_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_fittings_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_fittings_item_spec.rb +2 -2
- data/spec/models/get_characters_character_id_fleet_not_found_spec.rb +42 -0
- data/spec/models/{get_characters_character_id_chat_channels_muted_spec.rb → get_characters_character_id_fleet_ok_spec.rb} +14 -14
- data/spec/models/{get_characters_character_id_bookmarks_target_spec.rb → get_characters_character_id_fw_stats_kills_spec.rb} +11 -11
- data/spec/models/get_characters_character_id_fw_stats_ok_spec.rb +72 -0
- data/spec/models/get_characters_character_id_fw_stats_victory_points_spec.rb +54 -0
- data/spec/models/get_characters_character_id_industry_jobs_200_ok_spec.rb +3 -3
- data/spec/models/get_characters_character_id_killmails_recent_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_location_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_loyalty_points_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_mail_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_mail_labels_label_spec.rb +2 -2
- data/spec/models/get_characters_character_id_mail_labels_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_mail_lists_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_mail_mail_id_not_found_spec.rb +2 -2
- data/spec/models/get_characters_character_id_mail_mail_id_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_mail_mail_id_recipient_spec.rb +2 -2
- data/spec/models/get_characters_character_id_mail_recipient_spec.rb +2 -2
- data/spec/models/get_characters_character_id_medals_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_medals_graphic_spec.rb +2 -2
- data/spec/models/get_characters_character_id_mining_200_ok_spec.rb +60 -0
- data/spec/models/get_characters_character_id_not_found_spec.rb +2 -2
- data/spec/models/get_characters_character_id_notifications_200_ok_spec.rb +3 -3
- data/spec/models/get_characters_character_id_notifications_contacts_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_ok_spec.rb +8 -2
- data/spec/models/get_characters_character_id_online_ok_spec.rb +60 -0
- data/spec/models/get_characters_character_id_opportunities_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_orders_200_ok_spec.rb +3 -19
- data/spec/models/get_characters_character_id_orders_history_200_ok_spec.rb +134 -0
- data/spec/models/get_characters_character_id_planets_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_planets_planet_id_content_spec.rb +2 -2
- data/spec/models/get_characters_character_id_planets_planet_id_extractor_details_spec.rb +2 -2
- data/spec/models/get_characters_character_id_planets_planet_id_factory_details_spec.rb +2 -2
- data/spec/models/get_characters_character_id_planets_planet_id_head_spec.rb +2 -2
- data/spec/models/get_characters_character_id_planets_planet_id_link_spec.rb +2 -2
- data/spec/models/get_characters_character_id_planets_planet_id_not_found_spec.rb +2 -2
- data/spec/models/get_characters_character_id_planets_planet_id_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_planets_planet_id_pin_spec.rb +2 -2
- data/spec/models/get_characters_character_id_planets_planet_id_route_spec.rb +2 -2
- data/spec/models/get_characters_character_id_portrait_not_found_spec.rb +2 -2
- data/spec/models/get_characters_character_id_portrait_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_roles_ok_spec.rb +76 -0
- data/spec/models/get_characters_character_id_search_ok_spec.rb +4 -10
- data/spec/models/get_characters_character_id_ship_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_skillqueue_200_ok_spec.rb +2 -2
- data/spec/models/get_characters_character_id_skills_ok_spec.rb +8 -2
- data/spec/models/get_characters_character_id_skills_skill_spec.rb +9 -3
- data/spec/models/get_characters_character_id_standings_200_ok_spec.rb +2 -2
- data/spec/models/{get_characters_character_id_wallet_journal_extra_info_spec.rb → get_characters_character_id_stats_200_ok_spec.rb} +26 -20
- data/spec/models/get_characters_character_id_stats_character_spec.rb +54 -0
- data/spec/models/get_characters_character_id_stats_combat_spec.rb +600 -0
- data/spec/models/get_characters_character_id_stats_industry_spec.rb +252 -0
- data/spec/models/get_characters_character_id_stats_inventory_spec.rb +48 -0
- data/spec/models/{get_fw_leaderboards_yesterday_1_spec.rb → get_characters_character_id_stats_isk_spec.rb} +10 -10
- data/spec/models/{get_corporations_corporation_id_wallets_division_journal_extra_info_spec.rb → get_characters_character_id_stats_market_spec.rb} +26 -20
- data/spec/models/get_characters_character_id_stats_mining_spec.rb +150 -0
- data/spec/models/get_characters_character_id_stats_module_spec.rb +450 -0
- data/spec/models/get_characters_character_id_stats_orbital_spec.rb +54 -0
- data/spec/models/get_characters_character_id_stats_pve_spec.rb +60 -0
- data/spec/models/get_characters_character_id_stats_social_spec.rb +186 -0
- data/spec/models/get_characters_character_id_stats_travel_spec.rb +162 -0
- data/spec/models/get_characters_character_id_titles_200_ok_spec.rb +48 -0
- data/spec/models/get_characters_character_id_wallet_journal_200_ok_spec.rb +20 -24
- data/spec/models/get_characters_character_id_wallet_transactions_200_ok_spec.rb +2 -2
- data/spec/models/get_corporation_corporation_id_mining_extractions_200_ok_spec.rb +66 -0
- data/spec/models/get_corporation_corporation_id_mining_observers_200_ok_spec.rb +58 -0
- data/spec/models/get_corporation_corporation_id_mining_observers_observer_id_200_ok_spec.rb +66 -0
- data/spec/models/get_corporations_corporation_id_alliancehistory_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_assets_200_ok_spec.rb +9 -3
- data/spec/models/get_corporations_corporation_id_blueprints_200_ok_spec.rb +3 -3
- data/spec/models/get_corporations_corporation_id_bookmarks_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_bookmarks_coordinates_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_bookmarks_folders_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_bookmarks_item_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_contacts_200_ok_spec.rb +3 -3
- data/spec/models/{get_corporations_corporation_id_structures_current_vul_spec.rb → get_corporations_corporation_id_contacts_labels_200_ok_spec.rb} +10 -10
- data/spec/models/get_corporations_corporation_id_containers_logs_200_ok_spec.rb +120 -0
- data/spec/models/get_corporations_corporation_id_contracts_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_contracts_contract_id_bids_200_ok_spec.rb +2 -2
- data/spec/models/{get_corporations_corporation_id_members_200_ok_spec.rb → get_corporations_corporation_id_contracts_contract_id_bids_not_found_spec.rb} +9 -9
- data/spec/models/get_corporations_corporation_id_contracts_contract_id_items_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_contracts_contract_id_items_error_520_spec.rb +42 -0
- data/spec/models/get_corporations_corporation_id_contracts_contract_id_items_not_found_spec.rb +42 -0
- data/spec/models/get_corporations_corporation_id_customs_offices_200_ok_spec.rb +124 -0
- data/spec/models/{get_corporations_corporation_id_divisions_hangar_spec.rb → get_corporations_corporation_id_divisions_hangar_hangar_spec.rb} +8 -8
- data/spec/models/get_corporations_corporation_id_divisions_ok_spec.rb +2 -2
- data/spec/models/{get_corporations_corporation_id_divisions_wallet_spec.rb → get_corporations_corporation_id_divisions_wallet_wallet_spec.rb} +8 -8
- data/spec/models/get_corporations_corporation_id_facilities_200_ok_spec.rb +54 -0
- data/spec/models/get_corporations_corporation_id_fw_stats_kills_spec.rb +54 -0
- data/spec/models/get_corporations_corporation_id_fw_stats_ok_spec.rb +66 -0
- data/spec/models/get_corporations_corporation_id_fw_stats_victory_points_spec.rb +54 -0
- data/spec/models/get_corporations_corporation_id_icons_not_found_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_icons_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_industry_jobs_200_ok_spec.rb +3 -3
- data/spec/models/get_corporations_corporation_id_killmails_recent_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_medals_200_ok_spec.rb +66 -0
- data/spec/models/get_corporations_corporation_id_medals_issued_200_ok_spec.rb +76 -0
- data/spec/models/{get_corporations_corporation_id_structures_next_vul_spec.rb → get_corporations_corporation_id_members_titles_200_ok_spec.rb} +10 -10
- data/spec/models/get_corporations_corporation_id_membertracking_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_not_found_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_ok_spec.rb +19 -11
- data/spec/models/get_corporations_corporation_id_orders_200_ok_spec.rb +8 -12
- data/spec/models/get_corporations_corporation_id_orders_history_200_ok_spec.rb +140 -0
- data/spec/models/get_corporations_corporation_id_roles_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_roles_history_200_ok_spec.rb +84 -0
- data/spec/models/get_corporations_corporation_id_shareholders_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_standings_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_starbases_200_ok_spec.rb +88 -0
- data/spec/models/get_corporations_corporation_id_starbases_starbase_id_fuel_spec.rb +48 -0
- data/spec/models/get_corporations_corporation_id_starbases_starbase_id_ok_spec.rb +144 -0
- data/spec/models/get_corporations_corporation_id_structures_200_ok_spec.rb +33 -5
- data/spec/models/get_corporations_corporation_id_structures_service_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_titles_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_wallets_200_ok_spec.rb +2 -2
- data/spec/models/get_corporations_corporation_id_wallets_division_journal_200_ok_spec.rb +20 -24
- data/spec/models/get_corporations_corporation_id_wallets_division_transactions_200_ok_spec.rb +2 -2
- data/spec/models/get_dogma_attributes_attribute_id_not_found_spec.rb +2 -2
- data/spec/models/get_dogma_attributes_attribute_id_ok_spec.rb +2 -2
- data/spec/models/get_dogma_dynamic_items_type_id_item_id_dogma_attribute_spec.rb +48 -0
- data/spec/models/get_dogma_dynamic_items_type_id_item_id_dogma_effect_spec.rb +48 -0
- data/spec/models/get_dogma_dynamic_items_type_id_item_id_not_found_spec.rb +42 -0
- data/spec/models/get_dogma_dynamic_items_type_id_item_id_ok_spec.rb +66 -0
- data/spec/models/get_dogma_effects_effect_id_modifier_spec.rb +2 -2
- data/spec/models/get_dogma_effects_effect_id_not_found_spec.rb +2 -2
- data/spec/models/get_dogma_effects_effect_id_ok_spec.rb +2 -2
- data/spec/models/get_fleets_fleet_id_members_200_ok_spec.rb +2 -2
- data/spec/models/get_fleets_fleet_id_members_not_found_spec.rb +2 -2
- data/spec/models/get_fleets_fleet_id_not_found_spec.rb +2 -2
- data/spec/models/get_fleets_fleet_id_ok_spec.rb +2 -2
- data/spec/models/get_fleets_fleet_id_wings_200_ok_spec.rb +2 -2
- data/spec/models/get_fleets_fleet_id_wings_not_found_spec.rb +2 -2
- data/spec/models/get_fleets_fleet_id_wings_squad_spec.rb +2 -2
- data/spec/models/{get_fw_leaderboards_active_total_1_spec.rb → get_fw_leaderboards_active_total_active_total_1_spec.rb} +8 -8
- data/spec/models/{get_fw_leaderboards_active_total_spec.rb → get_fw_leaderboards_active_total_active_total_spec.rb} +8 -8
- data/spec/models/{get_fw_leaderboards_characters_active_total_1_spec.rb → get_fw_leaderboards_characters_active_total_active_total_1_spec.rb} +8 -8
- data/spec/models/{get_fw_leaderboards_characters_active_total_spec.rb → get_fw_leaderboards_characters_active_total_active_total_spec.rb} +8 -8
- data/spec/models/get_fw_leaderboards_characters_kills_spec.rb +2 -2
- data/spec/models/{get_fw_leaderboards_characters_last_week_spec.rb → get_fw_leaderboards_characters_last_week_last_week_1_spec.rb} +8 -8
- data/spec/models/{get_fw_leaderboards_characters_last_week_1_spec.rb → get_fw_leaderboards_characters_last_week_last_week_spec.rb} +8 -8
- data/spec/models/get_fw_leaderboards_characters_ok_spec.rb +2 -2
- data/spec/models/get_fw_leaderboards_characters_victory_points_spec.rb +2 -2
- data/spec/models/{get_fw_leaderboards_characters_yesterday_spec.rb → get_fw_leaderboards_characters_yesterday_yesterday_1_spec.rb} +8 -8
- data/spec/models/{get_fw_leaderboards_characters_yesterday_1_spec.rb → get_fw_leaderboards_characters_yesterday_yesterday_spec.rb} +8 -8
- data/spec/models/{get_fw_leaderboards_corporations_active_total_spec.rb → get_fw_leaderboards_corporations_active_total_active_total_1_spec.rb} +8 -8
- data/spec/models/{get_fw_leaderboards_corporations_active_total_1_spec.rb → get_fw_leaderboards_corporations_active_total_active_total_spec.rb} +8 -8
- data/spec/models/get_fw_leaderboards_corporations_kills_spec.rb +2 -2
- data/spec/models/{get_fw_leaderboards_corporations_last_week_spec.rb → get_fw_leaderboards_corporations_last_week_last_week_1_spec.rb} +8 -8
- data/spec/models/{get_fw_leaderboards_corporations_last_week_1_spec.rb → get_fw_leaderboards_corporations_last_week_last_week_spec.rb} +8 -8
- data/spec/models/get_fw_leaderboards_corporations_ok_spec.rb +2 -2
- data/spec/models/get_fw_leaderboards_corporations_victory_points_spec.rb +2 -2
- data/spec/models/{get_fw_leaderboards_corporations_yesterday_spec.rb → get_fw_leaderboards_corporations_yesterday_yesterday_1_spec.rb} +8 -8
- data/spec/models/{get_fw_leaderboards_corporations_yesterday_1_spec.rb → get_fw_leaderboards_corporations_yesterday_yesterday_spec.rb} +8 -8
- data/spec/models/get_fw_leaderboards_kills_spec.rb +2 -2
- data/spec/models/{get_fw_leaderboards_last_week_spec.rb → get_fw_leaderboards_last_week_last_week_1_spec.rb} +8 -8
- data/spec/models/{get_fw_leaderboards_last_week_1_spec.rb → get_fw_leaderboards_last_week_last_week_spec.rb} +8 -8
- data/spec/models/get_fw_leaderboards_ok_spec.rb +2 -2
- data/spec/models/get_fw_leaderboards_victory_points_spec.rb +2 -2
- data/spec/models/get_fw_leaderboards_yesterday_yesterday_1_spec.rb +48 -0
- data/spec/models/get_fw_leaderboards_yesterday_yesterday_spec.rb +48 -0
- data/spec/models/get_fw_stats_200_ok_spec.rb +2 -2
- data/spec/models/get_fw_stats_kills_spec.rb +2 -2
- data/spec/models/get_fw_stats_victory_points_spec.rb +2 -2
- data/spec/models/get_fw_systems_200_ok_spec.rb +6 -2
- data/spec/models/get_fw_wars_200_ok_spec.rb +2 -2
- data/spec/models/get_incursions_200_ok_spec.rb +2 -2
- data/spec/models/get_industry_facilities_200_ok_spec.rb +2 -2
- data/spec/models/get_industry_systems_200_ok_spec.rb +2 -2
- data/spec/models/get_industry_systems_cost_indice_spec.rb +3 -3
- data/spec/models/get_insurance_prices_200_ok_spec.rb +2 -2
- data/spec/models/get_insurance_prices_level_spec.rb +2 -2
- data/spec/models/get_killmails_killmail_id_killmail_hash_attacker_spec.rb +2 -2
- data/spec/models/get_killmails_killmail_id_killmail_hash_item_spec.rb +8 -2
- data/spec/models/{get_killmails_killmail_id_killmail_hash_item_1_spec.rb → get_killmails_killmail_id_killmail_hash_items_item_spec.rb} +8 -14
- data/spec/models/get_killmails_killmail_id_killmail_hash_ok_spec.rb +2 -2
- data/spec/models/get_killmails_killmail_id_killmail_hash_position_spec.rb +2 -2
- data/spec/models/get_killmails_killmail_id_killmail_hash_unprocessable_entity_spec.rb +2 -2
- data/spec/models/get_killmails_killmail_id_killmail_hash_victim_spec.rb +2 -2
- data/spec/models/get_loyalty_stores_corporation_id_offers_200_ok_spec.rb +8 -2
- data/spec/models/{post_characters_character_id_cspa_characters_spec.rb → get_loyalty_stores_corporation_id_offers_not_found_spec.rb} +9 -9
- data/spec/models/get_loyalty_stores_corporation_id_offers_required_item_spec.rb +2 -2
- data/spec/models/get_markets_groups_market_group_id_not_found_spec.rb +2 -2
- data/spec/models/get_markets_groups_market_group_id_ok_spec.rb +2 -2
- data/spec/models/get_markets_prices_200_ok_spec.rb +2 -2
- data/spec/models/get_markets_region_id_history_200_ok_spec.rb +2 -2
- data/spec/models/get_markets_region_id_history_error_520_spec.rb +42 -0
- data/spec/models/get_markets_region_id_history_not_found_spec.rb +42 -0
- data/spec/models/get_markets_region_id_history_unprocessable_entity_spec.rb +2 -2
- data/spec/models/get_markets_region_id_orders_200_ok_spec.rb +8 -2
- data/spec/models/get_markets_region_id_orders_not_found_spec.rb +42 -0
- data/spec/models/get_markets_region_id_orders_unprocessable_entity_spec.rb +2 -2
- data/spec/models/get_markets_structures_structure_id_200_ok_spec.rb +2 -2
- data/spec/models/get_opportunities_groups_group_id_ok_spec.rb +2 -2
- data/spec/models/get_opportunities_tasks_task_id_ok_spec.rb +2 -2
- data/spec/models/get_route_origin_destination_not_found_spec.rb +2 -2
- data/spec/models/get_search_ok_spec.rb +4 -10
- data/spec/models/get_sovereignty_campaigns_200_ok_spec.rb +2 -2
- data/spec/models/get_sovereignty_campaigns_participant_spec.rb +2 -2
- data/spec/models/get_sovereignty_map_200_ok_spec.rb +2 -2
- data/spec/models/get_sovereignty_structures_200_ok_spec.rb +2 -2
- data/spec/models/get_status_ok_spec.rb +2 -2
- data/spec/models/get_universe_ancestries_200_ok_spec.rb +72 -0
- data/spec/models/get_universe_asteroid_belts_asteroid_belt_id_not_found_spec.rb +42 -0
- data/spec/models/get_universe_asteroid_belts_asteroid_belt_id_ok_spec.rb +54 -0
- data/spec/models/get_universe_asteroid_belts_asteroid_belt_id_position_spec.rb +54 -0
- data/spec/models/get_universe_bloodlines_200_ok_spec.rb +2 -2
- data/spec/models/get_universe_categories_category_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_categories_category_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_constellations_constellation_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_constellations_constellation_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_constellations_constellation_id_position_spec.rb +2 -2
- data/spec/models/get_universe_factions_200_ok_spec.rb +2 -2
- data/spec/models/get_universe_graphics_graphic_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_graphics_graphic_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_groups_group_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_groups_group_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_moons_moon_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_moons_moon_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_moons_moon_id_position_spec.rb +2 -2
- data/spec/models/get_universe_planets_planet_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_planets_planet_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_planets_planet_id_position_spec.rb +2 -2
- data/spec/models/get_universe_races_200_ok_spec.rb +2 -2
- data/spec/models/get_universe_regions_region_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_regions_region_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_schematics_schematic_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_schematics_schematic_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_stargates_stargate_id_destination_spec.rb +2 -2
- data/spec/models/get_universe_stargates_stargate_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_stargates_stargate_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_stargates_stargate_id_position_spec.rb +2 -2
- data/spec/models/get_universe_stars_star_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_stations_station_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_stations_station_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_stations_station_id_position_spec.rb +2 -2
- data/spec/models/get_universe_structures_structure_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_structures_structure_id_ok_spec.rb +8 -2
- data/spec/models/get_universe_structures_structure_id_position_spec.rb +2 -2
- data/spec/models/get_universe_system_jumps_200_ok_spec.rb +2 -2
- data/spec/models/get_universe_system_kills_200_ok_spec.rb +2 -2
- data/spec/models/get_universe_systems_system_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_systems_system_id_ok_spec.rb +2 -2
- data/spec/models/get_universe_systems_system_id_planet_spec.rb +8 -2
- data/spec/models/get_universe_systems_system_id_position_spec.rb +2 -2
- data/spec/models/get_universe_types_type_id_dogma_attribute_spec.rb +2 -2
- data/spec/models/get_universe_types_type_id_dogma_effect_spec.rb +2 -2
- data/spec/models/get_universe_types_type_id_not_found_spec.rb +2 -2
- data/spec/models/get_universe_types_type_id_ok_spec.rb +2 -2
- data/spec/models/get_wars_war_id_aggressor_spec.rb +2 -2
- data/spec/models/get_wars_war_id_ally_spec.rb +2 -2
- data/spec/models/get_wars_war_id_defender_spec.rb +2 -2
- data/spec/models/get_wars_war_id_killmails_200_ok_spec.rb +2 -2
- data/spec/models/get_wars_war_id_killmails_unprocessable_entity_spec.rb +2 -2
- data/spec/models/get_wars_war_id_ok_spec.rb +2 -2
- data/spec/models/get_wars_war_id_unprocessable_entity_spec.rb +2 -2
- data/spec/models/internal_server_error_spec.rb +2 -2
- data/spec/models/post_characters_affiliation_200_ok_spec.rb +2 -2
- data/spec/models/post_characters_affiliation_not_found_spec.rb +2 -2
- data/spec/models/post_characters_character_id_assets_locations_200_ok_spec.rb +3 -15
- data/spec/models/post_characters_character_id_assets_locations_position_spec.rb +54 -0
- data/spec/models/post_characters_character_id_assets_names_200_ok_spec.rb +2 -2
- data/spec/models/{post_characters_character_id_cspa_created_spec.rb → post_characters_character_id_contacts_error_520_spec.rb} +9 -9
- data/spec/models/post_characters_character_id_fittings_created_spec.rb +2 -2
- data/spec/models/post_characters_character_id_fittings_fitting_spec.rb +2 -2
- data/spec/models/post_characters_character_id_fittings_item_spec.rb +2 -2
- data/spec/models/{post_characters_character_id_mail_bad_request_spec.rb → post_characters_character_id_mail_error_520_spec.rb} +8 -8
- data/spec/models/post_characters_character_id_mail_labels_label_spec.rb +2 -2
- data/spec/models/post_characters_character_id_mail_mail_spec.rb +2 -2
- data/spec/models/post_characters_character_id_mail_recipient_spec.rb +2 -2
- data/spec/models/post_corporations_corporation_id_assets_locations_200_ok_spec.rb +3 -15
- data/spec/models/post_corporations_corporation_id_assets_locations_not_found_spec.rb +42 -0
- data/spec/models/post_corporations_corporation_id_assets_locations_position_spec.rb +54 -0
- data/spec/models/post_corporations_corporation_id_assets_names_200_ok_spec.rb +2 -2
- data/spec/models/post_corporations_corporation_id_assets_names_not_found_spec.rb +42 -0
- data/spec/models/post_fleets_fleet_id_members_invitation_spec.rb +2 -2
- data/spec/models/post_fleets_fleet_id_members_not_found_spec.rb +2 -2
- data/spec/models/post_fleets_fleet_id_members_unprocessable_entity_spec.rb +2 -2
- data/spec/models/post_fleets_fleet_id_wings_created_spec.rb +2 -2
- data/spec/models/post_fleets_fleet_id_wings_not_found_spec.rb +2 -2
- data/spec/models/post_fleets_fleet_id_wings_wing_id_squads_created_spec.rb +2 -2
- data/spec/models/post_fleets_fleet_id_wings_wing_id_squads_not_found_spec.rb +2 -2
- data/spec/models/post_ui_openwindow_newmail_new_mail_spec.rb +2 -2
- data/spec/models/post_ui_openwindow_newmail_unprocessable_entity_spec.rb +2 -2
- data/spec/models/post_universe_ids_agent_spec.rb +48 -0
- data/spec/models/{get_characters_names_200_ok_spec.rb → post_universe_ids_alliance_spec.rb} +10 -10
- data/spec/models/post_universe_ids_character_spec.rb +48 -0
- data/spec/models/post_universe_ids_constellation_spec.rb +48 -0
- data/spec/models/{get_fw_leaderboards_yesterday_spec.rb → post_universe_ids_corporation_spec.rb} +10 -10
- data/spec/models/post_universe_ids_faction_spec.rb +48 -0
- data/spec/models/post_universe_ids_inventory_type_spec.rb +48 -0
- data/spec/models/{get_characters_character_id_chat_channels_200_ok_spec.rb → post_universe_ids_ok_spec.rb} +18 -18
- data/spec/models/post_universe_ids_region_spec.rb +48 -0
- data/spec/models/post_universe_ids_station_spec.rb +48 -0
- data/spec/models/post_universe_ids_system_spec.rb +48 -0
- data/spec/models/post_universe_names_200_ok_spec.rb +2 -2
- data/spec/models/post_universe_names_not_found_spec.rb +2 -2
- data/spec/models/put_characters_character_id_calendar_event_id_response_spec.rb +2 -2
- data/spec/models/put_characters_character_id_mail_mail_id_contents_spec.rb +2 -2
- data/spec/models/put_fleets_fleet_id_members_member_id_movement_spec.rb +2 -2
- data/spec/models/put_fleets_fleet_id_members_member_id_not_found_spec.rb +2 -2
- data/spec/models/put_fleets_fleet_id_members_member_id_unprocessable_entity_spec.rb +2 -2
- data/spec/models/put_fleets_fleet_id_new_settings_spec.rb +2 -2
- data/spec/models/put_fleets_fleet_id_not_found_spec.rb +2 -2
- data/spec/models/put_fleets_fleet_id_squads_squad_id_naming_spec.rb +2 -2
- data/spec/models/put_fleets_fleet_id_squads_squad_id_not_found_spec.rb +2 -2
- data/spec/models/put_fleets_fleet_id_wings_wing_id_naming_spec.rb +2 -2
- data/spec/models/put_fleets_fleet_id_wings_wing_id_not_found_spec.rb +2 -2
- data/spec/models/service_unavailable_spec.rb +42 -0
- data/spec/models/unauthorized_spec.rb +42 -0
- data/spec/spec_helper.rb +2 -2
- metadata +663 -407
- data/docs/GetAlliancesNames200Ok.md +0 -9
- data/docs/GetCharactersCharacterIdBookmarksTarget.md +0 -10
- data/docs/GetCharactersCharacterIdChatChannels200Ok.md +0 -17
- data/docs/GetCharactersCharacterIdChatChannelsAllowed.md +0 -9
- data/docs/GetCharactersCharacterIdChatChannelsBlocked.md +0 -11
- data/docs/GetCharactersCharacterIdChatChannelsMuted.md +0 -11
- data/docs/GetCharactersCharacterIdChatChannelsOperator.md +0 -9
- data/docs/GetCharactersCharacterIdWalletJournalExtraInfo.md +0 -19
- data/docs/GetCharactersNames200Ok.md +0 -9
- data/docs/GetCorporationsCorporationIdStructuresCurrentVul.md +0 -9
- data/docs/GetCorporationsCorporationIdStructuresNextVul.md +0 -9
- data/docs/GetCorporationsCorporationIdWalletsDivisionJournalExtraInfo.md +0 -19
- data/docs/GetCorporationsNames200Ok.md +0 -9
- data/docs/GetKillmailsKillmailIdKillmailHashItem1.md +0 -13
- data/docs/PutCharactersCharacterIdMailMailIdBadRequest.md +0 -8
- data/docs/PutCorporationsCorporationIdStructuresStructureIdNewSchedule.md +0 -9
- data/lib/ruby-esi/models/get_characters_character_id_chat_channels_200_ok.rb +0 -337
- data/lib/ruby-esi/models/get_characters_character_id_wallet_journal_extra_info.rb +0 -299
- data/lib/ruby-esi/models/get_corporations_corporation_id_wallets_division_journal_extra_info.rb +0 -299
- data/spec/models/get_characters_character_id_chat_channels_allowed_spec.rb +0 -52
- data/spec/models/get_characters_character_id_chat_channels_operator_spec.rb +0 -52
- data/spec/models/put_corporations_corporation_id_structures_structure_id_new_schedule_spec.rb +0 -48
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#An OpenAPI for EVE Online
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.
|
6
|
+
OpenAPI spec version: 0.8.4
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -48,7 +48,7 @@ module ESI
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# Show invalid properties with the reasons. Usually used together with valid?
|
51
|
-
# @return Array for valid
|
51
|
+
# @return Array for valid properties with the reasons
|
52
52
|
def list_invalid_properties
|
53
53
|
invalid_properties = Array.new
|
54
54
|
return invalid_properties
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#An OpenAPI for EVE Online
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.
|
6
|
+
OpenAPI spec version: 0.8.4
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -66,7 +66,7 @@ module ESI
|
|
66
66
|
end
|
67
67
|
|
68
68
|
# Show invalid properties with the reasons. Usually used together with valid?
|
69
|
-
# @return Array for valid
|
69
|
+
# @return Array for valid properties with the reasons
|
70
70
|
def list_invalid_properties
|
71
71
|
invalid_properties = Array.new
|
72
72
|
return invalid_properties
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#An OpenAPI for EVE Online
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.
|
6
|
+
OpenAPI spec version: 0.8.4
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -258,7 +258,7 @@ module ESI
|
|
258
258
|
end
|
259
259
|
|
260
260
|
# Show invalid properties with the reasons. Usually used together with valid?
|
261
|
-
# @return Array for valid
|
261
|
+
# @return Array for valid properties with the reasons
|
262
262
|
def list_invalid_properties
|
263
263
|
invalid_properties = Array.new
|
264
264
|
if @activity_id.nil?
|
@@ -337,7 +337,7 @@ module ESI
|
|
337
337
|
return false if @runs.nil?
|
338
338
|
return false if @start_date.nil?
|
339
339
|
return false if @status.nil?
|
340
|
-
status_validator = EnumAttributeValidator.new('String', ["active", "
|
340
|
+
status_validator = EnumAttributeValidator.new('String', ["active", "cancelled", "delivered", "paused", "ready", "reverted"])
|
341
341
|
return false unless status_validator.valid?(@status)
|
342
342
|
return true
|
343
343
|
end
|
@@ -345,7 +345,7 @@ module ESI
|
|
345
345
|
# Custom attribute writer method checking allowed values (enum).
|
346
346
|
# @param [Object] status Object to be assigned
|
347
347
|
def status=(status)
|
348
|
-
validator = EnumAttributeValidator.new('String', ["active", "
|
348
|
+
validator = EnumAttributeValidator.new('String', ["active", "cancelled", "delivered", "paused", "ready", "reverted"])
|
349
349
|
unless validator.valid?(status)
|
350
350
|
fail ArgumentError, "invalid value for 'status', must be one of #{validator.allowable_values}."
|
351
351
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#An OpenAPI for EVE Online
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.
|
6
|
+
OpenAPI spec version: 0.8.4
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -57,7 +57,7 @@ module ESI
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# Show invalid properties with the reasons. Usually used together with valid?
|
60
|
-
# @return Array for valid
|
60
|
+
# @return Array for valid properties with the reasons
|
61
61
|
def list_invalid_properties
|
62
62
|
invalid_properties = Array.new
|
63
63
|
if @killmail_hash.nil?
|
@@ -0,0 +1,292 @@
|
|
1
|
+
=begin
|
2
|
+
#EVE Swagger Interface
|
3
|
+
|
4
|
+
#An OpenAPI for EVE Online
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.8.4
|
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 GetCorporationsCorporationIdMedals200Ok
|
18
|
+
# created_at string
|
19
|
+
attr_accessor :created_at
|
20
|
+
|
21
|
+
# ID of the character who created this medal
|
22
|
+
attr_accessor :creator_id
|
23
|
+
|
24
|
+
# description string
|
25
|
+
attr_accessor :description
|
26
|
+
|
27
|
+
# medal_id integer
|
28
|
+
attr_accessor :medal_id
|
29
|
+
|
30
|
+
# title string
|
31
|
+
attr_accessor :title
|
32
|
+
|
33
|
+
|
34
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
35
|
+
def self.attribute_map
|
36
|
+
{
|
37
|
+
:'created_at' => :'created_at',
|
38
|
+
:'creator_id' => :'creator_id',
|
39
|
+
:'description' => :'description',
|
40
|
+
:'medal_id' => :'medal_id',
|
41
|
+
:'title' => :'title'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# Attribute type mapping.
|
46
|
+
def self.swagger_types
|
47
|
+
{
|
48
|
+
:'created_at' => :'DateTime',
|
49
|
+
:'creator_id' => :'Integer',
|
50
|
+
:'description' => :'String',
|
51
|
+
:'medal_id' => :'Integer',
|
52
|
+
:'title' => :'String'
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
# Initializes the object
|
57
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
58
|
+
def initialize(attributes = {})
|
59
|
+
return unless attributes.is_a?(Hash)
|
60
|
+
|
61
|
+
# convert string to symbol for hash key
|
62
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
63
|
+
|
64
|
+
if attributes.has_key?(:'created_at')
|
65
|
+
self.created_at = attributes[:'created_at']
|
66
|
+
end
|
67
|
+
|
68
|
+
if attributes.has_key?(:'creator_id')
|
69
|
+
self.creator_id = attributes[:'creator_id']
|
70
|
+
end
|
71
|
+
|
72
|
+
if attributes.has_key?(:'description')
|
73
|
+
self.description = attributes[:'description']
|
74
|
+
end
|
75
|
+
|
76
|
+
if attributes.has_key?(:'medal_id')
|
77
|
+
self.medal_id = attributes[:'medal_id']
|
78
|
+
end
|
79
|
+
|
80
|
+
if attributes.has_key?(:'title')
|
81
|
+
self.title = attributes[:'title']
|
82
|
+
end
|
83
|
+
|
84
|
+
end
|
85
|
+
|
86
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
87
|
+
# @return Array for valid properties with the reasons
|
88
|
+
def list_invalid_properties
|
89
|
+
invalid_properties = Array.new
|
90
|
+
if @created_at.nil?
|
91
|
+
invalid_properties.push("invalid value for 'created_at', created_at cannot be nil.")
|
92
|
+
end
|
93
|
+
|
94
|
+
if @creator_id.nil?
|
95
|
+
invalid_properties.push("invalid value for 'creator_id', creator_id cannot be nil.")
|
96
|
+
end
|
97
|
+
|
98
|
+
if @description.nil?
|
99
|
+
invalid_properties.push("invalid value for 'description', description cannot be nil.")
|
100
|
+
end
|
101
|
+
|
102
|
+
if @description.to_s.length > 1000
|
103
|
+
invalid_properties.push("invalid value for 'description', the character length must be smaller than or equal to 1000.")
|
104
|
+
end
|
105
|
+
|
106
|
+
if @medal_id.nil?
|
107
|
+
invalid_properties.push("invalid value for 'medal_id', medal_id cannot be nil.")
|
108
|
+
end
|
109
|
+
|
110
|
+
if @title.nil?
|
111
|
+
invalid_properties.push("invalid value for 'title', title cannot be nil.")
|
112
|
+
end
|
113
|
+
|
114
|
+
if @title.to_s.length > 100
|
115
|
+
invalid_properties.push("invalid value for 'title', the character length must be smaller than or equal to 100.")
|
116
|
+
end
|
117
|
+
|
118
|
+
return invalid_properties
|
119
|
+
end
|
120
|
+
|
121
|
+
# Check to see if the all the properties in the model are valid
|
122
|
+
# @return true if the model is valid
|
123
|
+
def valid?
|
124
|
+
return false if @created_at.nil?
|
125
|
+
return false if @creator_id.nil?
|
126
|
+
return false if @description.nil?
|
127
|
+
return false if @description.to_s.length > 1000
|
128
|
+
return false if @medal_id.nil?
|
129
|
+
return false if @title.nil?
|
130
|
+
return false if @title.to_s.length > 100
|
131
|
+
return true
|
132
|
+
end
|
133
|
+
|
134
|
+
# Custom attribute writer method with validation
|
135
|
+
# @param [Object] description Value to be assigned
|
136
|
+
def description=(description)
|
137
|
+
if description.nil?
|
138
|
+
fail ArgumentError, "description cannot be nil"
|
139
|
+
end
|
140
|
+
|
141
|
+
if description.to_s.length > 1000
|
142
|
+
fail ArgumentError, "invalid value for 'description', the character length must be smaller than or equal to 1000."
|
143
|
+
end
|
144
|
+
|
145
|
+
@description = description
|
146
|
+
end
|
147
|
+
|
148
|
+
# Custom attribute writer method with validation
|
149
|
+
# @param [Object] title Value to be assigned
|
150
|
+
def title=(title)
|
151
|
+
if title.nil?
|
152
|
+
fail ArgumentError, "title cannot be nil"
|
153
|
+
end
|
154
|
+
|
155
|
+
if title.to_s.length > 100
|
156
|
+
fail ArgumentError, "invalid value for 'title', the character length must be smaller than or equal to 100."
|
157
|
+
end
|
158
|
+
|
159
|
+
@title = title
|
160
|
+
end
|
161
|
+
|
162
|
+
# Checks equality by comparing each attribute.
|
163
|
+
# @param [Object] Object to be compared
|
164
|
+
def ==(o)
|
165
|
+
return true if self.equal?(o)
|
166
|
+
self.class == o.class &&
|
167
|
+
created_at == o.created_at &&
|
168
|
+
creator_id == o.creator_id &&
|
169
|
+
description == o.description &&
|
170
|
+
medal_id == o.medal_id &&
|
171
|
+
title == o.title
|
172
|
+
end
|
173
|
+
|
174
|
+
# @see the `==` method
|
175
|
+
# @param [Object] Object to be compared
|
176
|
+
def eql?(o)
|
177
|
+
self == o
|
178
|
+
end
|
179
|
+
|
180
|
+
# Calculates hash code according to all attributes.
|
181
|
+
# @return [Fixnum] Hash code
|
182
|
+
def hash
|
183
|
+
[created_at, creator_id, description, medal_id, title].hash
|
184
|
+
end
|
185
|
+
|
186
|
+
# Builds the object from hash
|
187
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
188
|
+
# @return [Object] Returns the model itself
|
189
|
+
def build_from_hash(attributes)
|
190
|
+
return nil unless attributes.is_a?(Hash)
|
191
|
+
self.class.swagger_types.each_pair do |key, type|
|
192
|
+
if type =~ /\AArray<(.*)>/i
|
193
|
+
# check to ensure the input is an array given that the the attribute
|
194
|
+
# is documented as an array but the input is not
|
195
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
196
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
197
|
+
end
|
198
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
199
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
200
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
201
|
+
end
|
202
|
+
|
203
|
+
self
|
204
|
+
end
|
205
|
+
|
206
|
+
# Deserializes the data based on type
|
207
|
+
# @param string type Data type
|
208
|
+
# @param string value Value to be deserialized
|
209
|
+
# @return [Object] Deserialized data
|
210
|
+
def _deserialize(type, value)
|
211
|
+
case type.to_sym
|
212
|
+
when :DateTime
|
213
|
+
DateTime.parse(value)
|
214
|
+
when :Date
|
215
|
+
Date.parse(value)
|
216
|
+
when :String
|
217
|
+
value.to_s
|
218
|
+
when :Integer
|
219
|
+
value.to_i
|
220
|
+
when :Float
|
221
|
+
value.to_f
|
222
|
+
when :BOOLEAN
|
223
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
224
|
+
true
|
225
|
+
else
|
226
|
+
false
|
227
|
+
end
|
228
|
+
when :Object
|
229
|
+
# generic object (usually a Hash), return directly
|
230
|
+
value
|
231
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
232
|
+
inner_type = Regexp.last_match[:inner_type]
|
233
|
+
value.map { |v| _deserialize(inner_type, v) }
|
234
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
235
|
+
k_type = Regexp.last_match[:k_type]
|
236
|
+
v_type = Regexp.last_match[:v_type]
|
237
|
+
{}.tap do |hash|
|
238
|
+
value.each do |k, v|
|
239
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
240
|
+
end
|
241
|
+
end
|
242
|
+
else # model
|
243
|
+
temp_model = ESI.const_get(type).new
|
244
|
+
temp_model.build_from_hash(value)
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
# Returns the string representation of the object
|
249
|
+
# @return [String] String presentation of the object
|
250
|
+
def to_s
|
251
|
+
to_hash.to_s
|
252
|
+
end
|
253
|
+
|
254
|
+
# to_body is an alias to to_hash (backward compatibility)
|
255
|
+
# @return [Hash] Returns the object in the form of hash
|
256
|
+
def to_body
|
257
|
+
to_hash
|
258
|
+
end
|
259
|
+
|
260
|
+
# Returns the object in the form of hash
|
261
|
+
# @return [Hash] Returns the object in the form of hash
|
262
|
+
def to_hash
|
263
|
+
hash = {}
|
264
|
+
self.class.attribute_map.each_pair do |attr, param|
|
265
|
+
value = self.send(attr)
|
266
|
+
next if value.nil?
|
267
|
+
hash[param] = _to_hash(value)
|
268
|
+
end
|
269
|
+
hash
|
270
|
+
end
|
271
|
+
|
272
|
+
# Outputs non-array value in the form of hash
|
273
|
+
# For object, use to_hash. Otherwise, just return the value
|
274
|
+
# @param [Object] value Any valid value
|
275
|
+
# @return [Hash] Returns the value in the form of hash
|
276
|
+
def _to_hash(value)
|
277
|
+
if value.is_a?(Array)
|
278
|
+
value.compact.map{ |v| _to_hash(v) }
|
279
|
+
elsif value.is_a?(Hash)
|
280
|
+
{}.tap do |hash|
|
281
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
282
|
+
end
|
283
|
+
elsif value.respond_to? :to_hash
|
284
|
+
value.to_hash
|
285
|
+
else
|
286
|
+
value
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
end
|
291
|
+
|
292
|
+
end
|
@@ -0,0 +1,321 @@
|
|
1
|
+
=begin
|
2
|
+
#EVE Swagger Interface
|
3
|
+
|
4
|
+
#An OpenAPI for EVE Online
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.8.4
|
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 GetCorporationsCorporationIdMedalsIssued200Ok
|
18
|
+
# ID of the character who was rewarded this medal
|
19
|
+
attr_accessor :character_id
|
20
|
+
|
21
|
+
# issued_at string
|
22
|
+
attr_accessor :issued_at
|
23
|
+
|
24
|
+
# ID of the character who issued the medal
|
25
|
+
attr_accessor :issuer_id
|
26
|
+
|
27
|
+
# medal_id integer
|
28
|
+
attr_accessor :medal_id
|
29
|
+
|
30
|
+
# reason string
|
31
|
+
attr_accessor :reason
|
32
|
+
|
33
|
+
# status string
|
34
|
+
attr_accessor :status
|
35
|
+
|
36
|
+
class EnumAttributeValidator
|
37
|
+
attr_reader :datatype
|
38
|
+
attr_reader :allowable_values
|
39
|
+
|
40
|
+
def initialize(datatype, allowable_values)
|
41
|
+
@allowable_values = allowable_values.map do |value|
|
42
|
+
case datatype.to_s
|
43
|
+
when /Integer/i
|
44
|
+
value.to_i
|
45
|
+
when /Float/i
|
46
|
+
value.to_f
|
47
|
+
else
|
48
|
+
value
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def valid?(value)
|
54
|
+
!value || allowable_values.include?(value)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
59
|
+
def self.attribute_map
|
60
|
+
{
|
61
|
+
:'character_id' => :'character_id',
|
62
|
+
:'issued_at' => :'issued_at',
|
63
|
+
:'issuer_id' => :'issuer_id',
|
64
|
+
:'medal_id' => :'medal_id',
|
65
|
+
:'reason' => :'reason',
|
66
|
+
:'status' => :'status'
|
67
|
+
}
|
68
|
+
end
|
69
|
+
|
70
|
+
# Attribute type mapping.
|
71
|
+
def self.swagger_types
|
72
|
+
{
|
73
|
+
:'character_id' => :'Integer',
|
74
|
+
:'issued_at' => :'DateTime',
|
75
|
+
:'issuer_id' => :'Integer',
|
76
|
+
:'medal_id' => :'Integer',
|
77
|
+
:'reason' => :'String',
|
78
|
+
:'status' => :'String'
|
79
|
+
}
|
80
|
+
end
|
81
|
+
|
82
|
+
# Initializes the object
|
83
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
84
|
+
def initialize(attributes = {})
|
85
|
+
return unless attributes.is_a?(Hash)
|
86
|
+
|
87
|
+
# convert string to symbol for hash key
|
88
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
89
|
+
|
90
|
+
if attributes.has_key?(:'character_id')
|
91
|
+
self.character_id = attributes[:'character_id']
|
92
|
+
end
|
93
|
+
|
94
|
+
if attributes.has_key?(:'issued_at')
|
95
|
+
self.issued_at = attributes[:'issued_at']
|
96
|
+
end
|
97
|
+
|
98
|
+
if attributes.has_key?(:'issuer_id')
|
99
|
+
self.issuer_id = attributes[:'issuer_id']
|
100
|
+
end
|
101
|
+
|
102
|
+
if attributes.has_key?(:'medal_id')
|
103
|
+
self.medal_id = attributes[:'medal_id']
|
104
|
+
end
|
105
|
+
|
106
|
+
if attributes.has_key?(:'reason')
|
107
|
+
self.reason = attributes[:'reason']
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes.has_key?(:'status')
|
111
|
+
self.status = attributes[:'status']
|
112
|
+
end
|
113
|
+
|
114
|
+
end
|
115
|
+
|
116
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
117
|
+
# @return Array for valid properties with the reasons
|
118
|
+
def list_invalid_properties
|
119
|
+
invalid_properties = Array.new
|
120
|
+
if @character_id.nil?
|
121
|
+
invalid_properties.push("invalid value for 'character_id', character_id cannot be nil.")
|
122
|
+
end
|
123
|
+
|
124
|
+
if @issued_at.nil?
|
125
|
+
invalid_properties.push("invalid value for 'issued_at', issued_at cannot be nil.")
|
126
|
+
end
|
127
|
+
|
128
|
+
if @issuer_id.nil?
|
129
|
+
invalid_properties.push("invalid value for 'issuer_id', issuer_id cannot be nil.")
|
130
|
+
end
|
131
|
+
|
132
|
+
if @medal_id.nil?
|
133
|
+
invalid_properties.push("invalid value for 'medal_id', medal_id cannot be nil.")
|
134
|
+
end
|
135
|
+
|
136
|
+
if @reason.nil?
|
137
|
+
invalid_properties.push("invalid value for 'reason', reason cannot be nil.")
|
138
|
+
end
|
139
|
+
|
140
|
+
if @reason.to_s.length > 1000
|
141
|
+
invalid_properties.push("invalid value for 'reason', the character length must be smaller than or equal to 1000.")
|
142
|
+
end
|
143
|
+
|
144
|
+
if @status.nil?
|
145
|
+
invalid_properties.push("invalid value for 'status', status cannot be nil.")
|
146
|
+
end
|
147
|
+
|
148
|
+
return invalid_properties
|
149
|
+
end
|
150
|
+
|
151
|
+
# Check to see if the all the properties in the model are valid
|
152
|
+
# @return true if the model is valid
|
153
|
+
def valid?
|
154
|
+
return false if @character_id.nil?
|
155
|
+
return false if @issued_at.nil?
|
156
|
+
return false if @issuer_id.nil?
|
157
|
+
return false if @medal_id.nil?
|
158
|
+
return false if @reason.nil?
|
159
|
+
return false if @reason.to_s.length > 1000
|
160
|
+
return false if @status.nil?
|
161
|
+
status_validator = EnumAttributeValidator.new('String', ["private", "public"])
|
162
|
+
return false unless status_validator.valid?(@status)
|
163
|
+
return true
|
164
|
+
end
|
165
|
+
|
166
|
+
# Custom attribute writer method with validation
|
167
|
+
# @param [Object] reason Value to be assigned
|
168
|
+
def reason=(reason)
|
169
|
+
if reason.nil?
|
170
|
+
fail ArgumentError, "reason cannot be nil"
|
171
|
+
end
|
172
|
+
|
173
|
+
if reason.to_s.length > 1000
|
174
|
+
fail ArgumentError, "invalid value for 'reason', the character length must be smaller than or equal to 1000."
|
175
|
+
end
|
176
|
+
|
177
|
+
@reason = reason
|
178
|
+
end
|
179
|
+
|
180
|
+
# Custom attribute writer method checking allowed values (enum).
|
181
|
+
# @param [Object] status Object to be assigned
|
182
|
+
def status=(status)
|
183
|
+
validator = EnumAttributeValidator.new('String', ["private", "public"])
|
184
|
+
unless validator.valid?(status)
|
185
|
+
fail ArgumentError, "invalid value for 'status', must be one of #{validator.allowable_values}."
|
186
|
+
end
|
187
|
+
@status = status
|
188
|
+
end
|
189
|
+
|
190
|
+
# Checks equality by comparing each attribute.
|
191
|
+
# @param [Object] Object to be compared
|
192
|
+
def ==(o)
|
193
|
+
return true if self.equal?(o)
|
194
|
+
self.class == o.class &&
|
195
|
+
character_id == o.character_id &&
|
196
|
+
issued_at == o.issued_at &&
|
197
|
+
issuer_id == o.issuer_id &&
|
198
|
+
medal_id == o.medal_id &&
|
199
|
+
reason == o.reason &&
|
200
|
+
status == o.status
|
201
|
+
end
|
202
|
+
|
203
|
+
# @see the `==` method
|
204
|
+
# @param [Object] Object to be compared
|
205
|
+
def eql?(o)
|
206
|
+
self == o
|
207
|
+
end
|
208
|
+
|
209
|
+
# Calculates hash code according to all attributes.
|
210
|
+
# @return [Fixnum] Hash code
|
211
|
+
def hash
|
212
|
+
[character_id, issued_at, issuer_id, medal_id, reason, status].hash
|
213
|
+
end
|
214
|
+
|
215
|
+
# Builds the object from hash
|
216
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
217
|
+
# @return [Object] Returns the model itself
|
218
|
+
def build_from_hash(attributes)
|
219
|
+
return nil unless attributes.is_a?(Hash)
|
220
|
+
self.class.swagger_types.each_pair do |key, type|
|
221
|
+
if type =~ /\AArray<(.*)>/i
|
222
|
+
# check to ensure the input is an array given that the the attribute
|
223
|
+
# is documented as an array but the input is not
|
224
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
225
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
226
|
+
end
|
227
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
228
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
229
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
230
|
+
end
|
231
|
+
|
232
|
+
self
|
233
|
+
end
|
234
|
+
|
235
|
+
# Deserializes the data based on type
|
236
|
+
# @param string type Data type
|
237
|
+
# @param string value Value to be deserialized
|
238
|
+
# @return [Object] Deserialized data
|
239
|
+
def _deserialize(type, value)
|
240
|
+
case type.to_sym
|
241
|
+
when :DateTime
|
242
|
+
DateTime.parse(value)
|
243
|
+
when :Date
|
244
|
+
Date.parse(value)
|
245
|
+
when :String
|
246
|
+
value.to_s
|
247
|
+
when :Integer
|
248
|
+
value.to_i
|
249
|
+
when :Float
|
250
|
+
value.to_f
|
251
|
+
when :BOOLEAN
|
252
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
253
|
+
true
|
254
|
+
else
|
255
|
+
false
|
256
|
+
end
|
257
|
+
when :Object
|
258
|
+
# generic object (usually a Hash), return directly
|
259
|
+
value
|
260
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
261
|
+
inner_type = Regexp.last_match[:inner_type]
|
262
|
+
value.map { |v| _deserialize(inner_type, v) }
|
263
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
264
|
+
k_type = Regexp.last_match[:k_type]
|
265
|
+
v_type = Regexp.last_match[:v_type]
|
266
|
+
{}.tap do |hash|
|
267
|
+
value.each do |k, v|
|
268
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
269
|
+
end
|
270
|
+
end
|
271
|
+
else # model
|
272
|
+
temp_model = ESI.const_get(type).new
|
273
|
+
temp_model.build_from_hash(value)
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
# Returns the string representation of the object
|
278
|
+
# @return [String] String presentation of the object
|
279
|
+
def to_s
|
280
|
+
to_hash.to_s
|
281
|
+
end
|
282
|
+
|
283
|
+
# to_body is an alias to to_hash (backward compatibility)
|
284
|
+
# @return [Hash] Returns the object in the form of hash
|
285
|
+
def to_body
|
286
|
+
to_hash
|
287
|
+
end
|
288
|
+
|
289
|
+
# Returns the object in the form of hash
|
290
|
+
# @return [Hash] Returns the object in the form of hash
|
291
|
+
def to_hash
|
292
|
+
hash = {}
|
293
|
+
self.class.attribute_map.each_pair do |attr, param|
|
294
|
+
value = self.send(attr)
|
295
|
+
next if value.nil?
|
296
|
+
hash[param] = _to_hash(value)
|
297
|
+
end
|
298
|
+
hash
|
299
|
+
end
|
300
|
+
|
301
|
+
# Outputs non-array value in the form of hash
|
302
|
+
# For object, use to_hash. Otherwise, just return the value
|
303
|
+
# @param [Object] value Any valid value
|
304
|
+
# @return [Hash] Returns the value in the form of hash
|
305
|
+
def _to_hash(value)
|
306
|
+
if value.is_a?(Array)
|
307
|
+
value.compact.map{ |v| _to_hash(v) }
|
308
|
+
elsif value.is_a?(Hash)
|
309
|
+
{}.tap do |hash|
|
310
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
311
|
+
end
|
312
|
+
elsif value.respond_to? :to_hash
|
313
|
+
value.to_hash
|
314
|
+
else
|
315
|
+
value
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
end
|
320
|
+
|
321
|
+
end
|