esi_client 1.3.0 → 1.4.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 +126 -43
- data/bin/regenerate +12 -2
- data/docs/AllianceApi.md +17 -17
- data/docs/AssetsApi.md +37 -37
- data/docs/BookmarksApi.md +28 -24
- data/docs/CalendarApi.md +16 -16
- data/docs/CharacterApi.md +190 -64
- data/docs/ClonesApi.md +10 -10
- data/docs/ContactsApi.md +94 -29
- data/docs/ContractsApi.md +35 -31
- data/docs/CorporationApi.md +680 -162
- data/docs/DogmaApi.md +12 -12
- data/docs/FactionWarfareApi.md +144 -18
- data/docs/FittingsApi.md +17 -16
- data/docs/FleetsApi.md +58 -58
- data/docs/GetAlliancesAllianceIdContacts200Ok.md +11 -0
- data/docs/GetAlliancesAllianceIdIconsOk.md +1 -1
- data/docs/GetAlliancesAllianceIdNotFound.md +1 -1
- data/docs/GetAlliancesAllianceIdOk.md +6 -3
- data/docs/GetCharactersCharacterIdAgentsResearch200Ok.md +2 -2
- data/docs/GetCharactersCharacterIdAssets200Ok.md +5 -5
- data/docs/GetCharactersCharacterIdAttributesOk.md +3 -3
- data/docs/GetCharactersCharacterIdBlueprints200Ok.md +4 -4
- data/docs/GetCharactersCharacterIdBookmarks200Ok.md +7 -6
- data/docs/GetCharactersCharacterIdBookmarksFolders200Ok.md +2 -3
- data/docs/GetCharactersCharacterIdCalendar200Ok.md +3 -3
- data/docs/GetCharactersCharacterIdCalendarEventIdOk.md +5 -5
- data/docs/GetCharactersCharacterIdChatChannels200Ok.md +5 -5
- data/docs/GetCharactersCharacterIdChatChannelsBlocked.md +1 -1
- data/docs/GetCharactersCharacterIdChatChannelsMuted.md +1 -1
- data/docs/GetCharactersCharacterIdClonesJumpClone.md +5 -3
- data/docs/GetCharactersCharacterIdClonesOk.md +2 -1
- data/docs/GetCharactersCharacterIdContacts200Ok.md +3 -3
- data/docs/GetCharactersCharacterIdContracts200Ok.md +15 -15
- data/docs/GetCharactersCharacterIdContractsContractIdBids200Ok.md +1 -1
- data/docs/GetCharactersCharacterIdContractsContractIdItems200Ok.md +4 -4
- data/docs/GetCharactersCharacterIdCorporationhistory200Ok.md +1 -1
- data/docs/GetCharactersCharacterIdFatigueOk.md +1 -1
- data/docs/GetCharactersCharacterIdFittings200Ok.md +2 -2
- data/docs/GetCharactersCharacterIdFittingsItem.md +1 -1
- data/docs/GetCharactersCharacterIdFleetOk.md +2 -2
- data/docs/GetCharactersCharacterIdFwStatsKills.md +10 -0
- data/docs/GetCharactersCharacterIdFwStatsOk.md +13 -0
- data/docs/GetCharactersCharacterIdFwStatsVictoryPoints.md +10 -0
- data/docs/GetCharactersCharacterIdIndustryJobs200Ok.md +13 -13
- data/docs/GetCharactersCharacterIdKillmailsRecent200Ok.md +1 -1
- data/docs/GetCharactersCharacterIdMail200Ok.md +4 -4
- data/docs/GetCharactersCharacterIdMailLabelsLabel.md +2 -2
- data/docs/GetCharactersCharacterIdMailLabelsOk.md +1 -1
- data/docs/GetCharactersCharacterIdMailMailIdOk.md +4 -4
- data/docs/GetCharactersCharacterIdMailMailIdRecipient.md +1 -1
- data/docs/GetCharactersCharacterIdMailRecipient.md +1 -1
- data/docs/GetCharactersCharacterIdMedals200Ok.md +5 -5
- data/docs/GetCharactersCharacterIdMedalsGraphic.md +3 -3
- data/docs/GetCharactersCharacterIdMining200Ok.md +11 -0
- data/docs/GetCharactersCharacterIdNotifications200Ok.md +2 -2
- data/docs/GetCharactersCharacterIdNotificationsContacts200Ok.md +2 -2
- data/docs/GetCharactersCharacterIdOk.md +6 -5
- data/docs/GetCharactersCharacterIdOnlineOk.md +11 -0
- data/docs/GetCharactersCharacterIdOpportunities200Ok.md +1 -1
- data/docs/GetCharactersCharacterIdOrders200Ok.md +13 -13
- data/docs/GetCharactersCharacterIdOrdersHistory200Ok.md +22 -0
- data/docs/GetCharactersCharacterIdPlanets200Ok.md +5 -5
- data/docs/GetCharactersCharacterIdPlanetsPlanetIdContent.md +1 -1
- data/docs/GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails.md +2 -2
- data/docs/GetCharactersCharacterIdPlanetsPlanetIdLink.md +1 -1
- data/docs/GetCharactersCharacterIdPlanetsPlanetIdPin.md +7 -7
- data/docs/GetCharactersCharacterIdPlanetsPlanetIdRoute.md +3 -3
- data/docs/GetCharactersCharacterIdPortraitOk.md +1 -1
- data/docs/GetCharactersCharacterIdRolesOk.md +11 -0
- data/docs/GetCharactersCharacterIdSearchOk.md +2 -3
- data/docs/GetCharactersCharacterIdShipOk.md +1 -1
- data/docs/GetCharactersCharacterIdSkillqueue200Ok.md +4 -4
- 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 +7 -7
- data/docs/GetCharactersCharacterIdWalletJournalExtraInfo.md +8 -8
- data/docs/GetCharactersCharacterIdWalletTransactions200Ok.md +6 -6
- data/docs/GetCorporationCorporationIdMiningExtractions200Ok.md +12 -0
- data/docs/GetCorporationCorporationIdMiningObservers200Ok.md +10 -0
- data/docs/GetCorporationCorporationIdMiningObserversObserverId200Ok.md +12 -0
- data/docs/GetCorporationsCorporationIdAlliancehistory200Ok.md +1 -1
- data/docs/GetCorporationsCorporationIdAssets200Ok.md +5 -5
- data/docs/GetCorporationsCorporationIdBlueprints200Ok.md +4 -4
- data/docs/GetCorporationsCorporationIdBookmarks200Ok.md +4 -4
- data/docs/GetCorporationsCorporationIdBookmarksFolders200Ok.md +1 -1
- data/docs/GetCorporationsCorporationIdContacts200Ok.md +2 -2
- data/docs/GetCorporationsCorporationIdContainersLogs200Ok.md +7 -7
- data/docs/GetCorporationsCorporationIdContracts200Ok.md +15 -15
- data/docs/GetCorporationsCorporationIdContractsContractIdBids200Ok.md +1 -1
- data/docs/GetCorporationsCorporationIdContractsContractIdItems200Ok.md +4 -4
- data/docs/GetCorporationsCorporationIdCustomsOffices200Ok.md +21 -0
- 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/GetCorporationsCorporationIdIconsOk.md +1 -1
- data/docs/GetCorporationsCorporationIdIndustryJobs200Ok.md +13 -13
- data/docs/GetCorporationsCorporationIdKillmailsRecent200Ok.md +1 -1
- data/docs/GetCorporationsCorporationIdMedals200Ok.md +12 -0
- data/docs/GetCorporationsCorporationIdMedalsIssued200Ok.md +13 -0
- data/docs/GetCorporationsCorporationIdMembersTitles200Ok.md +9 -0
- data/docs/GetCorporationsCorporationIdMembertracking200Ok.md +4 -4
- data/docs/GetCorporationsCorporationIdOk.md +11 -9
- data/docs/GetCorporationsCorporationIdOrders200Ok.md +12 -12
- data/docs/GetCorporationsCorporationIdOrdersHistory200Ok.md +22 -0
- data/docs/GetCorporationsCorporationIdOutpostsOutpostIdCoordinates.md +10 -0
- data/docs/GetCorporationsCorporationIdOutpostsOutpostIdOk.md +17 -0
- data/docs/GetCorporationsCorporationIdOutpostsOutpostIdService.md +11 -0
- data/docs/GetCorporationsCorporationIdRoles200Ok.md +4 -4
- data/docs/GetCorporationsCorporationIdRolesHistory200Ok.md +13 -0
- data/docs/GetCorporationsCorporationIdShareholders200Ok.md +1 -1
- data/docs/GetCorporationsCorporationIdStarbases200Ok.md +15 -0
- data/docs/GetCorporationsCorporationIdStarbasesStarbaseIdFuel.md +9 -0
- data/docs/GetCorporationsCorporationIdStarbasesStarbaseIdOk.md +21 -0
- data/docs/GetCorporationsCorporationIdStructures200Ok.md +13 -9
- data/docs/GetCorporationsCorporationIdTitles200Ok.md +6 -6
- data/docs/GetCorporationsCorporationIdWallets200Ok.md +1 -1
- data/docs/GetCorporationsCorporationIdWalletsDivisionJournal200Ok.md +7 -7
- data/docs/GetCorporationsCorporationIdWalletsDivisionJournalExtraInfo.md +8 -8
- data/docs/GetCorporationsCorporationIdWalletsDivisionTransactions200Ok.md +6 -6
- data/docs/GetDogmaAttributesAttributeIdOk.md +5 -5
- data/docs/GetDogmaEffectsEffectIdModifier.md +2 -2
- data/docs/GetDogmaEffectsEffectIdOk.md +15 -15
- data/docs/GetFleetsFleetIdMembers200Ok.md +5 -5
- data/docs/GetFleetsFleetIdOk.md +1 -1
- data/docs/GetFleetsFleetIdWings200Ok.md +1 -1
- data/docs/GetFleetsFleetIdWingsSquad.md +1 -1
- data/docs/GetFwLeaderboardsActiveTotal.md +1 -1
- data/docs/GetFwLeaderboardsActiveTotal1.md +1 -1
- data/docs/GetFwLeaderboardsCharactersActiveTotal.md +1 -1
- data/docs/GetFwLeaderboardsCharactersActiveTotal1.md +1 -1
- data/docs/GetFwLeaderboardsCharactersKills.md +2 -2
- data/docs/GetFwLeaderboardsCharactersLastWeek.md +1 -1
- data/docs/GetFwLeaderboardsCharactersLastWeek1.md +1 -1
- data/docs/GetFwLeaderboardsCharactersOk.md +2 -2
- data/docs/GetFwLeaderboardsCharactersVictoryPoints.md +2 -2
- data/docs/GetFwLeaderboardsCharactersYesterday.md +1 -1
- data/docs/GetFwLeaderboardsCharactersYesterday1.md +1 -1
- data/docs/GetFwLeaderboardsCorporationsActiveTotal.md +1 -1
- data/docs/GetFwLeaderboardsCorporationsActiveTotal1.md +1 -1
- data/docs/GetFwLeaderboardsCorporationsKills.md +2 -2
- data/docs/GetFwLeaderboardsCorporationsLastWeek.md +1 -1
- data/docs/GetFwLeaderboardsCorporationsLastWeek1.md +1 -1
- data/docs/GetFwLeaderboardsCorporationsOk.md +2 -2
- data/docs/GetFwLeaderboardsCorporationsVictoryPoints.md +2 -2
- data/docs/GetFwLeaderboardsCorporationsYesterday.md +1 -1
- data/docs/GetFwLeaderboardsCorporationsYesterday1.md +1 -1
- data/docs/GetFwLeaderboardsKills.md +2 -2
- data/docs/GetFwLeaderboardsLastWeek.md +1 -1
- data/docs/GetFwLeaderboardsLastWeek1.md +1 -1
- data/docs/GetFwLeaderboardsOk.md +2 -2
- data/docs/GetFwLeaderboardsVictoryPoints.md +2 -2
- data/docs/GetFwLeaderboardsYesterday.md +1 -1
- data/docs/GetFwLeaderboardsYesterday1.md +1 -1
- data/docs/GetFwStats200Ok.md +2 -2
- data/docs/GetFwStatsKills.md +1 -1
- data/docs/GetFwStatsVictoryPoints.md +1 -1
- data/docs/GetFwSystems200Ok.md +3 -3
- data/docs/GetFwWars200Ok.md +1 -1
- data/docs/GetIncursions200Ok.md +6 -6
- data/docs/GetIndustryFacilities200Ok.md +3 -3
- data/docs/GetIndustrySystems200Ok.md +1 -1
- data/docs/GetInsurancePrices200Ok.md +1 -1
- data/docs/GetInsurancePricesLevel.md +1 -1
- data/docs/GetKillmailsKillmailIdKillmailHashAttacker.md +3 -3
- data/docs/GetKillmailsKillmailIdKillmailHashItem.md +1 -1
- data/docs/GetKillmailsKillmailIdKillmailHashItem1.md +2 -2
- data/docs/GetKillmailsKillmailIdKillmailHashOk.md +3 -3
- data/docs/GetKillmailsKillmailIdKillmailHashVictim.md +3 -3
- data/docs/GetLoyaltyStoresCorporationIdOffers200Ok.md +4 -3
- data/docs/GetLoyaltyStoresCorporationIdOffersNotFound.md +8 -0
- data/docs/GetLoyaltyStoresCorporationIdOffersRequiredItem.md +1 -1
- data/docs/GetMarketsGroupsMarketGroupIdOk.md +2 -2
- data/docs/GetMarketsPrices200Ok.md +2 -2
- data/docs/GetMarketsRegionIdHistory200Ok.md +3 -3
- data/docs/GetMarketsRegionIdOrders200Ok.md +7 -7
- data/docs/GetMarketsStructuresStructureId200Ok.md +7 -7
- data/docs/GetOpportunitiesGroupsGroupIdOk.md +2 -2
- data/docs/GetOpportunitiesTasksTaskIdOk.md +2 -2
- data/docs/GetSearchOk.md +2 -3
- data/docs/GetSovereigntyCampaigns200Ok.md +5 -5
- data/docs/GetSovereigntyMap200Ok.md +1 -1
- data/docs/GetSovereigntyStructures200Ok.md +1 -1
- data/docs/GetStatusOk.md +1 -1
- data/docs/GetUniverseAncestries200Ok.md +13 -0
- data/docs/GetUniverseBloodlines200Ok.md +6 -6
- data/docs/GetUniverseCategoriesCategoryIdOk.md +1 -1
- data/docs/GetUniverseConstellationsConstellationIdOk.md +1 -1
- data/docs/GetUniverseFactions200Ok.md +5 -5
- data/docs/GetUniverseGraphicsGraphicIdOk.md +5 -5
- data/docs/GetUniverseGroupsGroupIdOk.md +1 -1
- data/docs/GetUniverseMoonsMoonIdOk.md +1 -1
- data/docs/GetUniversePlanetsPlanetIdOk.md +3 -3
- data/docs/GetUniverseRaces200Ok.md +3 -3
- data/docs/GetUniverseRegionsRegionIdOk.md +3 -3
- data/docs/GetUniverseSchematicsSchematicIdOk.md +1 -1
- data/docs/GetUniverseStargatesStargateIdDestination.md +1 -1
- data/docs/GetUniverseStargatesStargateIdOk.md +4 -4
- data/docs/GetUniverseStarsStarIdOk.md +3 -3
- data/docs/GetUniverseStationsStationIdOk.md +6 -6
- data/docs/GetUniverseStructuresStructureIdOk.md +1 -1
- data/docs/GetUniverseSystemJumps200Ok.md +1 -1
- data/docs/GetUniverseSystemKills200Ok.md +2 -2
- data/docs/GetUniverseSystemsSystemIdOk.md +6 -6
- data/docs/GetUniverseSystemsSystemIdPlanet.md +1 -1
- data/docs/GetUniverseTypesTypeIdOk.md +11 -11
- data/docs/GetWarsWarIdAggressor.md +2 -2
- data/docs/GetWarsWarIdAlly.md +1 -1
- data/docs/GetWarsWarIdDefender.md +2 -2
- data/docs/GetWarsWarIdKillmails200Ok.md +1 -1
- data/docs/GetWarsWarIdOk.md +6 -6
- data/docs/IncursionsApi.md +3 -3
- data/docs/IndustryApi.md +278 -17
- data/docs/InsuranceApi.md +4 -4
- data/docs/KillmailsApi.md +16 -16
- data/docs/LocationApi.md +15 -15
- data/docs/LoyaltyApi.md +9 -9
- data/docs/MailApi.md +41 -40
- data/docs/MarketApi.md +172 -42
- data/docs/OpportunitiesApi.md +17 -17
- data/docs/PlanetaryInteractionApi.md +76 -11
- data/docs/PostCharactersAffiliation200Ok.md +1 -1
- data/docs/PostCharactersCharacterIdAssetsLocations200Ok.md +1 -3
- data/docs/PostCharactersCharacterIdAssetsLocationsPosition.md +10 -0
- data/docs/PostCharactersCharacterIdFittingsFitting.md +2 -2
- data/docs/PostCharactersCharacterIdFittingsItem.md +1 -1
- data/docs/PostCharactersCharacterIdMailLabelsLabel.md +1 -1
- data/docs/PostCharactersCharacterIdMailMail.md +2 -2
- data/docs/PostCharactersCharacterIdMailRecipient.md +1 -1
- data/docs/PostCorporationsCorporationIdAssetsLocations200Ok.md +1 -3
- data/docs/PostCorporationsCorporationIdAssetsLocationsPosition.md +10 -0
- data/docs/PostFleetsFleetIdMembersInvitation.md +1 -1
- data/docs/PostUiOpenwindowNewmailNewMail.md +2 -2
- 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/PostUniverseIdsServiceUnavailable.md +8 -0
- data/docs/PostUniverseIdsStation.md +9 -0
- data/docs/PostUniverseIdsSystem.md +9 -0
- data/docs/PostUniverseNames200Ok.md +1 -1
- data/docs/PutCharactersCharacterIdMailMailIdContents.md +1 -1
- data/docs/PutFleetsFleetIdMembersMemberIdMovement.md +1 -1
- data/docs/PutFleetsFleetIdNewSettings.md +1 -1
- data/docs/RoutesApi.md +4 -4
- data/docs/SearchApi.md +15 -15
- data/docs/SkillsApi.md +13 -13
- data/docs/SovereigntyApi.md +9 -9
- data/docs/StatusApi.md +3 -3
- data/docs/UniverseApi.md +205 -92
- data/docs/UserInterfaceApi.md +20 -20
- data/docs/WalletApi.md +35 -35
- data/docs/WarsApi.md +9 -9
- data/esi_client-1.3.0.gem +0 -0
- data/git_push.sh +1 -1
- data/lib/esi_client.rb +59 -9
- data/lib/esi_client/api/alliance_api.rb +30 -23
- data/lib/esi_client/api/assets_api.rb +51 -33
- data/lib/esi_client/api/bookmarks_api.rb +41 -23
- data/lib/esi_client/api/calendar_api.rb +31 -19
- data/lib/esi_client/api/character_api.rb +249 -70
- data/lib/esi_client/api/clones_api.rb +19 -13
- data/lib/esi_client/api/contacts_api.rb +128 -27
- data/lib/esi_client/api/contracts_api.rb +53 -29
- data/lib/esi_client/api/corporation_api.rb +897 -263
- data/lib/esi_client/api/dogma_api.rb +15 -19
- data/lib/esi_client/api/faction_warfare_api.rb +162 -26
- data/lib/esi_client/api/fittings_api.rb +34 -21
- data/lib/esi_client/api/fleets_api.rb +49 -59
- data/lib/esi_client/api/incursions_api.rb +6 -7
- data/lib/esi_client/api/industry_api.rb +323 -20
- data/lib/esi_client/api/insurance_api.rb +6 -7
- data/lib/esi_client/api/killmails_api.rb +24 -19
- data/lib/esi_client/api/location_api.rb +27 -18
- data/lib/esi_client/api/loyalty_api.rb +17 -11
- data/lib/esi_client/api/mail_api.rb +76 -45
- data/lib/esi_client/api/market_api.rb +192 -45
- data/lib/esi_client/api/opportunities_api.rb +22 -23
- data/lib/esi_client/api/planetary_interaction_api.rb +93 -14
- data/lib/esi_client/api/routes_api.rb +6 -7
- data/lib/esi_client/api/search_api.rb +15 -13
- data/lib/esi_client/api/skills_api.rb +24 -15
- data/lib/esi_client/api/sovereignty_api.rb +12 -15
- data/lib/esi_client/api/status_api.rb +6 -7
- data/lib/esi_client/api/universe_api.rb +216 -109
- data/lib/esi_client/api/user_interface_api.rb +18 -23
- data/lib/esi_client/api/wallet_api.rb +51 -33
- data/lib/esi_client/api/wars_api.rb +12 -15
- data/lib/esi_client/api_client.rb +10 -10
- data/lib/esi_client/api_error.rb +2 -2
- data/lib/esi_client/configuration.rb +3 -3
- data/lib/esi_client/models/delete_characters_character_id_mail_labels_label_id_unprocessable_entity.rb +8 -12
- data/lib/esi_client/models/delete_fleets_fleet_id_members_member_id_not_found.rb +8 -12
- data/lib/esi_client/models/delete_fleets_fleet_id_squads_squad_id_not_found.rb +8 -12
- data/lib/esi_client/models/delete_fleets_fleet_id_wings_wing_id_not_found.rb +8 -12
- data/lib/esi_client/models/forbidden.rb +9 -13
- data/lib/esi_client/models/get_alliances_alliance_id_contacts_200_ok.rb +264 -0
- data/lib/esi_client/models/get_alliances_alliance_id_icons_not_found.rb +8 -12
- data/lib/esi_client/models/get_alliances_alliance_id_icons_ok.rb +20 -24
- data/lib/esi_client/models/get_alliances_alliance_id_not_found.rb +10 -14
- data/lib/esi_client/models/get_alliances_alliance_id_ok.rb +74 -38
- data/lib/esi_client/models/get_alliances_names_200_ok.rb +10 -14
- data/lib/esi_client/models/get_characters_character_id_agents_research_200_ok.rb +41 -45
- data/lib/esi_client/models/get_characters_character_id_assets_200_ok.rb +82 -80
- data/lib/esi_client/models/get_characters_character_id_attributes_ok.rb +45 -49
- data/lib/esi_client/models/get_characters_character_id_blueprints_200_ok.rb +111 -114
- data/lib/esi_client/models/get_characters_character_id_bookmarks_200_ok.rb +76 -71
- data/lib/esi_client/models/get_characters_character_id_bookmarks_coordinates.rb +12 -16
- data/lib/esi_client/models/get_characters_character_id_bookmarks_folders_200_ok.rb +22 -26
- data/lib/esi_client/models/get_characters_character_id_bookmarks_item.rb +11 -15
- data/lib/esi_client/models/get_characters_character_id_calendar_200_ok.rb +36 -39
- data/lib/esi_client/models/get_characters_character_id_calendar_event_id_attendees_200_ok.rb +11 -14
- data/lib/esi_client/models/get_characters_character_id_calendar_event_id_ok.rb +80 -83
- data/lib/esi_client/models/get_characters_character_id_chat_channels_200_ok.rb +76 -80
- data/lib/esi_client/models/get_characters_character_id_chat_channels_allowed.rb +13 -16
- data/lib/esi_client/models/get_characters_character_id_chat_channels_blocked.rb +26 -29
- data/lib/esi_client/models/get_characters_character_id_chat_channels_muted.rb +26 -29
- data/lib/esi_client/models/get_characters_character_id_chat_channels_operator.rb +13 -16
- data/lib/esi_client/models/get_characters_character_id_clones_home_location.rb +11 -14
- data/lib/esi_client/models/get_characters_character_id_clones_jump_clone.rb +63 -26
- data/lib/esi_client/models/get_characters_character_id_clones_ok.rb +33 -27
- data/lib/esi_client/models/get_characters_character_id_contacts_200_ok.rb +46 -49
- data/lib/esi_client/models/get_characters_character_id_contacts_labels_200_ok.rb +10 -14
- data/lib/esi_client/models/get_characters_character_id_contracts_200_ok.rb +180 -183
- data/lib/esi_client/models/get_characters_character_id_contracts_contract_id_bids_200_ok.rb +28 -32
- data/lib/esi_client/models/get_characters_character_id_contracts_contract_id_items_200_ok.rb +49 -53
- data/lib/esi_client/models/get_characters_character_id_corporationhistory_200_ok.rb +29 -33
- data/lib/esi_client/models/get_characters_character_id_fatigue_ok.rb +19 -23
- data/lib/esi_client/models/get_characters_character_id_fittings_200_ok.rb +44 -48
- data/lib/esi_client/models/get_characters_character_id_fittings_item.rb +29 -33
- data/lib/esi_client/models/get_characters_character_id_fleet_not_found.rb +8 -12
- data/lib/esi_client/models/get_characters_character_id_fleet_ok.rb +34 -37
- data/lib/esi_client/models/get_characters_character_id_fw_stats_kills.rb +220 -0
- data/lib/esi_client/models/get_characters_character_id_fw_stats_ok.rb +291 -0
- data/lib/esi_client/models/get_characters_character_id_fw_stats_victory_points.rb +220 -0
- data/lib/esi_client/models/get_characters_character_id_industry_jobs_200_ok.rb +161 -164
- data/lib/esi_client/models/get_characters_character_id_killmails_recent_200_ok.rb +25 -29
- data/lib/esi_client/models/get_characters_character_id_location_ok.rb +9 -13
- data/lib/esi_client/models/get_characters_character_id_loyalty_points_200_ok.rb +10 -14
- data/lib/esi_client/models/get_characters_character_id_mail_200_ok.rb +43 -47
- data/lib/esi_client/models/get_characters_character_id_mail_labels_label.rb +50 -56
- data/lib/esi_client/models/get_characters_character_id_mail_labels_ok.rb +23 -28
- data/lib/esi_client/models/get_characters_character_id_mail_lists_200_ok.rb +10 -14
- data/lib/esi_client/models/get_characters_character_id_mail_mail_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_characters_character_id_mail_mail_id_ok.rb +47 -51
- data/lib/esi_client/models/get_characters_character_id_mail_mail_id_recipient.rb +29 -32
- data/lib/esi_client/models/get_characters_character_id_mail_recipient.rb +29 -32
- data/lib/esi_client/models/get_characters_character_id_medals_200_ok.rb +68 -71
- data/lib/esi_client/models/get_characters_character_id_medals_graphic.rb +38 -42
- data/lib/esi_client/models/get_characters_character_id_mining_200_ok.rb +235 -0
- data/lib/esi_client/models/get_characters_character_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_characters_character_id_notifications_200_ok.rb +40 -43
- data/lib/esi_client/models/get_characters_character_id_notifications_contacts_200_ok.rb +42 -46
- data/lib/esi_client/models/get_characters_character_id_ok.rb +90 -84
- data/lib/esi_client/models/get_characters_character_id_online_ok.rb +220 -0
- data/lib/esi_client/models/get_characters_character_id_opportunities_200_ok.rb +25 -29
- data/lib/esi_client/models/get_characters_character_id_orders_200_ok.rb +159 -162
- data/lib/esi_client/models/get_characters_character_id_orders_history_200_ok.rb +431 -0
- data/lib/esi_client/models/get_characters_character_id_planets_200_ok.rb +101 -104
- data/lib/esi_client/models/get_characters_character_id_planets_planet_id_content.rb +25 -29
- data/lib/esi_client/models/get_characters_character_id_planets_planet_id_extractor_details.rb +30 -34
- data/lib/esi_client/models/get_characters_character_id_planets_planet_id_factory_details.rb +9 -13
- data/lib/esi_client/models/get_characters_character_id_planets_planet_id_head.rb +16 -20
- data/lib/esi_client/models/get_characters_character_id_planets_planet_id_link.rb +34 -38
- data/lib/esi_client/models/get_characters_character_id_planets_planet_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_characters_character_id_planets_planet_id_ok.rb +11 -15
- data/lib/esi_client/models/get_characters_character_id_planets_planet_id_pin.rb +75 -79
- data/lib/esi_client/models/get_characters_character_id_planets_planet_id_route.rb +49 -53
- data/lib/esi_client/models/get_characters_character_id_portrait_not_found.rb +8 -12
- data/lib/esi_client/models/get_characters_character_id_portrait_ok.rb +22 -26
- data/lib/esi_client/models/get_characters_character_id_roles_ok.rb +245 -0
- data/lib/esi_client/models/get_characters_character_id_search_ok.rb +28 -44
- data/lib/esi_client/models/get_characters_character_id_ship_ok.rb +29 -33
- data/lib/esi_client/models/get_characters_character_id_skillqueue_200_ok.rb +61 -65
- data/lib/esi_client/models/get_characters_character_id_skills_ok.rb +30 -14
- data/lib/esi_client/models/get_characters_character_id_skills_skill.rb +50 -24
- data/lib/esi_client/models/get_characters_character_id_standings_200_ok.rb +19 -22
- data/lib/esi_client/models/get_characters_character_id_stats_200_ok.rb +298 -0
- data/lib/esi_client/models/get_characters_character_id_stats_character.rb +205 -0
- data/lib/esi_client/models/get_characters_character_id_stats_combat.rb +1115 -0
- data/lib/esi_client/models/get_characters_character_id_stats_industry.rb +535 -0
- data/lib/esi_client/models/get_characters_character_id_stats_inventory.rb +195 -0
- data/lib/esi_client/models/get_characters_character_id_stats_isk.rb +195 -0
- data/lib/esi_client/models/get_characters_character_id_stats_market.rb +305 -0
- data/lib/esi_client/models/get_characters_character_id_stats_mining.rb +365 -0
- data/lib/esi_client/models/get_characters_character_id_stats_module.rb +865 -0
- data/lib/esi_client/models/get_characters_character_id_stats_orbital.rb +205 -0
- data/lib/esi_client/models/get_characters_character_id_stats_pve.rb +215 -0
- data/lib/esi_client/models/get_characters_character_id_stats_social.rb +425 -0
- data/lib/esi_client/models/get_characters_character_id_stats_travel.rb +385 -0
- data/lib/esi_client/models/get_characters_character_id_titles_200_ok.rb +195 -0
- data/lib/esi_client/models/get_characters_character_id_wallet_journal_200_ok.rb +91 -94
- data/lib/esi_client/models/get_characters_character_id_wallet_journal_extra_info.rb +73 -77
- data/lib/esi_client/models/get_characters_character_id_wallet_transactions_200_ok.rb +87 -91
- data/lib/esi_client/models/get_characters_names_200_ok.rb +10 -14
- data/lib/esi_client/models/get_corporation_corporation_id_mining_extractions_200_ok.rb +250 -0
- data/lib/esi_client/models/get_corporation_corporation_id_mining_observers_200_ok.rb +254 -0
- data/lib/esi_client/models/get_corporation_corporation_id_mining_observers_observer_id_200_ok.rb +250 -0
- data/lib/esi_client/models/get_corporations_corporation_id_alliancehistory_200_ok.rb +27 -31
- data/lib/esi_client/models/get_corporations_corporation_id_assets_200_ok.rb +82 -80
- data/lib/esi_client/models/get_corporations_corporation_id_blueprints_200_ok.rb +117 -120
- data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_200_ok.rb +51 -55
- data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_coordinates.rb +11 -15
- data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_folders_200_ok.rb +22 -26
- data/lib/esi_client/models/get_corporations_corporation_id_bookmarks_item.rb +10 -14
- data/lib/esi_client/models/get_corporations_corporation_id_contacts_200_ok.rb +39 -42
- data/lib/esi_client/models/get_corporations_corporation_id_containers_logs_200_ok.rb +102 -105
- data/lib/esi_client/models/get_corporations_corporation_id_contracts_200_ok.rb +180 -183
- data/lib/esi_client/models/get_corporations_corporation_id_contracts_contract_id_bids_200_ok.rb +28 -32
- data/lib/esi_client/models/get_corporations_corporation_id_contracts_contract_id_items_200_ok.rb +49 -53
- data/lib/esi_client/models/get_corporations_corporation_id_customs_offices_200_ok.rb +435 -0
- data/lib/esi_client/models/get_corporations_corporation_id_divisions_hangar.rb +14 -20
- data/lib/esi_client/models/get_corporations_corporation_id_divisions_ok.rb +8 -12
- data/lib/esi_client/models/get_corporations_corporation_id_divisions_wallet.rb +14 -20
- data/lib/esi_client/models/get_corporations_corporation_id_facilities_200_ok.rb +220 -0
- data/lib/esi_client/models/get_corporations_corporation_id_fw_stats_kills.rb +220 -0
- data/lib/esi_client/models/get_corporations_corporation_id_fw_stats_ok.rb +233 -0
- data/lib/esi_client/models/get_corporations_corporation_id_fw_stats_victory_points.rb +220 -0
- data/lib/esi_client/models/get_corporations_corporation_id_icons_not_found.rb +8 -12
- data/lib/esi_client/models/get_corporations_corporation_id_icons_ok.rb +22 -26
- data/lib/esi_client/models/get_corporations_corporation_id_industry_jobs_200_ok.rb +163 -166
- data/lib/esi_client/models/get_corporations_corporation_id_killmails_recent_200_ok.rb +25 -29
- data/lib/esi_client/models/get_corporations_corporation_id_medals_200_ok.rb +288 -0
- data/lib/esi_client/models/get_corporations_corporation_id_medals_issued_200_ok.rb +318 -0
- data/lib/esi_client/models/get_corporations_corporation_id_members_titles_200_ok.rb +207 -0
- data/lib/esi_client/models/get_corporations_corporation_id_membertracking_200_ok.rb +46 -50
- data/lib/esi_client/models/get_corporations_corporation_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_corporations_corporation_id_ok.rb +114 -141
- data/lib/esi_client/models/get_corporations_corporation_id_orders_200_ok.rb +149 -152
- data/lib/esi_client/models/get_corporations_corporation_id_orders_history_200_ok.rb +459 -0
- data/lib/esi_client/models/get_corporations_corporation_id_outposts_outpost_id_coordinates.rb +220 -0
- data/lib/esi_client/models/get_corporations_corporation_id_outposts_outpost_id_ok.rb +326 -0
- data/lib/esi_client/models/get_corporations_corporation_id_outposts_outpost_id_service.rb +269 -0
- data/lib/esi_client/models/get_corporations_corporation_id_roles_200_ok.rb +52 -55
- data/lib/esi_client/models/get_corporations_corporation_id_roles_history_200_ok.rb +303 -0
- data/lib/esi_client/models/get_corporations_corporation_id_shareholders_200_ok.rb +31 -34
- data/lib/esi_client/models/get_corporations_corporation_id_standings_200_ok.rb +19 -22
- data/lib/esi_client/models/get_corporations_corporation_id_starbases_200_ok.rb +304 -0
- data/lib/esi_client/models/get_corporations_corporation_id_starbases_starbase_id_fuel.rb +205 -0
- data/lib/esi_client/models/get_corporations_corporation_id_starbases_starbase_id_ok.rb +466 -0
- data/lib/esi_client/models/get_corporations_corporation_id_structures_200_ok.rb +269 -94
- data/lib/esi_client/models/get_corporations_corporation_id_structures_service.rb +13 -16
- data/lib/esi_client/models/get_corporations_corporation_id_titles_200_ok.rb +66 -69
- data/lib/esi_client/models/get_corporations_corporation_id_wallets_200_ok.rb +31 -35
- data/lib/esi_client/models/get_corporations_corporation_id_wallets_division_journal_200_ok.rb +91 -94
- data/lib/esi_client/models/get_corporations_corporation_id_wallets_division_journal_extra_info.rb +73 -77
- data/lib/esi_client/models/get_corporations_corporation_id_wallets_division_transactions_200_ok.rb +76 -80
- data/lib/esi_client/models/get_corporations_names_200_ok.rb +10 -14
- data/lib/esi_client/models/get_dogma_attributes_attribute_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_dogma_attributes_attribute_id_ok.rb +49 -53
- data/lib/esi_client/models/get_dogma_effects_effect_id_modifier.rb +30 -34
- data/lib/esi_client/models/get_dogma_effects_effect_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_dogma_effects_effect_id_ok.rb +130 -134
- data/lib/esi_client/models/get_fleets_fleet_id_members_200_ok.rb +80 -83
- data/lib/esi_client/models/get_fleets_fleet_id_members_not_found.rb +8 -12
- data/lib/esi_client/models/get_fleets_fleet_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_fleets_fleet_id_ok.rb +30 -34
- data/lib/esi_client/models/get_fleets_fleet_id_wings_200_ok.rb +25 -29
- data/lib/esi_client/models/get_fleets_fleet_id_wings_not_found.rb +8 -12
- data/lib/esi_client/models/get_fleets_fleet_id_wings_squad.rb +25 -29
- data/lib/esi_client/models/get_fw_leaderboards_active_total.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_active_total_1.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_characters_active_total.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_characters_active_total_1.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_characters_kills.rb +32 -36
- data/lib/esi_client/models/get_fw_leaderboards_characters_last_week.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_characters_last_week_1.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_characters_ok.rb +18 -12
- data/lib/esi_client/models/get_fw_leaderboards_characters_victory_points.rb +32 -36
- data/lib/esi_client/models/get_fw_leaderboards_characters_yesterday.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_characters_yesterday_1.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_corporations_active_total.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_corporations_active_total_1.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_corporations_kills.rb +32 -36
- data/lib/esi_client/models/get_fw_leaderboards_corporations_last_week.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_corporations_last_week_1.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_corporations_ok.rb +18 -12
- data/lib/esi_client/models/get_fw_leaderboards_corporations_victory_points.rb +32 -36
- data/lib/esi_client/models/get_fw_leaderboards_corporations_yesterday.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_corporations_yesterday_1.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_kills.rb +32 -36
- data/lib/esi_client/models/get_fw_leaderboards_last_week.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_last_week_1.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_ok.rb +18 -12
- data/lib/esi_client/models/get_fw_leaderboards_victory_points.rb +32 -36
- data/lib/esi_client/models/get_fw_leaderboards_yesterday.rb +20 -24
- data/lib/esi_client/models/get_fw_leaderboards_yesterday_1.rb +20 -24
- data/lib/esi_client/models/get_fw_stats_200_ok.rb +31 -25
- data/lib/esi_client/models/get_fw_stats_kills.rb +29 -33
- data/lib/esi_client/models/get_fw_stats_victory_points.rb +29 -33
- data/lib/esi_client/models/get_fw_systems_200_ok.rb +48 -52
- data/lib/esi_client/models/get_fw_wars_200_ok.rb +25 -29
- data/lib/esi_client/models/get_incursions_200_ok.rb +82 -85
- data/lib/esi_client/models/get_industry_facilities_200_ok.rb +42 -46
- data/lib/esi_client/models/get_industry_systems_200_ok.rb +26 -30
- data/lib/esi_client/models/get_industry_systems_cost_indice.rb +13 -16
- data/lib/esi_client/models/get_insurance_prices_200_ok.rb +26 -30
- data/lib/esi_client/models/get_insurance_prices_level.rb +26 -30
- data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_attacker.rb +40 -44
- data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_item.rb +27 -31
- data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_item_1.rb +39 -43
- data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_ok.rb +47 -46
- data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_position.rb +11 -15
- data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_unprocessable_entity.rb +8 -12
- data/lib/esi_client/models/get_killmails_killmail_id_killmail_hash_victim.rb +41 -45
- data/lib/esi_client/models/get_loyalty_stores_corporation_id_offers_200_ok.rb +65 -59
- data/lib/esi_client/models/get_loyalty_stores_corporation_id_offers_not_found.rb +185 -0
- data/lib/esi_client/models/get_loyalty_stores_corporation_id_offers_required_item.rb +25 -29
- data/lib/esi_client/models/get_markets_groups_market_group_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_markets_groups_market_group_id_ok.rb +35 -39
- data/lib/esi_client/models/get_markets_prices_200_ok.rb +24 -28
- data/lib/esi_client/models/get_markets_region_id_history_200_ok.rb +55 -59
- data/lib/esi_client/models/get_markets_region_id_history_unprocessable_entity.rb +8 -12
- data/lib/esi_client/models/get_markets_region_id_orders_200_ok.rb +102 -105
- data/lib/esi_client/models/get_markets_region_id_orders_unprocessable_entity.rb +8 -12
- data/lib/esi_client/models/get_markets_structures_structure_id_200_ok.rb +102 -105
- data/lib/esi_client/models/get_opportunities_groups_group_id_ok.rb +46 -50
- data/lib/esi_client/models/get_opportunities_tasks_task_id_ok.rb +38 -42
- data/lib/esi_client/models/get_route_origin_destination_not_found.rb +8 -12
- data/lib/esi_client/models/get_search_ok.rb +28 -44
- data/lib/esi_client/models/get_sovereignty_campaigns_200_ok.rb +75 -78
- data/lib/esi_client/models/get_sovereignty_campaigns_participant.rb +10 -14
- data/lib/esi_client/models/get_sovereignty_map_200_ok.rb +23 -27
- data/lib/esi_client/models/get_sovereignty_structures_200_ok.rb +24 -28
- data/lib/esi_client/models/get_status_ok.rb +26 -30
- data/lib/esi_client/models/get_universe_ancestries_200_ok.rb +255 -0
- data/lib/esi_client/models/get_universe_bloodlines_200_ok.rb +90 -94
- data/lib/esi_client/models/get_universe_categories_category_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_categories_category_id_ok.rb +30 -34
- data/lib/esi_client/models/get_universe_constellations_constellation_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_constellations_constellation_id_ok.rb +17 -16
- data/lib/esi_client/models/get_universe_constellations_constellation_id_position.rb +11 -15
- data/lib/esi_client/models/get_universe_factions_200_ok.rb +65 -79
- data/lib/esi_client/models/get_universe_graphics_graphic_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_graphics_graphic_id_ok.rb +46 -50
- data/lib/esi_client/models/get_universe_groups_group_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_groups_group_id_ok.rb +28 -32
- data/lib/esi_client/models/get_universe_moons_moon_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_moons_moon_id_ok.rb +16 -15
- data/lib/esi_client/models/get_universe_moons_moon_id_position.rb +11 -15
- data/lib/esi_client/models/get_universe_planets_planet_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_planets_planet_id_ok.rb +43 -42
- data/lib/esi_client/models/get_universe_planets_planet_id_position.rb +11 -15
- data/lib/esi_client/models/get_universe_races_200_ok.rb +42 -46
- data/lib/esi_client/models/get_universe_regions_region_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_regions_region_id_ok.rb +40 -44
- data/lib/esi_client/models/get_universe_schematics_schematic_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_schematics_schematic_id_ok.rb +25 -29
- data/lib/esi_client/models/get_universe_stargates_stargate_id_destination.rb +25 -29
- data/lib/esi_client/models/get_universe_stargates_stargate_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_stargates_stargate_id_ok.rb +50 -44
- data/lib/esi_client/models/get_universe_stargates_stargate_id_position.rb +11 -15
- data/lib/esi_client/models/get_universe_stars_star_id_ok.rb +64 -67
- data/lib/esi_client/models/get_universe_stations_station_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_stations_station_id_ok.rb +92 -90
- data/lib/esi_client/models/get_universe_stations_station_id_position.rb +11 -15
- data/lib/esi_client/models/get_universe_structures_structure_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_structures_structure_id_ok.rb +21 -25
- data/lib/esi_client/models/get_universe_structures_structure_id_position.rb +11 -15
- data/lib/esi_client/models/get_universe_system_jumps_200_ok.rb +25 -29
- data/lib/esi_client/models/get_universe_system_kills_200_ok.rb +41 -45
- data/lib/esi_client/models/get_universe_systems_system_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_systems_system_id_ok.rb +74 -73
- data/lib/esi_client/models/get_universe_systems_system_id_planet.rb +22 -26
- data/lib/esi_client/models/get_universe_systems_system_id_position.rb +11 -15
- data/lib/esi_client/models/get_universe_types_type_id_dogma_attribute.rb +10 -14
- data/lib/esi_client/models/get_universe_types_type_id_dogma_effect.rb +10 -14
- data/lib/esi_client/models/get_universe_types_type_id_not_found.rb +8 -12
- data/lib/esi_client/models/get_universe_types_type_id_ok.rb +111 -115
- data/lib/esi_client/models/get_wars_war_id_aggressor.rb +32 -36
- data/lib/esi_client/models/get_wars_war_id_ally.rb +20 -24
- data/lib/esi_client/models/get_wars_war_id_defender.rb +32 -36
- data/lib/esi_client/models/get_wars_war_id_killmails_200_ok.rb +25 -29
- data/lib/esi_client/models/get_wars_war_id_killmails_unprocessable_entity.rb +8 -12
- data/lib/esi_client/models/get_wars_war_id_ok.rb +72 -66
- data/lib/esi_client/models/get_wars_war_id_unprocessable_entity.rb +8 -12
- data/lib/esi_client/models/internal_server_error.rb +9 -13
- data/lib/esi_client/models/post_characters_affiliation_200_ok.rb +21 -25
- data/lib/esi_client/models/post_characters_affiliation_not_found.rb +8 -12
- data/lib/esi_client/models/post_characters_character_id_assets_locations_200_ok.rb +19 -54
- data/lib/esi_client/models/post_characters_character_id_assets_locations_position.rb +220 -0
- data/lib/esi_client/models/post_characters_character_id_assets_names_200_ok.rb +10 -14
- data/lib/esi_client/models/post_characters_character_id_fittings_created.rb +9 -13
- data/lib/esi_client/models/post_characters_character_id_fittings_fitting.rb +69 -73
- data/lib/esi_client/models/post_characters_character_id_fittings_item.rb +29 -33
- data/lib/esi_client/models/post_characters_character_id_mail_bad_request.rb +8 -12
- data/lib/esi_client/models/post_characters_character_id_mail_labels_label.rb +41 -44
- data/lib/esi_client/models/post_characters_character_id_mail_mail.rb +59 -63
- data/lib/esi_client/models/post_characters_character_id_mail_recipient.rb +29 -32
- data/lib/esi_client/models/post_corporations_corporation_id_assets_locations_200_ok.rb +19 -54
- data/lib/esi_client/models/post_corporations_corporation_id_assets_locations_position.rb +220 -0
- data/lib/esi_client/models/post_corporations_corporation_id_assets_names_200_ok.rb +10 -14
- data/lib/esi_client/models/post_fleets_fleet_id_members_invitation.rb +41 -46
- data/lib/esi_client/models/post_fleets_fleet_id_members_not_found.rb +8 -12
- data/lib/esi_client/models/post_fleets_fleet_id_members_unprocessable_entity.rb +8 -12
- data/lib/esi_client/models/post_fleets_fleet_id_wings_created.rb +9 -13
- data/lib/esi_client/models/post_fleets_fleet_id_wings_not_found.rb +8 -12
- data/lib/esi_client/models/post_fleets_fleet_id_wings_wing_id_squads_created.rb +9 -13
- data/lib/esi_client/models/post_fleets_fleet_id_wings_wing_id_squads_not_found.rb +8 -12
- data/lib/esi_client/models/post_ui_openwindow_newmail_new_mail.rb +55 -59
- data/lib/esi_client/models/post_ui_openwindow_newmail_unprocessable_entity.rb +8 -12
- data/lib/esi_client/models/post_universe_ids_agent.rb +195 -0
- data/lib/esi_client/models/post_universe_ids_alliance.rb +195 -0
- data/lib/esi_client/models/post_universe_ids_character.rb +195 -0
- data/lib/esi_client/models/post_universe_ids_constellation.rb +195 -0
- data/lib/esi_client/models/post_universe_ids_corporation.rb +195 -0
- data/lib/esi_client/models/post_universe_ids_faction.rb +195 -0
- data/lib/esi_client/models/post_universe_ids_inventory_type.rb +195 -0
- data/lib/esi_client/models/post_universe_ids_ok.rb +295 -0
- data/lib/esi_client/models/post_universe_ids_region.rb +195 -0
- data/lib/esi_client/models/post_universe_ids_service_unavailable.rb +185 -0
- data/lib/esi_client/models/post_universe_ids_station.rb +195 -0
- data/lib/esi_client/models/post_universe_ids_system.rb +195 -0
- data/lib/esi_client/models/post_universe_names_200_ok.rb +32 -35
- data/lib/esi_client/models/post_universe_names_not_found.rb +8 -12
- data/lib/esi_client/models/put_characters_character_id_calendar_event_id_response.rb +13 -16
- data/lib/esi_client/models/put_characters_character_id_mail_mail_id_bad_request.rb +8 -12
- data/lib/esi_client/models/put_characters_character_id_mail_mail_id_contents.rb +21 -25
- data/lib/esi_client/models/put_fleets_fleet_id_bad_request.rb +8 -12
- data/lib/esi_client/models/put_fleets_fleet_id_members_member_id_movement.rb +40 -45
- data/lib/esi_client/models/put_fleets_fleet_id_members_member_id_not_found.rb +8 -12
- data/lib/esi_client/models/put_fleets_fleet_id_members_member_id_unprocessable_entity.rb +8 -12
- data/lib/esi_client/models/put_fleets_fleet_id_new_settings.rb +20 -24
- data/lib/esi_client/models/put_fleets_fleet_id_not_found.rb +8 -12
- data/lib/esi_client/models/put_fleets_fleet_id_squads_squad_id_naming.rb +12 -16
- data/lib/esi_client/models/put_fleets_fleet_id_squads_squad_id_not_found.rb +8 -12
- data/lib/esi_client/models/put_fleets_fleet_id_wings_wing_id_naming.rb +12 -16
- data/lib/esi_client/models/put_fleets_fleet_id_wings_wing_id_not_found.rb +8 -12
- data/lib/esi_client/version.rb +3 -3
- data/spec/models/get_alliances_alliance_id_contacts_200_ok_spec.rb +63 -0
- data/spec/models/get_characters_character_id_fw_stats_kills_spec.rb +53 -0
- data/spec/models/get_characters_character_id_fw_stats_ok_spec.rb +71 -0
- data/spec/models/get_characters_character_id_fw_stats_victory_points_spec.rb +53 -0
- data/spec/models/get_characters_character_id_mining_200_ok_spec.rb +59 -0
- data/spec/models/get_characters_character_id_online_ok_spec.rb +59 -0
- data/spec/models/get_characters_character_id_orders_history_200_ok_spec.rb +133 -0
- data/spec/models/get_characters_character_id_roles_ok_spec.rb +75 -0
- data/spec/models/get_characters_character_id_stats_200_ok_spec.rb +113 -0
- data/spec/models/get_characters_character_id_stats_character_spec.rb +53 -0
- data/spec/models/get_characters_character_id_stats_combat_spec.rb +599 -0
- data/spec/models/get_characters_character_id_stats_industry_spec.rb +251 -0
- data/spec/models/get_characters_character_id_stats_inventory_spec.rb +47 -0
- data/spec/models/get_characters_character_id_stats_isk_spec.rb +47 -0
- data/spec/models/get_characters_character_id_stats_market_spec.rb +113 -0
- data/spec/models/get_characters_character_id_stats_mining_spec.rb +149 -0
- data/spec/models/get_characters_character_id_stats_module_spec.rb +449 -0
- data/spec/models/get_characters_character_id_stats_orbital_spec.rb +53 -0
- data/spec/models/get_characters_character_id_stats_pve_spec.rb +59 -0
- data/spec/models/get_characters_character_id_stats_social_spec.rb +185 -0
- data/spec/models/get_characters_character_id_stats_travel_spec.rb +161 -0
- data/spec/models/get_characters_character_id_titles_200_ok_spec.rb +47 -0
- data/spec/models/get_corporation_corporation_id_mining_extractions_200_ok_spec.rb +65 -0
- data/spec/models/get_corporation_corporation_id_mining_observers_200_ok_spec.rb +57 -0
- data/spec/models/get_corporation_corporation_id_mining_observers_observer_id_200_ok_spec.rb +65 -0
- data/spec/models/get_corporations_corporation_id_customs_offices_200_ok_spec.rb +123 -0
- data/spec/models/get_corporations_corporation_id_facilities_200_ok_spec.rb +53 -0
- data/spec/models/get_corporations_corporation_id_fw_stats_kills_spec.rb +53 -0
- data/spec/models/get_corporations_corporation_id_fw_stats_ok_spec.rb +65 -0
- data/spec/models/get_corporations_corporation_id_fw_stats_victory_points_spec.rb +53 -0
- data/spec/models/get_corporations_corporation_id_medals_200_ok_spec.rb +65 -0
- data/spec/models/get_corporations_corporation_id_medals_issued_200_ok_spec.rb +75 -0
- data/spec/models/get_corporations_corporation_id_members_titles_200_ok_spec.rb +47 -0
- data/spec/models/get_corporations_corporation_id_orders_history_200_ok_spec.rb +133 -0
- data/spec/models/get_corporations_corporation_id_outposts_outpost_id_coordinates_spec.rb +53 -0
- data/spec/models/get_corporations_corporation_id_outposts_outpost_id_ok_spec.rb +95 -0
- data/spec/models/get_corporations_corporation_id_outposts_outpost_id_service_spec.rb +63 -0
- data/spec/models/get_corporations_corporation_id_roles_history_200_ok_spec.rb +83 -0
- data/spec/models/get_corporations_corporation_id_starbases_200_ok_spec.rb +87 -0
- data/spec/models/get_corporations_corporation_id_starbases_starbase_id_fuel_spec.rb +47 -0
- data/spec/models/get_corporations_corporation_id_starbases_starbase_id_ok_spec.rb +143 -0
- data/spec/models/get_loyalty_stores_corporation_id_offers_not_found_spec.rb +41 -0
- data/spec/models/get_universe_ancestries_200_ok_spec.rb +71 -0
- data/spec/models/post_characters_character_id_assets_locations_position_spec.rb +53 -0
- data/spec/models/post_corporations_corporation_id_assets_locations_position_spec.rb +53 -0
- data/spec/models/post_universe_ids_agent_spec.rb +47 -0
- data/spec/models/post_universe_ids_alliance_spec.rb +47 -0
- data/spec/models/post_universe_ids_character_spec.rb +47 -0
- data/spec/models/post_universe_ids_constellation_spec.rb +47 -0
- data/spec/models/post_universe_ids_corporation_spec.rb +47 -0
- data/spec/models/post_universe_ids_faction_spec.rb +47 -0
- data/spec/models/post_universe_ids_inventory_type_spec.rb +47 -0
- data/spec/models/post_universe_ids_ok_spec.rb +95 -0
- data/spec/models/post_universe_ids_region_spec.rb +47 -0
- data/spec/models/post_universe_ids_service_unavailable_spec.rb +41 -0
- data/spec/models/post_universe_ids_station_spec.rb +47 -0
- data/spec/models/post_universe_ids_system_spec.rb +47 -0
- metadata +232 -3
@@ -3,14 +3,14 @@
|
|
3
3
|
|
4
4
|
#An OpenAPI for EVE Online
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.
|
6
|
+
OpenAPI spec version: 0.7.5
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module ESIClient
|
16
16
|
class ContractsApi
|
@@ -19,19 +19,19 @@ module ESIClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
22
|
# Get contracts
|
24
23
|
# Returns contracts available to a character, only if the character is issuer, acceptor or assignee. Only returns contracts no older than 30 days, or if the status is \"in_progress\". --- This route is cached for up to 300 seconds
|
25
24
|
# @param character_id An EVE character ID
|
26
25
|
# @param [Hash] opts the optional parameters
|
27
26
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
27
|
+
# @option opts [Integer] :page Which page of results to return (default to 1)
|
28
28
|
# @option opts [String] :token Access token to use if unable to set a header
|
29
29
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
30
30
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
31
31
|
# @return [Array<GetCharactersCharacterIdContracts200Ok>]
|
32
32
|
def get_characters_character_id_contracts(character_id, opts = {})
|
33
33
|
data, _status_code, _headers = get_characters_character_id_contracts_with_http_info(character_id, opts)
|
34
|
-
|
34
|
+
data
|
35
35
|
end
|
36
36
|
|
37
37
|
# Get contracts
|
@@ -39,27 +39,33 @@ module ESIClient
|
|
39
39
|
# @param character_id An EVE character ID
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @option opts [String] :datasource The server name you would like data from
|
42
|
+
# @option opts [Integer] :page Which page of results to return
|
42
43
|
# @option opts [String] :token Access token to use if unable to set a header
|
43
44
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
44
45
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
45
46
|
# @return [Array<(Array<GetCharactersCharacterIdContracts200Ok>, Fixnum, Hash)>] Array<GetCharactersCharacterIdContracts200Ok> data, response status code and response headers
|
46
47
|
def get_characters_character_id_contracts_with_http_info(character_id, opts = {})
|
47
48
|
if @api_client.config.debugging
|
48
|
-
@api_client.config.logger.debug
|
49
|
+
@api_client.config.logger.debug 'Calling API: ContractsApi.get_characters_character_id_contracts ...'
|
49
50
|
end
|
50
51
|
# verify the required parameter 'character_id' is set
|
51
52
|
if @api_client.config.client_side_validation && character_id.nil?
|
52
53
|
fail ArgumentError, "Missing the required parameter 'character_id' when calling ContractsApi.get_characters_character_id_contracts"
|
53
54
|
end
|
55
|
+
if @api_client.config.client_side_validation && character_id < 1
|
56
|
+
fail ArgumentError, 'invalid value for "character_id" when calling ContractsApi.get_characters_character_id_contracts, must be greater than or equal to 1.'
|
57
|
+
end
|
58
|
+
|
54
59
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
55
60
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
56
61
|
end
|
57
62
|
# resource path
|
58
|
-
local_var_path =
|
63
|
+
local_var_path = '/v1/characters/{character_id}/contracts/'.sub('{' + 'character_id' + '}', character_id.to_s)
|
59
64
|
|
60
65
|
# query parameters
|
61
66
|
query_params = {}
|
62
67
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
68
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
63
69
|
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
64
70
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
65
71
|
|
@@ -87,7 +93,6 @@ module ESIClient
|
|
87
93
|
end
|
88
94
|
return data, status_code, headers
|
89
95
|
end
|
90
|
-
|
91
96
|
# Get contract bids
|
92
97
|
# Lists bids on a particular auction contract --- This route is cached for up to 300 seconds
|
93
98
|
# @param character_id An EVE character ID
|
@@ -100,7 +105,7 @@ module ESIClient
|
|
100
105
|
# @return [Array<GetCharactersCharacterIdContractsContractIdBids200Ok>]
|
101
106
|
def get_characters_character_id_contracts_contract_id_bids(character_id, contract_id, opts = {})
|
102
107
|
data, _status_code, _headers = get_characters_character_id_contracts_contract_id_bids_with_http_info(character_id, contract_id, opts)
|
103
|
-
|
108
|
+
data
|
104
109
|
end
|
105
110
|
|
106
111
|
# Get contract bids
|
@@ -115,12 +120,16 @@ module ESIClient
|
|
115
120
|
# @return [Array<(Array<GetCharactersCharacterIdContractsContractIdBids200Ok>, Fixnum, Hash)>] Array<GetCharactersCharacterIdContractsContractIdBids200Ok> data, response status code and response headers
|
116
121
|
def get_characters_character_id_contracts_contract_id_bids_with_http_info(character_id, contract_id, opts = {})
|
117
122
|
if @api_client.config.debugging
|
118
|
-
@api_client.config.logger.debug
|
123
|
+
@api_client.config.logger.debug 'Calling API: ContractsApi.get_characters_character_id_contracts_contract_id_bids ...'
|
119
124
|
end
|
120
125
|
# verify the required parameter 'character_id' is set
|
121
126
|
if @api_client.config.client_side_validation && character_id.nil?
|
122
127
|
fail ArgumentError, "Missing the required parameter 'character_id' when calling ContractsApi.get_characters_character_id_contracts_contract_id_bids"
|
123
128
|
end
|
129
|
+
if @api_client.config.client_side_validation && character_id < 1
|
130
|
+
fail ArgumentError, 'invalid value for "character_id" when calling ContractsApi.get_characters_character_id_contracts_contract_id_bids, must be greater than or equal to 1.'
|
131
|
+
end
|
132
|
+
|
124
133
|
# verify the required parameter 'contract_id' is set
|
125
134
|
if @api_client.config.client_side_validation && contract_id.nil?
|
126
135
|
fail ArgumentError, "Missing the required parameter 'contract_id' when calling ContractsApi.get_characters_character_id_contracts_contract_id_bids"
|
@@ -129,7 +138,7 @@ module ESIClient
|
|
129
138
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
130
139
|
end
|
131
140
|
# resource path
|
132
|
-
local_var_path =
|
141
|
+
local_var_path = '/v1/characters/{character_id}/contracts/{contract_id}/bids/'.sub('{' + 'character_id' + '}', character_id.to_s).sub('{' + 'contract_id' + '}', contract_id.to_s)
|
133
142
|
|
134
143
|
# query parameters
|
135
144
|
query_params = {}
|
@@ -161,7 +170,6 @@ module ESIClient
|
|
161
170
|
end
|
162
171
|
return data, status_code, headers
|
163
172
|
end
|
164
|
-
|
165
173
|
# Get contract items
|
166
174
|
# Lists items of a particular contract --- This route is cached for up to 3600 seconds
|
167
175
|
# @param character_id An EVE character ID
|
@@ -174,7 +182,7 @@ module ESIClient
|
|
174
182
|
# @return [Array<GetCharactersCharacterIdContractsContractIdItems200Ok>]
|
175
183
|
def get_characters_character_id_contracts_contract_id_items(character_id, contract_id, opts = {})
|
176
184
|
data, _status_code, _headers = get_characters_character_id_contracts_contract_id_items_with_http_info(character_id, contract_id, opts)
|
177
|
-
|
185
|
+
data
|
178
186
|
end
|
179
187
|
|
180
188
|
# Get contract items
|
@@ -189,12 +197,16 @@ module ESIClient
|
|
189
197
|
# @return [Array<(Array<GetCharactersCharacterIdContractsContractIdItems200Ok>, Fixnum, Hash)>] Array<GetCharactersCharacterIdContractsContractIdItems200Ok> data, response status code and response headers
|
190
198
|
def get_characters_character_id_contracts_contract_id_items_with_http_info(character_id, contract_id, opts = {})
|
191
199
|
if @api_client.config.debugging
|
192
|
-
@api_client.config.logger.debug
|
200
|
+
@api_client.config.logger.debug 'Calling API: ContractsApi.get_characters_character_id_contracts_contract_id_items ...'
|
193
201
|
end
|
194
202
|
# verify the required parameter 'character_id' is set
|
195
203
|
if @api_client.config.client_side_validation && character_id.nil?
|
196
204
|
fail ArgumentError, "Missing the required parameter 'character_id' when calling ContractsApi.get_characters_character_id_contracts_contract_id_items"
|
197
205
|
end
|
206
|
+
if @api_client.config.client_side_validation && character_id < 1
|
207
|
+
fail ArgumentError, 'invalid value for "character_id" when calling ContractsApi.get_characters_character_id_contracts_contract_id_items, must be greater than or equal to 1.'
|
208
|
+
end
|
209
|
+
|
198
210
|
# verify the required parameter 'contract_id' is set
|
199
211
|
if @api_client.config.client_side_validation && contract_id.nil?
|
200
212
|
fail ArgumentError, "Missing the required parameter 'contract_id' when calling ContractsApi.get_characters_character_id_contracts_contract_id_items"
|
@@ -203,7 +215,7 @@ module ESIClient
|
|
203
215
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
204
216
|
end
|
205
217
|
# resource path
|
206
|
-
local_var_path =
|
218
|
+
local_var_path = '/v1/characters/{character_id}/contracts/{contract_id}/items/'.sub('{' + 'character_id' + '}', character_id.to_s).sub('{' + 'contract_id' + '}', contract_id.to_s)
|
207
219
|
|
208
220
|
# query parameters
|
209
221
|
query_params = {}
|
@@ -235,47 +247,53 @@ module ESIClient
|
|
235
247
|
end
|
236
248
|
return data, status_code, headers
|
237
249
|
end
|
238
|
-
|
239
250
|
# Get coporation contracts
|
240
|
-
# Returns contracts available to a coporation, only if the corporation is issuer, acceptor or assignee. Only returns contracts no older than 30 days, or if the status is \"in_progress\". --- This route is cached for up to
|
251
|
+
# Returns contracts available to a coporation, only if the corporation is issuer, acceptor or assignee. Only returns contracts no older than 30 days, or if the status is \"in_progress\". --- This route is cached for up to 300 seconds
|
241
252
|
# @param corporation_id An EVE corporation ID
|
242
253
|
# @param [Hash] opts the optional parameters
|
243
254
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
255
|
+
# @option opts [Integer] :page Which page of results to return (default to 1)
|
244
256
|
# @option opts [String] :token Access token to use if unable to set a header
|
245
257
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
246
258
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
247
259
|
# @return [Array<GetCorporationsCorporationIdContracts200Ok>]
|
248
260
|
def get_corporations_corporation_id_contracts(corporation_id, opts = {})
|
249
261
|
data, _status_code, _headers = get_corporations_corporation_id_contracts_with_http_info(corporation_id, opts)
|
250
|
-
|
262
|
+
data
|
251
263
|
end
|
252
264
|
|
253
265
|
# Get coporation contracts
|
254
|
-
# Returns contracts available to a coporation, only if the corporation is issuer, acceptor or assignee. Only returns contracts no older than 30 days, or if the status is \"in_progress\". --- This route is cached for up to
|
266
|
+
# Returns contracts available to a coporation, only if the corporation is issuer, acceptor or assignee. Only returns contracts no older than 30 days, or if the status is \"in_progress\". --- This route is cached for up to 300 seconds
|
255
267
|
# @param corporation_id An EVE corporation ID
|
256
268
|
# @param [Hash] opts the optional parameters
|
257
269
|
# @option opts [String] :datasource The server name you would like data from
|
270
|
+
# @option opts [Integer] :page Which page of results to return
|
258
271
|
# @option opts [String] :token Access token to use if unable to set a header
|
259
272
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
260
273
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
261
274
|
# @return [Array<(Array<GetCorporationsCorporationIdContracts200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdContracts200Ok> data, response status code and response headers
|
262
275
|
def get_corporations_corporation_id_contracts_with_http_info(corporation_id, opts = {})
|
263
276
|
if @api_client.config.debugging
|
264
|
-
@api_client.config.logger.debug
|
277
|
+
@api_client.config.logger.debug 'Calling API: ContractsApi.get_corporations_corporation_id_contracts ...'
|
265
278
|
end
|
266
279
|
# verify the required parameter 'corporation_id' is set
|
267
280
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
268
281
|
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling ContractsApi.get_corporations_corporation_id_contracts"
|
269
282
|
end
|
283
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
284
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling ContractsApi.get_corporations_corporation_id_contracts, must be greater than or equal to 1.'
|
285
|
+
end
|
286
|
+
|
270
287
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
271
288
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
272
289
|
end
|
273
290
|
# resource path
|
274
|
-
local_var_path =
|
291
|
+
local_var_path = '/v1/corporations/{corporation_id}/contracts/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
275
292
|
|
276
293
|
# query parameters
|
277
294
|
query_params = {}
|
278
295
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
296
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
279
297
|
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
280
298
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
281
299
|
|
@@ -303,7 +321,6 @@ module ESIClient
|
|
303
321
|
end
|
304
322
|
return data, status_code, headers
|
305
323
|
end
|
306
|
-
|
307
324
|
# Get corporation contract bids
|
308
325
|
# Lists bids on a particular auction contract --- This route is cached for up to 3600 seconds
|
309
326
|
# @param contract_id ID of a contract
|
@@ -317,7 +334,7 @@ module ESIClient
|
|
317
334
|
# @return [Array<GetCorporationsCorporationIdContractsContractIdBids200Ok>]
|
318
335
|
def get_corporations_corporation_id_contracts_contract_id_bids(contract_id, corporation_id, opts = {})
|
319
336
|
data, _status_code, _headers = get_corporations_corporation_id_contracts_contract_id_bids_with_http_info(contract_id, corporation_id, opts)
|
320
|
-
|
337
|
+
data
|
321
338
|
end
|
322
339
|
|
323
340
|
# Get corporation contract bids
|
@@ -333,7 +350,7 @@ module ESIClient
|
|
333
350
|
# @return [Array<(Array<GetCorporationsCorporationIdContractsContractIdBids200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdContractsContractIdBids200Ok> data, response status code and response headers
|
334
351
|
def get_corporations_corporation_id_contracts_contract_id_bids_with_http_info(contract_id, corporation_id, opts = {})
|
335
352
|
if @api_client.config.debugging
|
336
|
-
@api_client.config.logger.debug
|
353
|
+
@api_client.config.logger.debug 'Calling API: ContractsApi.get_corporations_corporation_id_contracts_contract_id_bids ...'
|
337
354
|
end
|
338
355
|
# verify the required parameter 'contract_id' is set
|
339
356
|
if @api_client.config.client_side_validation && contract_id.nil?
|
@@ -343,11 +360,15 @@ module ESIClient
|
|
343
360
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
344
361
|
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling ContractsApi.get_corporations_corporation_id_contracts_contract_id_bids"
|
345
362
|
end
|
363
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
364
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling ContractsApi.get_corporations_corporation_id_contracts_contract_id_bids, must be greater than or equal to 1.'
|
365
|
+
end
|
366
|
+
|
346
367
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
347
368
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
348
369
|
end
|
349
370
|
# resource path
|
350
|
-
local_var_path =
|
371
|
+
local_var_path = '/v1/corporations/{corporation_id}/contracts/{contract_id}/bids/'.sub('{' + 'contract_id' + '}', contract_id.to_s).sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
351
372
|
|
352
373
|
# query parameters
|
353
374
|
query_params = {}
|
@@ -380,7 +401,6 @@ module ESIClient
|
|
380
401
|
end
|
381
402
|
return data, status_code, headers
|
382
403
|
end
|
383
|
-
|
384
404
|
# Get corporation contract items
|
385
405
|
# Lists items of a particular contract --- This route is cached for up to 3600 seconds
|
386
406
|
# @param contract_id ID of a contract
|
@@ -393,7 +413,7 @@ module ESIClient
|
|
393
413
|
# @return [Array<GetCorporationsCorporationIdContractsContractIdItems200Ok>]
|
394
414
|
def get_corporations_corporation_id_contracts_contract_id_items(contract_id, corporation_id, opts = {})
|
395
415
|
data, _status_code, _headers = get_corporations_corporation_id_contracts_contract_id_items_with_http_info(contract_id, corporation_id, opts)
|
396
|
-
|
416
|
+
data
|
397
417
|
end
|
398
418
|
|
399
419
|
# Get corporation contract items
|
@@ -408,7 +428,7 @@ module ESIClient
|
|
408
428
|
# @return [Array<(Array<GetCorporationsCorporationIdContractsContractIdItems200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdContractsContractIdItems200Ok> data, response status code and response headers
|
409
429
|
def get_corporations_corporation_id_contracts_contract_id_items_with_http_info(contract_id, corporation_id, opts = {})
|
410
430
|
if @api_client.config.debugging
|
411
|
-
@api_client.config.logger.debug
|
431
|
+
@api_client.config.logger.debug 'Calling API: ContractsApi.get_corporations_corporation_id_contracts_contract_id_items ...'
|
412
432
|
end
|
413
433
|
# verify the required parameter 'contract_id' is set
|
414
434
|
if @api_client.config.client_side_validation && contract_id.nil?
|
@@ -418,11 +438,15 @@ module ESIClient
|
|
418
438
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
419
439
|
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling ContractsApi.get_corporations_corporation_id_contracts_contract_id_items"
|
420
440
|
end
|
441
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
442
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling ContractsApi.get_corporations_corporation_id_contracts_contract_id_items, must be greater than or equal to 1.'
|
443
|
+
end
|
444
|
+
|
421
445
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
422
446
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
423
447
|
end
|
424
448
|
# resource path
|
425
|
-
local_var_path =
|
449
|
+
local_var_path = '/v1/corporations/{corporation_id}/contracts/{contract_id}/items/'.sub('{' + 'contract_id' + '}', contract_id.to_s).sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
426
450
|
|
427
451
|
# query parameters
|
428
452
|
query_params = {}
|
@@ -3,14 +3,14 @@
|
|
3
3
|
|
4
4
|
#An OpenAPI for EVE Online
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.
|
6
|
+
OpenAPI spec version: 0.7.5
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'uri'
|
14
14
|
|
15
15
|
module ESIClient
|
16
16
|
class CorporationApi
|
@@ -19,7 +19,6 @@ module ESIClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
|
23
22
|
# Get corporation information
|
24
23
|
# Public information about a corporation --- This route is cached for up to 3600 seconds
|
25
24
|
# @param corporation_id An EVE corporation ID
|
@@ -30,7 +29,7 @@ module ESIClient
|
|
30
29
|
# @return [GetCorporationsCorporationIdOk]
|
31
30
|
def get_corporations_corporation_id(corporation_id, opts = {})
|
32
31
|
data, _status_code, _headers = get_corporations_corporation_id_with_http_info(corporation_id, opts)
|
33
|
-
|
32
|
+
data
|
34
33
|
end
|
35
34
|
|
36
35
|
# Get corporation information
|
@@ -43,17 +42,21 @@ module ESIClient
|
|
43
42
|
# @return [Array<(GetCorporationsCorporationIdOk, Fixnum, Hash)>] GetCorporationsCorporationIdOk data, response status code and response headers
|
44
43
|
def get_corporations_corporation_id_with_http_info(corporation_id, opts = {})
|
45
44
|
if @api_client.config.debugging
|
46
|
-
@api_client.config.logger.debug
|
45
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id ...'
|
47
46
|
end
|
48
47
|
# verify the required parameter 'corporation_id' is set
|
49
48
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
50
49
|
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id"
|
51
50
|
end
|
51
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
52
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id, must be greater than or equal to 1.'
|
53
|
+
end
|
54
|
+
|
52
55
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
53
56
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
54
57
|
end
|
55
58
|
# resource path
|
56
|
-
local_var_path =
|
59
|
+
local_var_path = '/v4/corporations/{corporation_id}/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
57
60
|
|
58
61
|
# query parameters
|
59
62
|
query_params = {}
|
@@ -84,7 +87,6 @@ module ESIClient
|
|
84
87
|
end
|
85
88
|
return data, status_code, headers
|
86
89
|
end
|
87
|
-
|
88
90
|
# Get alliance history
|
89
91
|
# Get a list of all the alliances a corporation has been a member of --- This route is cached for up to 3600 seconds
|
90
92
|
# @param corporation_id An EVE corporation ID
|
@@ -95,7 +97,7 @@ module ESIClient
|
|
95
97
|
# @return [Array<GetCorporationsCorporationIdAlliancehistory200Ok>]
|
96
98
|
def get_corporations_corporation_id_alliancehistory(corporation_id, opts = {})
|
97
99
|
data, _status_code, _headers = get_corporations_corporation_id_alliancehistory_with_http_info(corporation_id, opts)
|
98
|
-
|
100
|
+
data
|
99
101
|
end
|
100
102
|
|
101
103
|
# Get alliance history
|
@@ -108,17 +110,21 @@ module ESIClient
|
|
108
110
|
# @return [Array<(Array<GetCorporationsCorporationIdAlliancehistory200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdAlliancehistory200Ok> data, response status code and response headers
|
109
111
|
def get_corporations_corporation_id_alliancehistory_with_http_info(corporation_id, opts = {})
|
110
112
|
if @api_client.config.debugging
|
111
|
-
@api_client.config.logger.debug
|
113
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_alliancehistory ...'
|
112
114
|
end
|
113
115
|
# verify the required parameter 'corporation_id' is set
|
114
116
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
115
117
|
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_alliancehistory"
|
116
118
|
end
|
119
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
120
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_alliancehistory, must be greater than or equal to 1.'
|
121
|
+
end
|
122
|
+
|
117
123
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
118
124
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
119
125
|
end
|
120
126
|
# resource path
|
121
|
-
local_var_path =
|
127
|
+
local_var_path = '/v2/corporations/{corporation_id}/alliancehistory/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
122
128
|
|
123
129
|
# query parameters
|
124
130
|
query_params = {}
|
@@ -149,9 +155,8 @@ module ESIClient
|
|
149
155
|
end
|
150
156
|
return data, status_code, headers
|
151
157
|
end
|
152
|
-
|
153
158
|
# Get corporation blueprints
|
154
|
-
# Returns a list of blueprints the corporation owns --- This route is cached for up to 3600 seconds
|
159
|
+
# Returns a list of blueprints the corporation owns --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director --- [This route has an available update](https://esi.tech.ccp.is/diff/latest/dev/#GET-/corporations/{corporation_id}/blueprints/)
|
155
160
|
# @param corporation_id An EVE corporation ID
|
156
161
|
# @param [Hash] opts the optional parameters
|
157
162
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
@@ -162,11 +167,11 @@ module ESIClient
|
|
162
167
|
# @return [Array<GetCorporationsCorporationIdBlueprints200Ok>]
|
163
168
|
def get_corporations_corporation_id_blueprints(corporation_id, opts = {})
|
164
169
|
data, _status_code, _headers = get_corporations_corporation_id_blueprints_with_http_info(corporation_id, opts)
|
165
|
-
|
170
|
+
data
|
166
171
|
end
|
167
172
|
|
168
173
|
# Get corporation blueprints
|
169
|
-
# Returns a list of blueprints the corporation owns --- This route is cached for up to 3600 seconds
|
174
|
+
# Returns a list of blueprints the corporation owns --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director --- [This route has an available update](https://esi.tech.ccp.is/diff/latest/dev/#GET-/corporations/{corporation_id}/blueprints/)
|
170
175
|
# @param corporation_id An EVE corporation ID
|
171
176
|
# @param [Hash] opts the optional parameters
|
172
177
|
# @option opts [String] :datasource The server name you would like data from
|
@@ -177,17 +182,21 @@ module ESIClient
|
|
177
182
|
# @return [Array<(Array<GetCorporationsCorporationIdBlueprints200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdBlueprints200Ok> data, response status code and response headers
|
178
183
|
def get_corporations_corporation_id_blueprints_with_http_info(corporation_id, opts = {})
|
179
184
|
if @api_client.config.debugging
|
180
|
-
@api_client.config.logger.debug
|
185
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_blueprints ...'
|
181
186
|
end
|
182
187
|
# verify the required parameter 'corporation_id' is set
|
183
188
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
184
189
|
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_blueprints"
|
185
190
|
end
|
191
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
192
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_blueprints, must be greater than or equal to 1.'
|
193
|
+
end
|
194
|
+
|
186
195
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
187
196
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
188
197
|
end
|
189
198
|
# resource path
|
190
|
-
local_var_path =
|
199
|
+
local_var_path = '/v1/corporations/{corporation_id}/blueprints/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
191
200
|
|
192
201
|
# query parameters
|
193
202
|
query_params = {}
|
@@ -220,9 +229,8 @@ module ESIClient
|
|
220
229
|
end
|
221
230
|
return data, status_code, headers
|
222
231
|
end
|
223
|
-
|
224
232
|
# Get all corporation ALSC logs
|
225
|
-
# Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation --- This route is cached for up to 600 seconds
|
233
|
+
# Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation --- This route is cached for up to 600 seconds --- Requires one of the following EVE corporation role(s): Director --- [This route has an available update](https://esi.tech.ccp.is/diff/latest/dev/#GET-/corporations/{corporation_id}/containers/logs/)
|
226
234
|
# @param corporation_id An EVE corporation ID
|
227
235
|
# @param [Hash] opts the optional parameters
|
228
236
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
@@ -233,11 +241,11 @@ module ESIClient
|
|
233
241
|
# @return [Array<GetCorporationsCorporationIdContainersLogs200Ok>]
|
234
242
|
def get_corporations_corporation_id_containers_logs(corporation_id, opts = {})
|
235
243
|
data, _status_code, _headers = get_corporations_corporation_id_containers_logs_with_http_info(corporation_id, opts)
|
236
|
-
|
244
|
+
data
|
237
245
|
end
|
238
246
|
|
239
247
|
# Get all corporation ALSC logs
|
240
|
-
# Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation --- This route is cached for up to 600 seconds
|
248
|
+
# Returns logs recorded in the past seven days from all audit log secure containers (ALSC) owned by a given corporation --- This route is cached for up to 600 seconds --- Requires one of the following EVE corporation role(s): Director --- [This route has an available update](https://esi.tech.ccp.is/diff/latest/dev/#GET-/corporations/{corporation_id}/containers/logs/)
|
241
249
|
# @param corporation_id An EVE corporation ID
|
242
250
|
# @param [Hash] opts the optional parameters
|
243
251
|
# @option opts [String] :datasource The server name you would like data from
|
@@ -248,17 +256,21 @@ module ESIClient
|
|
248
256
|
# @return [Array<(Array<GetCorporationsCorporationIdContainersLogs200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdContainersLogs200Ok> data, response status code and response headers
|
249
257
|
def get_corporations_corporation_id_containers_logs_with_http_info(corporation_id, opts = {})
|
250
258
|
if @api_client.config.debugging
|
251
|
-
@api_client.config.logger.debug
|
259
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_containers_logs ...'
|
252
260
|
end
|
253
261
|
# verify the required parameter 'corporation_id' is set
|
254
262
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
255
263
|
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_containers_logs"
|
256
264
|
end
|
265
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
266
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_containers_logs, must be greater than or equal to 1.'
|
267
|
+
end
|
268
|
+
|
257
269
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
258
270
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
259
271
|
end
|
260
272
|
# resource path
|
261
|
-
local_var_path =
|
273
|
+
local_var_path = '/v1/corporations/{corporation_id}/containers/logs/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
262
274
|
|
263
275
|
# query parameters
|
264
276
|
query_params = {}
|
@@ -291,9 +303,8 @@ module ESIClient
|
|
291
303
|
end
|
292
304
|
return data, status_code, headers
|
293
305
|
end
|
294
|
-
|
295
306
|
# Get corporation divisions
|
296
|
-
# Return corporation hangar and wallet division names, only show if a division is not using the default name --- This route is cached for up to 3600 seconds
|
307
|
+
# Return corporation hangar and wallet division names, only show if a division is not using the default name --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
297
308
|
# @param corporation_id An EVE corporation ID
|
298
309
|
# @param [Hash] opts the optional parameters
|
299
310
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
@@ -303,11 +314,11 @@ module ESIClient
|
|
303
314
|
# @return [GetCorporationsCorporationIdDivisionsOk]
|
304
315
|
def get_corporations_corporation_id_divisions(corporation_id, opts = {})
|
305
316
|
data, _status_code, _headers = get_corporations_corporation_id_divisions_with_http_info(corporation_id, opts)
|
306
|
-
|
317
|
+
data
|
307
318
|
end
|
308
319
|
|
309
320
|
# Get corporation divisions
|
310
|
-
# Return corporation hangar and wallet division names, only show if a division is not using the default name --- This route is cached for up to 3600 seconds
|
321
|
+
# Return corporation hangar and wallet division names, only show if a division is not using the default name --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
311
322
|
# @param corporation_id An EVE corporation ID
|
312
323
|
# @param [Hash] opts the optional parameters
|
313
324
|
# @option opts [String] :datasource The server name you would like data from
|
@@ -317,17 +328,21 @@ module ESIClient
|
|
317
328
|
# @return [Array<(GetCorporationsCorporationIdDivisionsOk, Fixnum, Hash)>] GetCorporationsCorporationIdDivisionsOk data, response status code and response headers
|
318
329
|
def get_corporations_corporation_id_divisions_with_http_info(corporation_id, opts = {})
|
319
330
|
if @api_client.config.debugging
|
320
|
-
@api_client.config.logger.debug
|
331
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_divisions ...'
|
321
332
|
end
|
322
333
|
# verify the required parameter 'corporation_id' is set
|
323
334
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
324
335
|
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_divisions"
|
325
336
|
end
|
337
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
338
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_divisions, must be greater than or equal to 1.'
|
339
|
+
end
|
340
|
+
|
326
341
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
327
342
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
328
343
|
end
|
329
344
|
# resource path
|
330
|
-
local_var_path =
|
345
|
+
local_var_path = '/v1/corporations/{corporation_id}/divisions/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
331
346
|
|
332
347
|
# query parameters
|
333
348
|
query_params = {}
|
@@ -359,45 +374,51 @@ module ESIClient
|
|
359
374
|
end
|
360
375
|
return data, status_code, headers
|
361
376
|
end
|
362
|
-
|
363
|
-
#
|
364
|
-
# Get the icon urls for a corporation --- This route is cached for up to 3600 seconds
|
377
|
+
# Get corporation facilities
|
378
|
+
# Return a corporation's facilities --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Factory_Manager
|
365
379
|
# @param corporation_id An EVE corporation ID
|
366
380
|
# @param [Hash] opts the optional parameters
|
367
381
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
382
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
368
383
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
369
384
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
370
|
-
# @return [
|
371
|
-
def
|
372
|
-
data, _status_code, _headers =
|
373
|
-
|
385
|
+
# @return [Array<GetCorporationsCorporationIdFacilities200Ok>]
|
386
|
+
def get_corporations_corporation_id_facilities(corporation_id, opts = {})
|
387
|
+
data, _status_code, _headers = get_corporations_corporation_id_facilities_with_http_info(corporation_id, opts)
|
388
|
+
data
|
374
389
|
end
|
375
390
|
|
376
|
-
# Get corporation
|
377
|
-
#
|
391
|
+
# Get corporation facilities
|
392
|
+
# Return a corporation's facilities --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Factory_Manager
|
378
393
|
# @param corporation_id An EVE corporation ID
|
379
394
|
# @param [Hash] opts the optional parameters
|
380
395
|
# @option opts [String] :datasource The server name you would like data from
|
396
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
381
397
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
382
398
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
383
|
-
# @return [Array<(
|
384
|
-
def
|
399
|
+
# @return [Array<(Array<GetCorporationsCorporationIdFacilities200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdFacilities200Ok> data, response status code and response headers
|
400
|
+
def get_corporations_corporation_id_facilities_with_http_info(corporation_id, opts = {})
|
385
401
|
if @api_client.config.debugging
|
386
|
-
@api_client.config.logger.debug
|
402
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_facilities ...'
|
387
403
|
end
|
388
404
|
# verify the required parameter 'corporation_id' is set
|
389
405
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
390
|
-
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.
|
406
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_facilities"
|
391
407
|
end
|
408
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
409
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_facilities, must be greater than or equal to 1.'
|
410
|
+
end
|
411
|
+
|
392
412
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
393
413
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
394
414
|
end
|
395
415
|
# resource path
|
396
|
-
local_var_path =
|
416
|
+
local_var_path = '/v1/corporations/{corporation_id}/facilities/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
397
417
|
|
398
418
|
# query parameters
|
399
419
|
query_params = {}
|
400
420
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
421
|
+
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
401
422
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
402
423
|
|
403
424
|
# header parameters
|
@@ -411,61 +432,61 @@ module ESIClient
|
|
411
432
|
|
412
433
|
# http body (model)
|
413
434
|
post_body = nil
|
414
|
-
auth_names = []
|
435
|
+
auth_names = ['evesso']
|
415
436
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
416
437
|
:header_params => header_params,
|
417
438
|
:query_params => query_params,
|
418
439
|
:form_params => form_params,
|
419
440
|
:body => post_body,
|
420
441
|
:auth_names => auth_names,
|
421
|
-
:return_type => '
|
442
|
+
:return_type => 'Array<GetCorporationsCorporationIdFacilities200Ok>')
|
422
443
|
if @api_client.config.debugging
|
423
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
444
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_facilities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
424
445
|
end
|
425
446
|
return data, status_code, headers
|
426
447
|
end
|
427
|
-
|
428
|
-
# Get corporation
|
429
|
-
# Read the current list of members if the calling character is a member. --- This route is cached for up to 3600 seconds
|
448
|
+
# Get corporation icon
|
449
|
+
# Get the icon urls for a corporation --- This route is cached for up to 3600 seconds
|
430
450
|
# @param corporation_id An EVE corporation ID
|
431
451
|
# @param [Hash] opts the optional parameters
|
432
452
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
433
|
-
# @option opts [String] :token Access token to use if unable to set a header
|
434
453
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
435
454
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
436
|
-
# @return [
|
437
|
-
def
|
438
|
-
data, _status_code, _headers =
|
439
|
-
|
455
|
+
# @return [GetCorporationsCorporationIdIconsOk]
|
456
|
+
def get_corporations_corporation_id_icons(corporation_id, opts = {})
|
457
|
+
data, _status_code, _headers = get_corporations_corporation_id_icons_with_http_info(corporation_id, opts)
|
458
|
+
data
|
440
459
|
end
|
441
460
|
|
442
|
-
# Get corporation
|
443
|
-
#
|
461
|
+
# Get corporation icon
|
462
|
+
# Get the icon urls for a corporation --- This route is cached for up to 3600 seconds
|
444
463
|
# @param corporation_id An EVE corporation ID
|
445
464
|
# @param [Hash] opts the optional parameters
|
446
465
|
# @option opts [String] :datasource The server name you would like data from
|
447
|
-
# @option opts [String] :token Access token to use if unable to set a header
|
448
466
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
449
467
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
450
|
-
# @return [Array<(
|
451
|
-
def
|
468
|
+
# @return [Array<(GetCorporationsCorporationIdIconsOk, Fixnum, Hash)>] GetCorporationsCorporationIdIconsOk data, response status code and response headers
|
469
|
+
def get_corporations_corporation_id_icons_with_http_info(corporation_id, opts = {})
|
452
470
|
if @api_client.config.debugging
|
453
|
-
@api_client.config.logger.debug
|
471
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_icons ...'
|
454
472
|
end
|
455
473
|
# verify the required parameter 'corporation_id' is set
|
456
474
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
457
|
-
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.
|
475
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_icons"
|
458
476
|
end
|
477
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
478
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_icons, must be greater than or equal to 1.'
|
479
|
+
end
|
480
|
+
|
459
481
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
460
482
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
461
483
|
end
|
462
484
|
# resource path
|
463
|
-
local_var_path =
|
485
|
+
local_var_path = '/v1/corporations/{corporation_id}/icons/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
464
486
|
|
465
487
|
# query parameters
|
466
488
|
query_params = {}
|
467
489
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
468
|
-
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
469
490
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
470
491
|
|
471
492
|
# header parameters
|
@@ -479,60 +500,66 @@ module ESIClient
|
|
479
500
|
|
480
501
|
# http body (model)
|
481
502
|
post_body = nil
|
482
|
-
auth_names = [
|
503
|
+
auth_names = []
|
483
504
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
484
505
|
:header_params => header_params,
|
485
506
|
:query_params => query_params,
|
486
507
|
:form_params => form_params,
|
487
508
|
:body => post_body,
|
488
509
|
:auth_names => auth_names,
|
489
|
-
:return_type => '
|
510
|
+
:return_type => 'GetCorporationsCorporationIdIconsOk')
|
490
511
|
if @api_client.config.debugging
|
491
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
512
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_icons\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
492
513
|
end
|
493
514
|
return data, status_code, headers
|
494
515
|
end
|
495
|
-
|
496
|
-
#
|
497
|
-
# Return a corporation's member limit, not including CEO himself --- This route is cached for up to 3600 seconds
|
516
|
+
# Get corporation medals
|
517
|
+
# Returns a corporation's medals --- This route is cached for up to 3600 seconds
|
498
518
|
# @param corporation_id An EVE corporation ID
|
499
519
|
# @param [Hash] opts the optional parameters
|
500
520
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
521
|
+
# @option opts [Integer] :page Which page of results to return (default to 1)
|
501
522
|
# @option opts [String] :token Access token to use if unable to set a header
|
502
523
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
503
524
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
504
|
-
# @return [
|
505
|
-
def
|
506
|
-
data, _status_code, _headers =
|
507
|
-
|
525
|
+
# @return [Array<GetCorporationsCorporationIdMedals200Ok>]
|
526
|
+
def get_corporations_corporation_id_medals(corporation_id, opts = {})
|
527
|
+
data, _status_code, _headers = get_corporations_corporation_id_medals_with_http_info(corporation_id, opts)
|
528
|
+
data
|
508
529
|
end
|
509
530
|
|
510
|
-
# Get corporation
|
511
|
-
#
|
531
|
+
# Get corporation medals
|
532
|
+
# Returns a corporation's medals --- This route is cached for up to 3600 seconds
|
512
533
|
# @param corporation_id An EVE corporation ID
|
513
534
|
# @param [Hash] opts the optional parameters
|
514
535
|
# @option opts [String] :datasource The server name you would like data from
|
536
|
+
# @option opts [Integer] :page Which page of results to return
|
515
537
|
# @option opts [String] :token Access token to use if unable to set a header
|
516
538
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
517
539
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
518
|
-
# @return [Array<(
|
519
|
-
def
|
540
|
+
# @return [Array<(Array<GetCorporationsCorporationIdMedals200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdMedals200Ok> data, response status code and response headers
|
541
|
+
def get_corporations_corporation_id_medals_with_http_info(corporation_id, opts = {})
|
520
542
|
if @api_client.config.debugging
|
521
|
-
@api_client.config.logger.debug
|
543
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_medals ...'
|
522
544
|
end
|
523
545
|
# verify the required parameter 'corporation_id' is set
|
524
546
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
525
|
-
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.
|
547
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_medals"
|
548
|
+
end
|
549
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
550
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_medals, must be greater than or equal to 1.'
|
526
551
|
end
|
552
|
+
|
527
553
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
528
554
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
529
555
|
end
|
530
556
|
# resource path
|
531
|
-
local_var_path =
|
557
|
+
local_var_path = '/v1/corporations/{corporation_id}/medals/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
532
558
|
|
533
559
|
# query parameters
|
534
560
|
query_params = {}
|
535
561
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
562
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
536
563
|
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
537
564
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
538
565
|
|
@@ -554,53 +581,59 @@ module ESIClient
|
|
554
581
|
:form_params => form_params,
|
555
582
|
:body => post_body,
|
556
583
|
:auth_names => auth_names,
|
557
|
-
:return_type => '
|
584
|
+
:return_type => 'Array<GetCorporationsCorporationIdMedals200Ok>')
|
558
585
|
if @api_client.config.debugging
|
559
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
586
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_medals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
560
587
|
end
|
561
588
|
return data, status_code, headers
|
562
589
|
end
|
563
|
-
|
564
|
-
#
|
565
|
-
# Returns additional information about a corporation's members which helps tracking their activities --- This route is cached for up to 3600 seconds
|
590
|
+
# Get corporation issued medals
|
591
|
+
# Returns medals issued by a corporation --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
566
592
|
# @param corporation_id An EVE corporation ID
|
567
593
|
# @param [Hash] opts the optional parameters
|
568
594
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
595
|
+
# @option opts [Integer] :page Which page of results to return (default to 1)
|
569
596
|
# @option opts [String] :token Access token to use if unable to set a header
|
570
597
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
571
598
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
572
|
-
# @return [Array<
|
573
|
-
def
|
574
|
-
data, _status_code, _headers =
|
575
|
-
|
599
|
+
# @return [Array<GetCorporationsCorporationIdMedalsIssued200Ok>]
|
600
|
+
def get_corporations_corporation_id_medals_issued(corporation_id, opts = {})
|
601
|
+
data, _status_code, _headers = get_corporations_corporation_id_medals_issued_with_http_info(corporation_id, opts)
|
602
|
+
data
|
576
603
|
end
|
577
604
|
|
578
|
-
#
|
579
|
-
# Returns
|
605
|
+
# Get corporation issued medals
|
606
|
+
# Returns medals issued by a corporation --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
580
607
|
# @param corporation_id An EVE corporation ID
|
581
608
|
# @param [Hash] opts the optional parameters
|
582
609
|
# @option opts [String] :datasource The server name you would like data from
|
610
|
+
# @option opts [Integer] :page Which page of results to return
|
583
611
|
# @option opts [String] :token Access token to use if unable to set a header
|
584
612
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
585
613
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
586
|
-
# @return [Array<(Array<
|
587
|
-
def
|
614
|
+
# @return [Array<(Array<GetCorporationsCorporationIdMedalsIssued200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdMedalsIssued200Ok> data, response status code and response headers
|
615
|
+
def get_corporations_corporation_id_medals_issued_with_http_info(corporation_id, opts = {})
|
588
616
|
if @api_client.config.debugging
|
589
|
-
@api_client.config.logger.debug
|
617
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_medals_issued ...'
|
590
618
|
end
|
591
619
|
# verify the required parameter 'corporation_id' is set
|
592
620
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
593
|
-
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.
|
621
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_medals_issued"
|
622
|
+
end
|
623
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
624
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_medals_issued, must be greater than or equal to 1.'
|
594
625
|
end
|
626
|
+
|
595
627
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
596
628
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
597
629
|
end
|
598
630
|
# resource path
|
599
|
-
local_var_path =
|
631
|
+
local_var_path = '/v1/corporations/{corporation_id}/medals/issued/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
600
632
|
|
601
633
|
# query parameters
|
602
634
|
query_params = {}
|
603
635
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
636
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
604
637
|
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
605
638
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
606
639
|
|
@@ -622,49 +655,52 @@ module ESIClient
|
|
622
655
|
:form_params => form_params,
|
623
656
|
:body => post_body,
|
624
657
|
:auth_names => auth_names,
|
625
|
-
:return_type => 'Array<
|
658
|
+
:return_type => 'Array<GetCorporationsCorporationIdMedalsIssued200Ok>')
|
626
659
|
if @api_client.config.debugging
|
627
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
660
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_medals_issued\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
628
661
|
end
|
629
662
|
return data, status_code, headers
|
630
663
|
end
|
631
|
-
|
632
|
-
#
|
633
|
-
# Return the roles of all members if the character has the personnel manager role or any grantable role. --- This route is cached for up to 3600 seconds
|
664
|
+
# Get corporation members
|
665
|
+
# Return the current member list of a corporation, the token's character need to be a member of the corporation. --- This route is cached for up to 3600 seconds
|
634
666
|
# @param corporation_id An EVE corporation ID
|
635
667
|
# @param [Hash] opts the optional parameters
|
636
668
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
637
669
|
# @option opts [String] :token Access token to use if unable to set a header
|
638
670
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
639
671
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
640
|
-
# @return [Array<
|
641
|
-
def
|
642
|
-
data, _status_code, _headers =
|
643
|
-
|
672
|
+
# @return [Array<Integer>]
|
673
|
+
def get_corporations_corporation_id_members(corporation_id, opts = {})
|
674
|
+
data, _status_code, _headers = get_corporations_corporation_id_members_with_http_info(corporation_id, opts)
|
675
|
+
data
|
644
676
|
end
|
645
677
|
|
646
|
-
# Get corporation
|
647
|
-
# Return the
|
678
|
+
# Get corporation members
|
679
|
+
# Return the current member list of a corporation, the token's character need to be a member of the corporation. --- This route is cached for up to 3600 seconds
|
648
680
|
# @param corporation_id An EVE corporation ID
|
649
681
|
# @param [Hash] opts the optional parameters
|
650
682
|
# @option opts [String] :datasource The server name you would like data from
|
651
683
|
# @option opts [String] :token Access token to use if unable to set a header
|
652
684
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
653
685
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
654
|
-
# @return [Array<(Array<
|
655
|
-
def
|
686
|
+
# @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers
|
687
|
+
def get_corporations_corporation_id_members_with_http_info(corporation_id, opts = {})
|
656
688
|
if @api_client.config.debugging
|
657
|
-
@api_client.config.logger.debug
|
689
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_members ...'
|
658
690
|
end
|
659
691
|
# verify the required parameter 'corporation_id' is set
|
660
692
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
661
|
-
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.
|
693
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_members"
|
694
|
+
end
|
695
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
696
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_members, must be greater than or equal to 1.'
|
662
697
|
end
|
698
|
+
|
663
699
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
664
700
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
665
701
|
end
|
666
702
|
# resource path
|
667
|
-
local_var_path =
|
703
|
+
local_var_path = '/v3/corporations/{corporation_id}/members/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
668
704
|
|
669
705
|
# query parameters
|
670
706
|
query_params = {}
|
@@ -690,56 +726,56 @@ module ESIClient
|
|
690
726
|
:form_params => form_params,
|
691
727
|
:body => post_body,
|
692
728
|
:auth_names => auth_names,
|
693
|
-
:return_type => 'Array<
|
729
|
+
:return_type => 'Array<Integer>')
|
694
730
|
if @api_client.config.debugging
|
695
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
731
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
696
732
|
end
|
697
733
|
return data, status_code, headers
|
698
734
|
end
|
699
|
-
|
700
|
-
#
|
701
|
-
# Return the current member list of a corporation, the token's character need to be a member of the corporation. --- This route is cached for up to 3600 seconds
|
735
|
+
# Get corporation member limit
|
736
|
+
# Return a corporation's member limit, not including CEO himself --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
702
737
|
# @param corporation_id An EVE corporation ID
|
703
738
|
# @param [Hash] opts the optional parameters
|
704
739
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
705
|
-
# @option opts [Integer] :page Which page of results to return (default to 1)
|
706
740
|
# @option opts [String] :token Access token to use if unable to set a header
|
707
741
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
708
742
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
709
|
-
# @return [
|
710
|
-
def
|
711
|
-
data, _status_code, _headers =
|
712
|
-
|
743
|
+
# @return [Integer]
|
744
|
+
def get_corporations_corporation_id_members_limit(corporation_id, opts = {})
|
745
|
+
data, _status_code, _headers = get_corporations_corporation_id_members_limit_with_http_info(corporation_id, opts)
|
746
|
+
data
|
713
747
|
end
|
714
748
|
|
715
|
-
# Get corporation
|
716
|
-
# Return
|
749
|
+
# Get corporation member limit
|
750
|
+
# Return a corporation's member limit, not including CEO himself --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
717
751
|
# @param corporation_id An EVE corporation ID
|
718
752
|
# @param [Hash] opts the optional parameters
|
719
753
|
# @option opts [String] :datasource The server name you would like data from
|
720
|
-
# @option opts [Integer] :page Which page of results to return
|
721
754
|
# @option opts [String] :token Access token to use if unable to set a header
|
722
755
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
723
756
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
724
|
-
# @return [Array<(
|
725
|
-
def
|
757
|
+
# @return [Array<(Integer, Fixnum, Hash)>] Integer data, response status code and response headers
|
758
|
+
def get_corporations_corporation_id_members_limit_with_http_info(corporation_id, opts = {})
|
726
759
|
if @api_client.config.debugging
|
727
|
-
@api_client.config.logger.debug
|
760
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_members_limit ...'
|
728
761
|
end
|
729
762
|
# verify the required parameter 'corporation_id' is set
|
730
763
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
731
|
-
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.
|
764
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_members_limit"
|
732
765
|
end
|
766
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
767
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_members_limit, must be greater than or equal to 1.'
|
768
|
+
end
|
769
|
+
|
733
770
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
734
771
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
735
772
|
end
|
736
773
|
# resource path
|
737
|
-
local_var_path =
|
774
|
+
local_var_path = '/v1/corporations/{corporation_id}/members/limit/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
738
775
|
|
739
776
|
# query parameters
|
740
777
|
query_params = {}
|
741
778
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
742
|
-
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
743
779
|
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
744
780
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
745
781
|
|
@@ -761,56 +797,56 @@ module ESIClient
|
|
761
797
|
:form_params => form_params,
|
762
798
|
:body => post_body,
|
763
799
|
:auth_names => auth_names,
|
764
|
-
:return_type => '
|
800
|
+
:return_type => 'Integer')
|
765
801
|
if @api_client.config.debugging
|
766
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
802
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_members_limit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
767
803
|
end
|
768
804
|
return data, status_code, headers
|
769
805
|
end
|
770
|
-
|
771
|
-
#
|
772
|
-
# Return corporation standings from agents, NPC corporations, and factions --- This route is cached for up to 3600 seconds
|
806
|
+
# Get corporation's members' titles
|
807
|
+
# Returns a corporation's members' titles --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
773
808
|
# @param corporation_id An EVE corporation ID
|
774
809
|
# @param [Hash] opts the optional parameters
|
775
810
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
776
|
-
# @option opts [Integer] :page Which page of results to return (default to 1)
|
777
811
|
# @option opts [String] :token Access token to use if unable to set a header
|
778
812
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
779
813
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
780
|
-
# @return [Array<
|
781
|
-
def
|
782
|
-
data, _status_code, _headers =
|
783
|
-
|
814
|
+
# @return [Array<GetCorporationsCorporationIdMembersTitles200Ok>]
|
815
|
+
def get_corporations_corporation_id_members_titles(corporation_id, opts = {})
|
816
|
+
data, _status_code, _headers = get_corporations_corporation_id_members_titles_with_http_info(corporation_id, opts)
|
817
|
+
data
|
784
818
|
end
|
785
819
|
|
786
|
-
# Get corporation
|
787
|
-
#
|
820
|
+
# Get corporation's members' titles
|
821
|
+
# Returns a corporation's members' titles --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
788
822
|
# @param corporation_id An EVE corporation ID
|
789
823
|
# @param [Hash] opts the optional parameters
|
790
824
|
# @option opts [String] :datasource The server name you would like data from
|
791
|
-
# @option opts [Integer] :page Which page of results to return
|
792
825
|
# @option opts [String] :token Access token to use if unable to set a header
|
793
826
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
794
827
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
795
|
-
# @return [Array<(Array<
|
796
|
-
def
|
828
|
+
# @return [Array<(Array<GetCorporationsCorporationIdMembersTitles200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdMembersTitles200Ok> data, response status code and response headers
|
829
|
+
def get_corporations_corporation_id_members_titles_with_http_info(corporation_id, opts = {})
|
797
830
|
if @api_client.config.debugging
|
798
|
-
@api_client.config.logger.debug
|
831
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_members_titles ...'
|
799
832
|
end
|
800
833
|
# verify the required parameter 'corporation_id' is set
|
801
834
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
802
|
-
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.
|
835
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_members_titles"
|
803
836
|
end
|
837
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
838
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_members_titles, must be greater than or equal to 1.'
|
839
|
+
end
|
840
|
+
|
804
841
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
805
842
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
806
843
|
end
|
807
844
|
# resource path
|
808
|
-
local_var_path =
|
845
|
+
local_var_path = '/v1/corporations/{corporation_id}/members/titles/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
809
846
|
|
810
847
|
# query parameters
|
811
848
|
query_params = {}
|
812
849
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
813
|
-
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
814
850
|
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
815
851
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
816
852
|
|
@@ -832,62 +868,56 @@ module ESIClient
|
|
832
868
|
:form_params => form_params,
|
833
869
|
:body => post_body,
|
834
870
|
:auth_names => auth_names,
|
835
|
-
:return_type => 'Array<
|
871
|
+
:return_type => 'Array<GetCorporationsCorporationIdMembersTitles200Ok>')
|
836
872
|
if @api_client.config.debugging
|
837
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
873
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_members_titles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
838
874
|
end
|
839
875
|
return data, status_code, headers
|
840
876
|
end
|
841
|
-
|
842
|
-
#
|
843
|
-
# Get a list of corporation structures --- This route is cached for up to 3600 seconds
|
877
|
+
# Track corporation members
|
878
|
+
# Returns additional information about a corporation's members which helps tracking their activities --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
844
879
|
# @param corporation_id An EVE corporation ID
|
845
880
|
# @param [Hash] opts the optional parameters
|
846
881
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
847
|
-
# @option opts [String] :language Language to use in the response (default to en-us)
|
848
|
-
# @option opts [Integer] :page Which page of results to return (default to 1)
|
849
882
|
# @option opts [String] :token Access token to use if unable to set a header
|
850
883
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
851
884
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
852
|
-
# @return [Array<
|
853
|
-
def
|
854
|
-
data, _status_code, _headers =
|
855
|
-
|
885
|
+
# @return [Array<GetCorporationsCorporationIdMembertracking200Ok>]
|
886
|
+
def get_corporations_corporation_id_membertracking(corporation_id, opts = {})
|
887
|
+
data, _status_code, _headers = get_corporations_corporation_id_membertracking_with_http_info(corporation_id, opts)
|
888
|
+
data
|
856
889
|
end
|
857
890
|
|
858
|
-
#
|
859
|
-
#
|
891
|
+
# Track corporation members
|
892
|
+
# Returns additional information about a corporation's members which helps tracking their activities --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
860
893
|
# @param corporation_id An EVE corporation ID
|
861
894
|
# @param [Hash] opts the optional parameters
|
862
895
|
# @option opts [String] :datasource The server name you would like data from
|
863
|
-
# @option opts [String] :language Language to use in the response
|
864
|
-
# @option opts [Integer] :page Which page of results to return
|
865
896
|
# @option opts [String] :token Access token to use if unable to set a header
|
866
897
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
867
898
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
868
|
-
# @return [Array<(Array<
|
869
|
-
def
|
899
|
+
# @return [Array<(Array<GetCorporationsCorporationIdMembertracking200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdMembertracking200Ok> data, response status code and response headers
|
900
|
+
def get_corporations_corporation_id_membertracking_with_http_info(corporation_id, opts = {})
|
870
901
|
if @api_client.config.debugging
|
871
|
-
@api_client.config.logger.debug
|
902
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_membertracking ...'
|
872
903
|
end
|
873
904
|
# verify the required parameter 'corporation_id' is set
|
874
905
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
875
|
-
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.
|
906
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_membertracking"
|
876
907
|
end
|
908
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
909
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_membertracking, must be greater than or equal to 1.'
|
910
|
+
end
|
911
|
+
|
877
912
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
878
913
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
879
914
|
end
|
880
|
-
if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh'].include?(opts[:'language'])
|
881
|
-
fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh'
|
882
|
-
end
|
883
915
|
# resource path
|
884
|
-
local_var_path =
|
916
|
+
local_var_path = '/v1/corporations/{corporation_id}/membertracking/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
885
917
|
|
886
918
|
# query parameters
|
887
919
|
query_params = {}
|
888
920
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
889
|
-
query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?
|
890
|
-
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
891
921
|
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
892
922
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
893
923
|
|
@@ -909,53 +939,59 @@ module ESIClient
|
|
909
939
|
:form_params => form_params,
|
910
940
|
:body => post_body,
|
911
941
|
:auth_names => auth_names,
|
912
|
-
:return_type => 'Array<
|
942
|
+
:return_type => 'Array<GetCorporationsCorporationIdMembertracking200Ok>')
|
913
943
|
if @api_client.config.debugging
|
914
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
944
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_membertracking\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
915
945
|
end
|
916
946
|
return data, status_code, headers
|
917
947
|
end
|
918
|
-
|
919
|
-
# Get corporation
|
920
|
-
# Returns a corporation's titles --- This route is cached for up to 3600 seconds
|
948
|
+
# Get corporation outposts
|
949
|
+
# Get a list of corporation outpost IDs Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: https://community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/ --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
921
950
|
# @param corporation_id An EVE corporation ID
|
922
951
|
# @param [Hash] opts the optional parameters
|
923
952
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
953
|
+
# @option opts [Integer] :page Which page of results to return (default to 1)
|
924
954
|
# @option opts [String] :token Access token to use if unable to set a header
|
925
955
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
926
956
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
927
|
-
# @return [Array<
|
928
|
-
def
|
929
|
-
data, _status_code, _headers =
|
930
|
-
|
957
|
+
# @return [Array<Integer>]
|
958
|
+
def get_corporations_corporation_id_outposts(corporation_id, opts = {})
|
959
|
+
data, _status_code, _headers = get_corporations_corporation_id_outposts_with_http_info(corporation_id, opts)
|
960
|
+
data
|
931
961
|
end
|
932
962
|
|
933
|
-
# Get corporation
|
934
|
-
#
|
963
|
+
# Get corporation outposts
|
964
|
+
# Get a list of corporation outpost IDs Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: https://community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/ --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
935
965
|
# @param corporation_id An EVE corporation ID
|
936
966
|
# @param [Hash] opts the optional parameters
|
937
967
|
# @option opts [String] :datasource The server name you would like data from
|
968
|
+
# @option opts [Integer] :page Which page of results to return
|
938
969
|
# @option opts [String] :token Access token to use if unable to set a header
|
939
970
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
940
971
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
941
|
-
# @return [Array<(Array<
|
942
|
-
def
|
972
|
+
# @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers
|
973
|
+
def get_corporations_corporation_id_outposts_with_http_info(corporation_id, opts = {})
|
943
974
|
if @api_client.config.debugging
|
944
|
-
@api_client.config.logger.debug
|
975
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_outposts ...'
|
945
976
|
end
|
946
977
|
# verify the required parameter 'corporation_id' is set
|
947
978
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
948
|
-
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.
|
979
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_outposts"
|
949
980
|
end
|
981
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
982
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_outposts, must be greater than or equal to 1.'
|
983
|
+
end
|
984
|
+
|
950
985
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
951
986
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
952
987
|
end
|
953
988
|
# resource path
|
954
|
-
local_var_path =
|
989
|
+
local_var_path = '/v1/corporations/{corporation_id}/outposts/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
955
990
|
|
956
991
|
# query parameters
|
957
992
|
query_params = {}
|
958
993
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
994
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
959
995
|
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
960
996
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
961
997
|
|
@@ -977,60 +1013,63 @@ module ESIClient
|
|
977
1013
|
:form_params => form_params,
|
978
1014
|
:body => post_body,
|
979
1015
|
:auth_names => auth_names,
|
980
|
-
:return_type => 'Array<
|
1016
|
+
:return_type => 'Array<Integer>')
|
981
1017
|
if @api_client.config.debugging
|
982
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
1018
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_outposts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
983
1019
|
end
|
984
1020
|
return data, status_code, headers
|
985
1021
|
end
|
986
|
-
|
987
|
-
# Get corporation
|
988
|
-
#
|
989
|
-
# @param
|
1022
|
+
# Get corporation outpost details
|
1023
|
+
# Get details about a given outpost. Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: https://community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/ --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1024
|
+
# @param corporation_id An EVE corporation ID
|
1025
|
+
# @param outpost_id A station (outpost) ID
|
990
1026
|
# @param [Hash] opts the optional parameters
|
991
1027
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1028
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
992
1029
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
993
1030
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
994
|
-
# @return [
|
995
|
-
def
|
996
|
-
data, _status_code, _headers =
|
997
|
-
|
1031
|
+
# @return [GetCorporationsCorporationIdOutpostsOutpostIdOk]
|
1032
|
+
def get_corporations_corporation_id_outposts_outpost_id(corporation_id, outpost_id, opts = {})
|
1033
|
+
data, _status_code, _headers = get_corporations_corporation_id_outposts_outpost_id_with_http_info(corporation_id, outpost_id, opts)
|
1034
|
+
data
|
998
1035
|
end
|
999
1036
|
|
1000
|
-
# Get corporation
|
1001
|
-
#
|
1002
|
-
# @param
|
1037
|
+
# Get corporation outpost details
|
1038
|
+
# Get details about a given outpost. Note: This endpoint will be removed once outposts are migrated to Citadels as talked about in this blog: https://community.eveonline.com/news/dev-blogs/the-next-steps-in-structure-transition/ --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1039
|
+
# @param corporation_id An EVE corporation ID
|
1040
|
+
# @param outpost_id A station (outpost) ID
|
1003
1041
|
# @param [Hash] opts the optional parameters
|
1004
1042
|
# @option opts [String] :datasource The server name you would like data from
|
1043
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1005
1044
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1006
1045
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1007
|
-
# @return [Array<(
|
1008
|
-
def
|
1046
|
+
# @return [Array<(GetCorporationsCorporationIdOutpostsOutpostIdOk, Fixnum, Hash)>] GetCorporationsCorporationIdOutpostsOutpostIdOk data, response status code and response headers
|
1047
|
+
def get_corporations_corporation_id_outposts_outpost_id_with_http_info(corporation_id, outpost_id, opts = {})
|
1009
1048
|
if @api_client.config.debugging
|
1010
|
-
@api_client.config.logger.debug
|
1049
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_outposts_outpost_id ...'
|
1011
1050
|
end
|
1012
|
-
# verify the required parameter '
|
1013
|
-
if @api_client.config.client_side_validation &&
|
1014
|
-
fail ArgumentError, "Missing the required parameter '
|
1051
|
+
# verify the required parameter 'corporation_id' is set
|
1052
|
+
if @api_client.config.client_side_validation && corporation_id.nil?
|
1053
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_outposts_outpost_id"
|
1015
1054
|
end
|
1016
|
-
if @api_client.config.client_side_validation &&
|
1017
|
-
fail ArgumentError, 'invalid value for "
|
1055
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
1056
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_outposts_outpost_id, must be greater than or equal to 1.'
|
1018
1057
|
end
|
1019
1058
|
|
1020
|
-
|
1021
|
-
|
1059
|
+
# verify the required parameter 'outpost_id' is set
|
1060
|
+
if @api_client.config.client_side_validation && outpost_id.nil?
|
1061
|
+
fail ArgumentError, "Missing the required parameter 'outpost_id' when calling CorporationApi.get_corporations_corporation_id_outposts_outpost_id"
|
1022
1062
|
end
|
1023
|
-
|
1024
1063
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1025
1064
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1026
1065
|
end
|
1027
1066
|
# resource path
|
1028
|
-
local_var_path =
|
1067
|
+
local_var_path = '/v1/corporations/{corporation_id}/outposts/{outpost_id}/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s).sub('{' + 'outpost_id' + '}', outpost_id.to_s)
|
1029
1068
|
|
1030
1069
|
# query parameters
|
1031
1070
|
query_params = {}
|
1032
|
-
query_params[:'corporation_ids'] = @api_client.build_collection_param(corporation_ids, :csv)
|
1033
1071
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1072
|
+
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
1034
1073
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1035
1074
|
|
1036
1075
|
# header parameters
|
@@ -1044,52 +1083,64 @@ module ESIClient
|
|
1044
1083
|
|
1045
1084
|
# http body (model)
|
1046
1085
|
post_body = nil
|
1047
|
-
auth_names = []
|
1086
|
+
auth_names = ['evesso']
|
1048
1087
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1049
1088
|
:header_params => header_params,
|
1050
1089
|
:query_params => query_params,
|
1051
1090
|
:form_params => form_params,
|
1052
1091
|
:body => post_body,
|
1053
1092
|
:auth_names => auth_names,
|
1054
|
-
:return_type => '
|
1093
|
+
:return_type => 'GetCorporationsCorporationIdOutpostsOutpostIdOk')
|
1055
1094
|
if @api_client.config.debugging
|
1056
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
1095
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_outposts_outpost_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1057
1096
|
end
|
1058
1097
|
return data, status_code, headers
|
1059
1098
|
end
|
1060
|
-
|
1061
|
-
#
|
1062
|
-
#
|
1099
|
+
# Get corporation member roles
|
1100
|
+
# Return the roles of all members if the character has the personnel manager role or any grantable role. --- This route is cached for up to 3600 seconds
|
1101
|
+
# @param corporation_id An EVE corporation ID
|
1063
1102
|
# @param [Hash] opts the optional parameters
|
1064
1103
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1104
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1065
1105
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1066
1106
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1067
|
-
# @return [Array<
|
1068
|
-
def
|
1069
|
-
data, _status_code, _headers =
|
1070
|
-
|
1107
|
+
# @return [Array<GetCorporationsCorporationIdRoles200Ok>]
|
1108
|
+
def get_corporations_corporation_id_roles(corporation_id, opts = {})
|
1109
|
+
data, _status_code, _headers = get_corporations_corporation_id_roles_with_http_info(corporation_id, opts)
|
1110
|
+
data
|
1071
1111
|
end
|
1072
1112
|
|
1073
|
-
# Get
|
1074
|
-
#
|
1113
|
+
# Get corporation member roles
|
1114
|
+
# Return the roles of all members if the character has the personnel manager role or any grantable role. --- This route is cached for up to 3600 seconds
|
1115
|
+
# @param corporation_id An EVE corporation ID
|
1075
1116
|
# @param [Hash] opts the optional parameters
|
1076
1117
|
# @option opts [String] :datasource The server name you would like data from
|
1118
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1077
1119
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1078
1120
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1079
|
-
# @return [Array<(Array<
|
1080
|
-
def
|
1121
|
+
# @return [Array<(Array<GetCorporationsCorporationIdRoles200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdRoles200Ok> data, response status code and response headers
|
1122
|
+
def get_corporations_corporation_id_roles_with_http_info(corporation_id, opts = {})
|
1081
1123
|
if @api_client.config.debugging
|
1082
|
-
@api_client.config.logger.debug
|
1124
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_roles ...'
|
1125
|
+
end
|
1126
|
+
# verify the required parameter 'corporation_id' is set
|
1127
|
+
if @api_client.config.client_side_validation && corporation_id.nil?
|
1128
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_roles"
|
1129
|
+
end
|
1130
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
1131
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_roles, must be greater than or equal to 1.'
|
1083
1132
|
end
|
1133
|
+
|
1084
1134
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1085
1135
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1086
1136
|
end
|
1087
1137
|
# resource path
|
1088
|
-
local_var_path =
|
1138
|
+
local_var_path = '/v1/corporations/{corporation_id}/roles/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
1089
1139
|
|
1090
1140
|
# query parameters
|
1091
1141
|
query_params = {}
|
1092
1142
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1143
|
+
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
1093
1144
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1094
1145
|
|
1095
1146
|
# header parameters
|
@@ -1103,72 +1154,288 @@ module ESIClient
|
|
1103
1154
|
|
1104
1155
|
# http body (model)
|
1105
1156
|
post_body = nil
|
1106
|
-
auth_names = []
|
1157
|
+
auth_names = ['evesso']
|
1107
1158
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1108
1159
|
:header_params => header_params,
|
1109
1160
|
:query_params => query_params,
|
1110
1161
|
:form_params => form_params,
|
1111
1162
|
:body => post_body,
|
1112
1163
|
:auth_names => auth_names,
|
1113
|
-
:return_type => 'Array<
|
1164
|
+
:return_type => 'Array<GetCorporationsCorporationIdRoles200Ok>')
|
1114
1165
|
if @api_client.config.debugging
|
1115
|
-
@api_client.config.logger.debug "API called: CorporationApi#
|
1166
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1167
|
+
end
|
1168
|
+
return data, status_code, headers
|
1169
|
+
end
|
1170
|
+
# Get corporation member roles history
|
1171
|
+
# Return how roles have changed for a coporation's members, up to a month --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1172
|
+
# @param corporation_id An EVE corporation ID
|
1173
|
+
# @param [Hash] opts the optional parameters
|
1174
|
+
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1175
|
+
# @option opts [Integer] :page Which page of results to return (default to 1)
|
1176
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1177
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1178
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1179
|
+
# @return [Array<GetCorporationsCorporationIdRolesHistory200Ok>]
|
1180
|
+
def get_corporations_corporation_id_roles_history(corporation_id, opts = {})
|
1181
|
+
data, _status_code, _headers = get_corporations_corporation_id_roles_history_with_http_info(corporation_id, opts)
|
1182
|
+
data
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# Get corporation member roles history
|
1186
|
+
# Return how roles have changed for a coporation's members, up to a month --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1187
|
+
# @param corporation_id An EVE corporation ID
|
1188
|
+
# @param [Hash] opts the optional parameters
|
1189
|
+
# @option opts [String] :datasource The server name you would like data from
|
1190
|
+
# @option opts [Integer] :page Which page of results to return
|
1191
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1192
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1193
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1194
|
+
# @return [Array<(Array<GetCorporationsCorporationIdRolesHistory200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdRolesHistory200Ok> data, response status code and response headers
|
1195
|
+
def get_corporations_corporation_id_roles_history_with_http_info(corporation_id, opts = {})
|
1196
|
+
if @api_client.config.debugging
|
1197
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_roles_history ...'
|
1198
|
+
end
|
1199
|
+
# verify the required parameter 'corporation_id' is set
|
1200
|
+
if @api_client.config.client_side_validation && corporation_id.nil?
|
1201
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_roles_history"
|
1202
|
+
end
|
1203
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
1204
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_roles_history, must be greater than or equal to 1.'
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1208
|
+
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1209
|
+
end
|
1210
|
+
# resource path
|
1211
|
+
local_var_path = '/v1/corporations/{corporation_id}/roles/history/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
1212
|
+
|
1213
|
+
# query parameters
|
1214
|
+
query_params = {}
|
1215
|
+
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1216
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1217
|
+
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
1218
|
+
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1219
|
+
|
1220
|
+
# header parameters
|
1221
|
+
header_params = {}
|
1222
|
+
# HTTP header 'Accept' (if needed)
|
1223
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1224
|
+
header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil?
|
1225
|
+
|
1226
|
+
# form parameters
|
1227
|
+
form_params = {}
|
1228
|
+
|
1229
|
+
# http body (model)
|
1230
|
+
post_body = nil
|
1231
|
+
auth_names = ['evesso']
|
1232
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1233
|
+
:header_params => header_params,
|
1234
|
+
:query_params => query_params,
|
1235
|
+
:form_params => form_params,
|
1236
|
+
:body => post_body,
|
1237
|
+
:auth_names => auth_names,
|
1238
|
+
:return_type => 'Array<GetCorporationsCorporationIdRolesHistory200Ok>')
|
1239
|
+
if @api_client.config.debugging
|
1240
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_roles_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1116
1241
|
end
|
1117
1242
|
return data, status_code, headers
|
1118
1243
|
end
|
1244
|
+
# Get corporation shareholders
|
1245
|
+
# Return the current shareholders of a corporation. --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1246
|
+
# @param corporation_id An EVE corporation ID
|
1247
|
+
# @param [Hash] opts the optional parameters
|
1248
|
+
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1249
|
+
# @option opts [Integer] :page Which page of results to return (default to 1)
|
1250
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1251
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1252
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1253
|
+
# @return [Array<GetCorporationsCorporationIdShareholders200Ok>]
|
1254
|
+
def get_corporations_corporation_id_shareholders(corporation_id, opts = {})
|
1255
|
+
data, _status_code, _headers = get_corporations_corporation_id_shareholders_with_http_info(corporation_id, opts)
|
1256
|
+
data
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
# Get corporation shareholders
|
1260
|
+
# Return the current shareholders of a corporation. --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1261
|
+
# @param corporation_id An EVE corporation ID
|
1262
|
+
# @param [Hash] opts the optional parameters
|
1263
|
+
# @option opts [String] :datasource The server name you would like data from
|
1264
|
+
# @option opts [Integer] :page Which page of results to return
|
1265
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1266
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1267
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1268
|
+
# @return [Array<(Array<GetCorporationsCorporationIdShareholders200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdShareholders200Ok> data, response status code and response headers
|
1269
|
+
def get_corporations_corporation_id_shareholders_with_http_info(corporation_id, opts = {})
|
1270
|
+
if @api_client.config.debugging
|
1271
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_shareholders ...'
|
1272
|
+
end
|
1273
|
+
# verify the required parameter 'corporation_id' is set
|
1274
|
+
if @api_client.config.client_side_validation && corporation_id.nil?
|
1275
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_shareholders"
|
1276
|
+
end
|
1277
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
1278
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_shareholders, must be greater than or equal to 1.'
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1282
|
+
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1283
|
+
end
|
1284
|
+
# resource path
|
1285
|
+
local_var_path = '/v1/corporations/{corporation_id}/shareholders/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
1286
|
+
|
1287
|
+
# query parameters
|
1288
|
+
query_params = {}
|
1289
|
+
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1290
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1291
|
+
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
1292
|
+
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1293
|
+
|
1294
|
+
# header parameters
|
1295
|
+
header_params = {}
|
1296
|
+
# HTTP header 'Accept' (if needed)
|
1297
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1298
|
+
header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil?
|
1299
|
+
|
1300
|
+
# form parameters
|
1301
|
+
form_params = {}
|
1119
1302
|
|
1120
|
-
|
1121
|
-
|
1303
|
+
# http body (model)
|
1304
|
+
post_body = nil
|
1305
|
+
auth_names = ['evesso']
|
1306
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1307
|
+
:header_params => header_params,
|
1308
|
+
:query_params => query_params,
|
1309
|
+
:form_params => form_params,
|
1310
|
+
:body => post_body,
|
1311
|
+
:auth_names => auth_names,
|
1312
|
+
:return_type => 'Array<GetCorporationsCorporationIdShareholders200Ok>')
|
1313
|
+
if @api_client.config.debugging
|
1314
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_shareholders\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1315
|
+
end
|
1316
|
+
return data, status_code, headers
|
1317
|
+
end
|
1318
|
+
# Get corporation standings
|
1319
|
+
# Return corporation standings from agents, NPC corporations, and factions --- This route is cached for up to 3600 seconds
|
1122
1320
|
# @param corporation_id An EVE corporation ID
|
1123
|
-
# @param new_schedule New vulnerability window schedule for the structure
|
1124
|
-
# @param structure_id A structure ID
|
1125
1321
|
# @param [Hash] opts the optional parameters
|
1126
1322
|
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1323
|
+
# @option opts [Integer] :page Which page of results to return (default to 1)
|
1127
1324
|
# @option opts [String] :token Access token to use if unable to set a header
|
1128
1325
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1129
1326
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1130
|
-
# @return [
|
1131
|
-
def
|
1132
|
-
|
1133
|
-
|
1327
|
+
# @return [Array<GetCorporationsCorporationIdStandings200Ok>]
|
1328
|
+
def get_corporations_corporation_id_standings(corporation_id, opts = {})
|
1329
|
+
data, _status_code, _headers = get_corporations_corporation_id_standings_with_http_info(corporation_id, opts)
|
1330
|
+
data
|
1134
1331
|
end
|
1135
1332
|
|
1136
|
-
#
|
1137
|
-
#
|
1333
|
+
# Get corporation standings
|
1334
|
+
# Return corporation standings from agents, NPC corporations, and factions --- This route is cached for up to 3600 seconds
|
1138
1335
|
# @param corporation_id An EVE corporation ID
|
1139
|
-
# @param new_schedule New vulnerability window schedule for the structure
|
1140
|
-
# @param structure_id A structure ID
|
1141
1336
|
# @param [Hash] opts the optional parameters
|
1142
1337
|
# @option opts [String] :datasource The server name you would like data from
|
1338
|
+
# @option opts [Integer] :page Which page of results to return
|
1143
1339
|
# @option opts [String] :token Access token to use if unable to set a header
|
1144
1340
|
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1145
1341
|
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1146
|
-
# @return [Array<(
|
1147
|
-
def
|
1342
|
+
# @return [Array<(Array<GetCorporationsCorporationIdStandings200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdStandings200Ok> data, response status code and response headers
|
1343
|
+
def get_corporations_corporation_id_standings_with_http_info(corporation_id, opts = {})
|
1148
1344
|
if @api_client.config.debugging
|
1149
|
-
@api_client.config.logger.debug
|
1345
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_standings ...'
|
1150
1346
|
end
|
1151
1347
|
# verify the required parameter 'corporation_id' is set
|
1152
1348
|
if @api_client.config.client_side_validation && corporation_id.nil?
|
1153
|
-
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.
|
1349
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_standings"
|
1350
|
+
end
|
1351
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
1352
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_standings, must be greater than or equal to 1.'
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1356
|
+
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1357
|
+
end
|
1358
|
+
# resource path
|
1359
|
+
local_var_path = '/v1/corporations/{corporation_id}/standings/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
1360
|
+
|
1361
|
+
# query parameters
|
1362
|
+
query_params = {}
|
1363
|
+
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1364
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1365
|
+
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
1366
|
+
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1367
|
+
|
1368
|
+
# header parameters
|
1369
|
+
header_params = {}
|
1370
|
+
# HTTP header 'Accept' (if needed)
|
1371
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1372
|
+
header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil?
|
1373
|
+
|
1374
|
+
# form parameters
|
1375
|
+
form_params = {}
|
1376
|
+
|
1377
|
+
# http body (model)
|
1378
|
+
post_body = nil
|
1379
|
+
auth_names = ['evesso']
|
1380
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1381
|
+
:header_params => header_params,
|
1382
|
+
:query_params => query_params,
|
1383
|
+
:form_params => form_params,
|
1384
|
+
:body => post_body,
|
1385
|
+
:auth_names => auth_names,
|
1386
|
+
:return_type => 'Array<GetCorporationsCorporationIdStandings200Ok>')
|
1387
|
+
if @api_client.config.debugging
|
1388
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_standings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1389
|
+
end
|
1390
|
+
return data, status_code, headers
|
1391
|
+
end
|
1392
|
+
# Get corporation starbases (POSes)
|
1393
|
+
# Returns list of corporation starbases (POSes) --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1394
|
+
# @param corporation_id An EVE corporation ID
|
1395
|
+
# @param [Hash] opts the optional parameters
|
1396
|
+
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1397
|
+
# @option opts [Integer] :page Which page of results to return (default to 1)
|
1398
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1399
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1400
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1401
|
+
# @return [Array<GetCorporationsCorporationIdStarbases200Ok>]
|
1402
|
+
def get_corporations_corporation_id_starbases(corporation_id, opts = {})
|
1403
|
+
data, _status_code, _headers = get_corporations_corporation_id_starbases_with_http_info(corporation_id, opts)
|
1404
|
+
data
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
# Get corporation starbases (POSes)
|
1408
|
+
# Returns list of corporation starbases (POSes) --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1409
|
+
# @param corporation_id An EVE corporation ID
|
1410
|
+
# @param [Hash] opts the optional parameters
|
1411
|
+
# @option opts [String] :datasource The server name you would like data from
|
1412
|
+
# @option opts [Integer] :page Which page of results to return
|
1413
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1414
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1415
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1416
|
+
# @return [Array<(Array<GetCorporationsCorporationIdStarbases200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdStarbases200Ok> data, response status code and response headers
|
1417
|
+
def get_corporations_corporation_id_starbases_with_http_info(corporation_id, opts = {})
|
1418
|
+
if @api_client.config.debugging
|
1419
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_starbases ...'
|
1154
1420
|
end
|
1155
|
-
# verify the required parameter '
|
1156
|
-
if @api_client.config.client_side_validation &&
|
1157
|
-
fail ArgumentError, "Missing the required parameter '
|
1421
|
+
# verify the required parameter 'corporation_id' is set
|
1422
|
+
if @api_client.config.client_side_validation && corporation_id.nil?
|
1423
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_starbases"
|
1158
1424
|
end
|
1159
|
-
|
1160
|
-
|
1161
|
-
fail ArgumentError, "Missing the required parameter 'structure_id' when calling CorporationApi.put_corporations_corporation_id_structures_structure_id"
|
1425
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
1426
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_starbases, must be greater than or equal to 1.'
|
1162
1427
|
end
|
1428
|
+
|
1163
1429
|
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1164
1430
|
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1165
1431
|
end
|
1166
1432
|
# resource path
|
1167
|
-
local_var_path =
|
1433
|
+
local_var_path = '/v1/corporations/{corporation_id}/starbases/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
1168
1434
|
|
1169
1435
|
# query parameters
|
1170
1436
|
query_params = {}
|
1171
1437
|
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1438
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1172
1439
|
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
1173
1440
|
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1174
1441
|
|
@@ -1182,16 +1449,383 @@ module ESIClient
|
|
1182
1449
|
form_params = {}
|
1183
1450
|
|
1184
1451
|
# http body (model)
|
1185
|
-
post_body =
|
1452
|
+
post_body = nil
|
1186
1453
|
auth_names = ['evesso']
|
1187
|
-
data, status_code, headers = @api_client.call_api(:
|
1454
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1188
1455
|
:header_params => header_params,
|
1189
1456
|
:query_params => query_params,
|
1190
1457
|
:form_params => form_params,
|
1191
1458
|
:body => post_body,
|
1192
|
-
:auth_names => auth_names
|
1459
|
+
:auth_names => auth_names,
|
1460
|
+
:return_type => 'Array<GetCorporationsCorporationIdStarbases200Ok>')
|
1461
|
+
if @api_client.config.debugging
|
1462
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_starbases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1463
|
+
end
|
1464
|
+
return data, status_code, headers
|
1465
|
+
end
|
1466
|
+
# Get starbase (POS) detail
|
1467
|
+
# Returns various settings and fuels of a starbase (POS) --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1468
|
+
# @param corporation_id An EVE corporation ID
|
1469
|
+
# @param starbase_id An EVE starbase (POS) ID
|
1470
|
+
# @param system_id The solar system this starbase (POS) is located in,
|
1471
|
+
# @param [Hash] opts the optional parameters
|
1472
|
+
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1473
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1474
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1475
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1476
|
+
# @return [GetCorporationsCorporationIdStarbasesStarbaseIdOk]
|
1477
|
+
def get_corporations_corporation_id_starbases_starbase_id(corporation_id, starbase_id, system_id, opts = {})
|
1478
|
+
data, _status_code, _headers = get_corporations_corporation_id_starbases_starbase_id_with_http_info(corporation_id, starbase_id, system_id, opts)
|
1479
|
+
data
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
# Get starbase (POS) detail
|
1483
|
+
# Returns various settings and fuels of a starbase (POS) --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1484
|
+
# @param corporation_id An EVE corporation ID
|
1485
|
+
# @param starbase_id An EVE starbase (POS) ID
|
1486
|
+
# @param system_id The solar system this starbase (POS) is located in,
|
1487
|
+
# @param [Hash] opts the optional parameters
|
1488
|
+
# @option opts [String] :datasource The server name you would like data from
|
1489
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1490
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1491
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1492
|
+
# @return [Array<(GetCorporationsCorporationIdStarbasesStarbaseIdOk, Fixnum, Hash)>] GetCorporationsCorporationIdStarbasesStarbaseIdOk data, response status code and response headers
|
1493
|
+
def get_corporations_corporation_id_starbases_starbase_id_with_http_info(corporation_id, starbase_id, system_id, opts = {})
|
1193
1494
|
if @api_client.config.debugging
|
1194
|
-
@api_client.config.logger.debug
|
1495
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_starbases_starbase_id ...'
|
1496
|
+
end
|
1497
|
+
# verify the required parameter 'corporation_id' is set
|
1498
|
+
if @api_client.config.client_side_validation && corporation_id.nil?
|
1499
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_starbases_starbase_id"
|
1500
|
+
end
|
1501
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
1502
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_starbases_starbase_id, must be greater than or equal to 1.'
|
1503
|
+
end
|
1504
|
+
|
1505
|
+
# verify the required parameter 'starbase_id' is set
|
1506
|
+
if @api_client.config.client_side_validation && starbase_id.nil?
|
1507
|
+
fail ArgumentError, "Missing the required parameter 'starbase_id' when calling CorporationApi.get_corporations_corporation_id_starbases_starbase_id"
|
1508
|
+
end
|
1509
|
+
# verify the required parameter 'system_id' is set
|
1510
|
+
if @api_client.config.client_side_validation && system_id.nil?
|
1511
|
+
fail ArgumentError, "Missing the required parameter 'system_id' when calling CorporationApi.get_corporations_corporation_id_starbases_starbase_id"
|
1512
|
+
end
|
1513
|
+
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1514
|
+
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1515
|
+
end
|
1516
|
+
# resource path
|
1517
|
+
local_var_path = '/v1/corporations/{corporation_id}/starbases/{starbase_id}/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s).sub('{' + 'starbase_id' + '}', starbase_id.to_s)
|
1518
|
+
|
1519
|
+
# query parameters
|
1520
|
+
query_params = {}
|
1521
|
+
query_params[:'system_id'] = system_id
|
1522
|
+
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1523
|
+
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
1524
|
+
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1525
|
+
|
1526
|
+
# header parameters
|
1527
|
+
header_params = {}
|
1528
|
+
# HTTP header 'Accept' (if needed)
|
1529
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1530
|
+
header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil?
|
1531
|
+
|
1532
|
+
# form parameters
|
1533
|
+
form_params = {}
|
1534
|
+
|
1535
|
+
# http body (model)
|
1536
|
+
post_body = nil
|
1537
|
+
auth_names = ['evesso']
|
1538
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1539
|
+
:header_params => header_params,
|
1540
|
+
:query_params => query_params,
|
1541
|
+
:form_params => form_params,
|
1542
|
+
:body => post_body,
|
1543
|
+
:auth_names => auth_names,
|
1544
|
+
:return_type => 'GetCorporationsCorporationIdStarbasesStarbaseIdOk')
|
1545
|
+
if @api_client.config.debugging
|
1546
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_starbases_starbase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1547
|
+
end
|
1548
|
+
return data, status_code, headers
|
1549
|
+
end
|
1550
|
+
# Get corporation structures
|
1551
|
+
# Get a list of corporation structures. This route's version includes the changes to structures detailed in this blog: https://www.eveonline.com/article/upwell-2.0-structures-changes-coming-on-february-13th --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): StationManager
|
1552
|
+
# @param corporation_id An EVE corporation ID
|
1553
|
+
# @param [Hash] opts the optional parameters
|
1554
|
+
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1555
|
+
# @option opts [String] :language Language to use in the response (default to en-us)
|
1556
|
+
# @option opts [Integer] :page Which page of results to return (default to 1)
|
1557
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1558
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1559
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1560
|
+
# @return [Array<GetCorporationsCorporationIdStructures200Ok>]
|
1561
|
+
def get_corporations_corporation_id_structures(corporation_id, opts = {})
|
1562
|
+
data, _status_code, _headers = get_corporations_corporation_id_structures_with_http_info(corporation_id, opts)
|
1563
|
+
data
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
# Get corporation structures
|
1567
|
+
# Get a list of corporation structures. This route's version includes the changes to structures detailed in this blog: https://www.eveonline.com/article/upwell-2.0-structures-changes-coming-on-february-13th --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): StationManager
|
1568
|
+
# @param corporation_id An EVE corporation ID
|
1569
|
+
# @param [Hash] opts the optional parameters
|
1570
|
+
# @option opts [String] :datasource The server name you would like data from
|
1571
|
+
# @option opts [String] :language Language to use in the response
|
1572
|
+
# @option opts [Integer] :page Which page of results to return
|
1573
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1574
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1575
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1576
|
+
# @return [Array<(Array<GetCorporationsCorporationIdStructures200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdStructures200Ok> data, response status code and response headers
|
1577
|
+
def get_corporations_corporation_id_structures_with_http_info(corporation_id, opts = {})
|
1578
|
+
if @api_client.config.debugging
|
1579
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_structures ...'
|
1580
|
+
end
|
1581
|
+
# verify the required parameter 'corporation_id' is set
|
1582
|
+
if @api_client.config.client_side_validation && corporation_id.nil?
|
1583
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_structures"
|
1584
|
+
end
|
1585
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
1586
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_structures, must be greater than or equal to 1.'
|
1587
|
+
end
|
1588
|
+
|
1589
|
+
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1590
|
+
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1591
|
+
end
|
1592
|
+
if @api_client.config.client_side_validation && opts[:'language'] && !['de', 'en-us', 'fr', 'ja', 'ru', 'zh'].include?(opts[:'language'])
|
1593
|
+
fail ArgumentError, 'invalid value for "language", must be one of de, en-us, fr, ja, ru, zh'
|
1594
|
+
end
|
1595
|
+
# resource path
|
1596
|
+
local_var_path = '/v2/corporations/{corporation_id}/structures/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
1597
|
+
|
1598
|
+
# query parameters
|
1599
|
+
query_params = {}
|
1600
|
+
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1601
|
+
query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?
|
1602
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1603
|
+
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
1604
|
+
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1605
|
+
|
1606
|
+
# header parameters
|
1607
|
+
header_params = {}
|
1608
|
+
# HTTP header 'Accept' (if needed)
|
1609
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1610
|
+
header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil?
|
1611
|
+
|
1612
|
+
# form parameters
|
1613
|
+
form_params = {}
|
1614
|
+
|
1615
|
+
# http body (model)
|
1616
|
+
post_body = nil
|
1617
|
+
auth_names = ['evesso']
|
1618
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1619
|
+
:header_params => header_params,
|
1620
|
+
:query_params => query_params,
|
1621
|
+
:form_params => form_params,
|
1622
|
+
:body => post_body,
|
1623
|
+
:auth_names => auth_names,
|
1624
|
+
:return_type => 'Array<GetCorporationsCorporationIdStructures200Ok>')
|
1625
|
+
if @api_client.config.debugging
|
1626
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_structures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1627
|
+
end
|
1628
|
+
return data, status_code, headers
|
1629
|
+
end
|
1630
|
+
# Get corporation titles
|
1631
|
+
# Returns a corporation's titles --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1632
|
+
# @param corporation_id An EVE corporation ID
|
1633
|
+
# @param [Hash] opts the optional parameters
|
1634
|
+
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1635
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1636
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1637
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1638
|
+
# @return [Array<GetCorporationsCorporationIdTitles200Ok>]
|
1639
|
+
def get_corporations_corporation_id_titles(corporation_id, opts = {})
|
1640
|
+
data, _status_code, _headers = get_corporations_corporation_id_titles_with_http_info(corporation_id, opts)
|
1641
|
+
data
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
# Get corporation titles
|
1645
|
+
# Returns a corporation's titles --- This route is cached for up to 3600 seconds --- Requires one of the following EVE corporation role(s): Director
|
1646
|
+
# @param corporation_id An EVE corporation ID
|
1647
|
+
# @param [Hash] opts the optional parameters
|
1648
|
+
# @option opts [String] :datasource The server name you would like data from
|
1649
|
+
# @option opts [String] :token Access token to use if unable to set a header
|
1650
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1651
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1652
|
+
# @return [Array<(Array<GetCorporationsCorporationIdTitles200Ok>, Fixnum, Hash)>] Array<GetCorporationsCorporationIdTitles200Ok> data, response status code and response headers
|
1653
|
+
def get_corporations_corporation_id_titles_with_http_info(corporation_id, opts = {})
|
1654
|
+
if @api_client.config.debugging
|
1655
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_corporation_id_titles ...'
|
1656
|
+
end
|
1657
|
+
# verify the required parameter 'corporation_id' is set
|
1658
|
+
if @api_client.config.client_side_validation && corporation_id.nil?
|
1659
|
+
fail ArgumentError, "Missing the required parameter 'corporation_id' when calling CorporationApi.get_corporations_corporation_id_titles"
|
1660
|
+
end
|
1661
|
+
if @api_client.config.client_side_validation && corporation_id < 1
|
1662
|
+
fail ArgumentError, 'invalid value for "corporation_id" when calling CorporationApi.get_corporations_corporation_id_titles, must be greater than or equal to 1.'
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1666
|
+
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1667
|
+
end
|
1668
|
+
# resource path
|
1669
|
+
local_var_path = '/v1/corporations/{corporation_id}/titles/'.sub('{' + 'corporation_id' + '}', corporation_id.to_s)
|
1670
|
+
|
1671
|
+
# query parameters
|
1672
|
+
query_params = {}
|
1673
|
+
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1674
|
+
query_params[:'token'] = opts[:'token'] if !opts[:'token'].nil?
|
1675
|
+
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1676
|
+
|
1677
|
+
# header parameters
|
1678
|
+
header_params = {}
|
1679
|
+
# HTTP header 'Accept' (if needed)
|
1680
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1681
|
+
header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil?
|
1682
|
+
|
1683
|
+
# form parameters
|
1684
|
+
form_params = {}
|
1685
|
+
|
1686
|
+
# http body (model)
|
1687
|
+
post_body = nil
|
1688
|
+
auth_names = ['evesso']
|
1689
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1690
|
+
:header_params => header_params,
|
1691
|
+
:query_params => query_params,
|
1692
|
+
:form_params => form_params,
|
1693
|
+
:body => post_body,
|
1694
|
+
:auth_names => auth_names,
|
1695
|
+
:return_type => 'Array<GetCorporationsCorporationIdTitles200Ok>')
|
1696
|
+
if @api_client.config.debugging
|
1697
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_corporation_id_titles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1698
|
+
end
|
1699
|
+
return data, status_code, headers
|
1700
|
+
end
|
1701
|
+
# Get corporation names
|
1702
|
+
# Resolve a set of corporation IDs to corporation names --- This route is cached for up to 3600 seconds
|
1703
|
+
# @param corporation_ids A comma separated list of corporation IDs
|
1704
|
+
# @param [Hash] opts the optional parameters
|
1705
|
+
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1706
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1707
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1708
|
+
# @return [Array<GetCorporationsNames200Ok>]
|
1709
|
+
def get_corporations_names(corporation_ids, opts = {})
|
1710
|
+
data, _status_code, _headers = get_corporations_names_with_http_info(corporation_ids, opts)
|
1711
|
+
data
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
# Get corporation names
|
1715
|
+
# Resolve a set of corporation IDs to corporation names --- This route is cached for up to 3600 seconds
|
1716
|
+
# @param corporation_ids A comma separated list of corporation IDs
|
1717
|
+
# @param [Hash] opts the optional parameters
|
1718
|
+
# @option opts [String] :datasource The server name you would like data from
|
1719
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1720
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1721
|
+
# @return [Array<(Array<GetCorporationsNames200Ok>, Fixnum, Hash)>] Array<GetCorporationsNames200Ok> data, response status code and response headers
|
1722
|
+
def get_corporations_names_with_http_info(corporation_ids, opts = {})
|
1723
|
+
if @api_client.config.debugging
|
1724
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_names ...'
|
1725
|
+
end
|
1726
|
+
# verify the required parameter 'corporation_ids' is set
|
1727
|
+
if @api_client.config.client_side_validation && corporation_ids.nil?
|
1728
|
+
fail ArgumentError, "Missing the required parameter 'corporation_ids' when calling CorporationApi.get_corporations_names"
|
1729
|
+
end
|
1730
|
+
if @api_client.config.client_side_validation && corporation_ids.length > 100
|
1731
|
+
fail ArgumentError, 'invalid value for "corporation_ids" when calling CorporationApi.get_corporations_names, number of items must be less than or equal to 100.'
|
1732
|
+
end
|
1733
|
+
|
1734
|
+
if @api_client.config.client_side_validation && corporation_ids.length < 1
|
1735
|
+
fail ArgumentError, 'invalid value for "corporation_ids" when calling CorporationApi.get_corporations_names, number of items must be greater than or equal to 1.'
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1739
|
+
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1740
|
+
end
|
1741
|
+
# resource path
|
1742
|
+
local_var_path = '/v2/corporations/names/'
|
1743
|
+
|
1744
|
+
# query parameters
|
1745
|
+
query_params = {}
|
1746
|
+
query_params[:'corporation_ids'] = @api_client.build_collection_param(corporation_ids, :csv)
|
1747
|
+
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1748
|
+
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1749
|
+
|
1750
|
+
# header parameters
|
1751
|
+
header_params = {}
|
1752
|
+
# HTTP header 'Accept' (if needed)
|
1753
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1754
|
+
header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil?
|
1755
|
+
|
1756
|
+
# form parameters
|
1757
|
+
form_params = {}
|
1758
|
+
|
1759
|
+
# http body (model)
|
1760
|
+
post_body = nil
|
1761
|
+
auth_names = []
|
1762
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1763
|
+
:header_params => header_params,
|
1764
|
+
:query_params => query_params,
|
1765
|
+
:form_params => form_params,
|
1766
|
+
:body => post_body,
|
1767
|
+
:auth_names => auth_names,
|
1768
|
+
:return_type => 'Array<GetCorporationsNames200Ok>')
|
1769
|
+
if @api_client.config.debugging
|
1770
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_names\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1771
|
+
end
|
1772
|
+
return data, status_code, headers
|
1773
|
+
end
|
1774
|
+
# Get npc corporations
|
1775
|
+
# Get a list of npc corporations --- This route expires daily at 11:05
|
1776
|
+
# @param [Hash] opts the optional parameters
|
1777
|
+
# @option opts [String] :datasource The server name you would like data from (default to tranquility)
|
1778
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1779
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1780
|
+
# @return [Array<Integer>]
|
1781
|
+
def get_corporations_npccorps(opts = {})
|
1782
|
+
data, _status_code, _headers = get_corporations_npccorps_with_http_info(opts)
|
1783
|
+
data
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
# Get npc corporations
|
1787
|
+
# Get a list of npc corporations --- This route expires daily at 11:05
|
1788
|
+
# @param [Hash] opts the optional parameters
|
1789
|
+
# @option opts [String] :datasource The server name you would like data from
|
1790
|
+
# @option opts [String] :user_agent Client identifier, takes precedence over headers
|
1791
|
+
# @option opts [String] :x_user_agent Client identifier, takes precedence over User-Agent
|
1792
|
+
# @return [Array<(Array<Integer>, Fixnum, Hash)>] Array<Integer> data, response status code and response headers
|
1793
|
+
def get_corporations_npccorps_with_http_info(opts = {})
|
1794
|
+
if @api_client.config.debugging
|
1795
|
+
@api_client.config.logger.debug 'Calling API: CorporationApi.get_corporations_npccorps ...'
|
1796
|
+
end
|
1797
|
+
if @api_client.config.client_side_validation && opts[:'datasource'] && !['tranquility', 'singularity'].include?(opts[:'datasource'])
|
1798
|
+
fail ArgumentError, 'invalid value for "datasource", must be one of tranquility, singularity'
|
1799
|
+
end
|
1800
|
+
# resource path
|
1801
|
+
local_var_path = '/v1/corporations/npccorps/'
|
1802
|
+
|
1803
|
+
# query parameters
|
1804
|
+
query_params = {}
|
1805
|
+
query_params[:'datasource'] = opts[:'datasource'] if !opts[:'datasource'].nil?
|
1806
|
+
query_params[:'user_agent'] = opts[:'user_agent'] if !opts[:'user_agent'].nil?
|
1807
|
+
|
1808
|
+
# header parameters
|
1809
|
+
header_params = {}
|
1810
|
+
# HTTP header 'Accept' (if needed)
|
1811
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1812
|
+
header_params[:'X-User-Agent'] = opts[:'x_user_agent'] if !opts[:'x_user_agent'].nil?
|
1813
|
+
|
1814
|
+
# form parameters
|
1815
|
+
form_params = {}
|
1816
|
+
|
1817
|
+
# http body (model)
|
1818
|
+
post_body = nil
|
1819
|
+
auth_names = []
|
1820
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1821
|
+
:header_params => header_params,
|
1822
|
+
:query_params => query_params,
|
1823
|
+
:form_params => form_params,
|
1824
|
+
:body => post_body,
|
1825
|
+
:auth_names => auth_names,
|
1826
|
+
:return_type => 'Array<Integer>')
|
1827
|
+
if @api_client.config.debugging
|
1828
|
+
@api_client.config.logger.debug "API called: CorporationApi#get_corporations_npccorps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1195
1829
|
end
|
1196
1830
|
return data, status_code, headers
|
1197
1831
|
end
|