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
@@ -0,0 +1,365 @@
|
|
1
|
+
=begin
|
2
|
+
#EVE Swagger Interface
|
3
|
+
|
4
|
+
#An OpenAPI for EVE Online
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.7.5
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module ESIClient
|
16
|
+
# mining object
|
17
|
+
class GetCharactersCharacterIdStatsMining
|
18
|
+
# drone_mine integer
|
19
|
+
attr_accessor :drone_mine
|
20
|
+
|
21
|
+
# ore_arkonor integer
|
22
|
+
attr_accessor :ore_arkonor
|
23
|
+
|
24
|
+
# ore_bistot integer
|
25
|
+
attr_accessor :ore_bistot
|
26
|
+
|
27
|
+
# ore_crokite integer
|
28
|
+
attr_accessor :ore_crokite
|
29
|
+
|
30
|
+
# ore_dark_ochre integer
|
31
|
+
attr_accessor :ore_dark_ochre
|
32
|
+
|
33
|
+
# ore_gneiss integer
|
34
|
+
attr_accessor :ore_gneiss
|
35
|
+
|
36
|
+
# ore_harvestable_cloud integer
|
37
|
+
attr_accessor :ore_harvestable_cloud
|
38
|
+
|
39
|
+
# ore_hedbergite integer
|
40
|
+
attr_accessor :ore_hedbergite
|
41
|
+
|
42
|
+
# ore_hemorphite integer
|
43
|
+
attr_accessor :ore_hemorphite
|
44
|
+
|
45
|
+
# ore_ice integer
|
46
|
+
attr_accessor :ore_ice
|
47
|
+
|
48
|
+
# ore_jaspet integer
|
49
|
+
attr_accessor :ore_jaspet
|
50
|
+
|
51
|
+
# ore_kernite integer
|
52
|
+
attr_accessor :ore_kernite
|
53
|
+
|
54
|
+
# ore_mercoxit integer
|
55
|
+
attr_accessor :ore_mercoxit
|
56
|
+
|
57
|
+
# ore_omber integer
|
58
|
+
attr_accessor :ore_omber
|
59
|
+
|
60
|
+
# ore_plagioclase integer
|
61
|
+
attr_accessor :ore_plagioclase
|
62
|
+
|
63
|
+
# ore_pyroxeres integer
|
64
|
+
attr_accessor :ore_pyroxeres
|
65
|
+
|
66
|
+
# ore_scordite integer
|
67
|
+
attr_accessor :ore_scordite
|
68
|
+
|
69
|
+
# ore_spodumain integer
|
70
|
+
attr_accessor :ore_spodumain
|
71
|
+
|
72
|
+
# ore_veldspar integer
|
73
|
+
attr_accessor :ore_veldspar
|
74
|
+
|
75
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
76
|
+
def self.attribute_map
|
77
|
+
{
|
78
|
+
:'drone_mine' => :'drone_mine',
|
79
|
+
:'ore_arkonor' => :'ore_arkonor',
|
80
|
+
:'ore_bistot' => :'ore_bistot',
|
81
|
+
:'ore_crokite' => :'ore_crokite',
|
82
|
+
:'ore_dark_ochre' => :'ore_dark_ochre',
|
83
|
+
:'ore_gneiss' => :'ore_gneiss',
|
84
|
+
:'ore_harvestable_cloud' => :'ore_harvestable_cloud',
|
85
|
+
:'ore_hedbergite' => :'ore_hedbergite',
|
86
|
+
:'ore_hemorphite' => :'ore_hemorphite',
|
87
|
+
:'ore_ice' => :'ore_ice',
|
88
|
+
:'ore_jaspet' => :'ore_jaspet',
|
89
|
+
:'ore_kernite' => :'ore_kernite',
|
90
|
+
:'ore_mercoxit' => :'ore_mercoxit',
|
91
|
+
:'ore_omber' => :'ore_omber',
|
92
|
+
:'ore_plagioclase' => :'ore_plagioclase',
|
93
|
+
:'ore_pyroxeres' => :'ore_pyroxeres',
|
94
|
+
:'ore_scordite' => :'ore_scordite',
|
95
|
+
:'ore_spodumain' => :'ore_spodumain',
|
96
|
+
:'ore_veldspar' => :'ore_veldspar'
|
97
|
+
}
|
98
|
+
end
|
99
|
+
|
100
|
+
# Attribute type mapping.
|
101
|
+
def self.swagger_types
|
102
|
+
{
|
103
|
+
:'drone_mine' => :'Integer',
|
104
|
+
:'ore_arkonor' => :'Integer',
|
105
|
+
:'ore_bistot' => :'Integer',
|
106
|
+
:'ore_crokite' => :'Integer',
|
107
|
+
:'ore_dark_ochre' => :'Integer',
|
108
|
+
:'ore_gneiss' => :'Integer',
|
109
|
+
:'ore_harvestable_cloud' => :'Integer',
|
110
|
+
:'ore_hedbergite' => :'Integer',
|
111
|
+
:'ore_hemorphite' => :'Integer',
|
112
|
+
:'ore_ice' => :'Integer',
|
113
|
+
:'ore_jaspet' => :'Integer',
|
114
|
+
:'ore_kernite' => :'Integer',
|
115
|
+
:'ore_mercoxit' => :'Integer',
|
116
|
+
:'ore_omber' => :'Integer',
|
117
|
+
:'ore_plagioclase' => :'Integer',
|
118
|
+
:'ore_pyroxeres' => :'Integer',
|
119
|
+
:'ore_scordite' => :'Integer',
|
120
|
+
:'ore_spodumain' => :'Integer',
|
121
|
+
:'ore_veldspar' => :'Integer'
|
122
|
+
}
|
123
|
+
end
|
124
|
+
|
125
|
+
# Initializes the object
|
126
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
127
|
+
def initialize(attributes = {})
|
128
|
+
return unless attributes.is_a?(Hash)
|
129
|
+
|
130
|
+
# convert string to symbol for hash key
|
131
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
132
|
+
|
133
|
+
if attributes.has_key?(:'drone_mine')
|
134
|
+
self.drone_mine = attributes[:'drone_mine']
|
135
|
+
end
|
136
|
+
|
137
|
+
if attributes.has_key?(:'ore_arkonor')
|
138
|
+
self.ore_arkonor = attributes[:'ore_arkonor']
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.has_key?(:'ore_bistot')
|
142
|
+
self.ore_bistot = attributes[:'ore_bistot']
|
143
|
+
end
|
144
|
+
|
145
|
+
if attributes.has_key?(:'ore_crokite')
|
146
|
+
self.ore_crokite = attributes[:'ore_crokite']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.has_key?(:'ore_dark_ochre')
|
150
|
+
self.ore_dark_ochre = attributes[:'ore_dark_ochre']
|
151
|
+
end
|
152
|
+
|
153
|
+
if attributes.has_key?(:'ore_gneiss')
|
154
|
+
self.ore_gneiss = attributes[:'ore_gneiss']
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.has_key?(:'ore_harvestable_cloud')
|
158
|
+
self.ore_harvestable_cloud = attributes[:'ore_harvestable_cloud']
|
159
|
+
end
|
160
|
+
|
161
|
+
if attributes.has_key?(:'ore_hedbergite')
|
162
|
+
self.ore_hedbergite = attributes[:'ore_hedbergite']
|
163
|
+
end
|
164
|
+
|
165
|
+
if attributes.has_key?(:'ore_hemorphite')
|
166
|
+
self.ore_hemorphite = attributes[:'ore_hemorphite']
|
167
|
+
end
|
168
|
+
|
169
|
+
if attributes.has_key?(:'ore_ice')
|
170
|
+
self.ore_ice = attributes[:'ore_ice']
|
171
|
+
end
|
172
|
+
|
173
|
+
if attributes.has_key?(:'ore_jaspet')
|
174
|
+
self.ore_jaspet = attributes[:'ore_jaspet']
|
175
|
+
end
|
176
|
+
|
177
|
+
if attributes.has_key?(:'ore_kernite')
|
178
|
+
self.ore_kernite = attributes[:'ore_kernite']
|
179
|
+
end
|
180
|
+
|
181
|
+
if attributes.has_key?(:'ore_mercoxit')
|
182
|
+
self.ore_mercoxit = attributes[:'ore_mercoxit']
|
183
|
+
end
|
184
|
+
|
185
|
+
if attributes.has_key?(:'ore_omber')
|
186
|
+
self.ore_omber = attributes[:'ore_omber']
|
187
|
+
end
|
188
|
+
|
189
|
+
if attributes.has_key?(:'ore_plagioclase')
|
190
|
+
self.ore_plagioclase = attributes[:'ore_plagioclase']
|
191
|
+
end
|
192
|
+
|
193
|
+
if attributes.has_key?(:'ore_pyroxeres')
|
194
|
+
self.ore_pyroxeres = attributes[:'ore_pyroxeres']
|
195
|
+
end
|
196
|
+
|
197
|
+
if attributes.has_key?(:'ore_scordite')
|
198
|
+
self.ore_scordite = attributes[:'ore_scordite']
|
199
|
+
end
|
200
|
+
|
201
|
+
if attributes.has_key?(:'ore_spodumain')
|
202
|
+
self.ore_spodumain = attributes[:'ore_spodumain']
|
203
|
+
end
|
204
|
+
|
205
|
+
if attributes.has_key?(:'ore_veldspar')
|
206
|
+
self.ore_veldspar = attributes[:'ore_veldspar']
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
211
|
+
# @return Array for valid properties with the reasons
|
212
|
+
def list_invalid_properties
|
213
|
+
invalid_properties = Array.new
|
214
|
+
invalid_properties
|
215
|
+
end
|
216
|
+
|
217
|
+
# Check to see if the all the properties in the model are valid
|
218
|
+
# @return true if the model is valid
|
219
|
+
def valid?
|
220
|
+
true
|
221
|
+
end
|
222
|
+
|
223
|
+
# Checks equality by comparing each attribute.
|
224
|
+
# @param [Object] Object to be compared
|
225
|
+
def ==(o)
|
226
|
+
return true if self.equal?(o)
|
227
|
+
self.class == o.class &&
|
228
|
+
drone_mine == o.drone_mine &&
|
229
|
+
ore_arkonor == o.ore_arkonor &&
|
230
|
+
ore_bistot == o.ore_bistot &&
|
231
|
+
ore_crokite == o.ore_crokite &&
|
232
|
+
ore_dark_ochre == o.ore_dark_ochre &&
|
233
|
+
ore_gneiss == o.ore_gneiss &&
|
234
|
+
ore_harvestable_cloud == o.ore_harvestable_cloud &&
|
235
|
+
ore_hedbergite == o.ore_hedbergite &&
|
236
|
+
ore_hemorphite == o.ore_hemorphite &&
|
237
|
+
ore_ice == o.ore_ice &&
|
238
|
+
ore_jaspet == o.ore_jaspet &&
|
239
|
+
ore_kernite == o.ore_kernite &&
|
240
|
+
ore_mercoxit == o.ore_mercoxit &&
|
241
|
+
ore_omber == o.ore_omber &&
|
242
|
+
ore_plagioclase == o.ore_plagioclase &&
|
243
|
+
ore_pyroxeres == o.ore_pyroxeres &&
|
244
|
+
ore_scordite == o.ore_scordite &&
|
245
|
+
ore_spodumain == o.ore_spodumain &&
|
246
|
+
ore_veldspar == o.ore_veldspar
|
247
|
+
end
|
248
|
+
|
249
|
+
# @see the `==` method
|
250
|
+
# @param [Object] Object to be compared
|
251
|
+
def eql?(o)
|
252
|
+
self == o
|
253
|
+
end
|
254
|
+
|
255
|
+
# Calculates hash code according to all attributes.
|
256
|
+
# @return [Fixnum] Hash code
|
257
|
+
def hash
|
258
|
+
[drone_mine, ore_arkonor, ore_bistot, ore_crokite, ore_dark_ochre, ore_gneiss, ore_harvestable_cloud, ore_hedbergite, ore_hemorphite, ore_ice, ore_jaspet, ore_kernite, ore_mercoxit, ore_omber, ore_plagioclase, ore_pyroxeres, ore_scordite, ore_spodumain, ore_veldspar].hash
|
259
|
+
end
|
260
|
+
|
261
|
+
# Builds the object from hash
|
262
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
263
|
+
# @return [Object] Returns the model itself
|
264
|
+
def build_from_hash(attributes)
|
265
|
+
return nil unless attributes.is_a?(Hash)
|
266
|
+
self.class.swagger_types.each_pair do |key, type|
|
267
|
+
if type =~ /\AArray<(.*)>/i
|
268
|
+
# check to ensure the input is an array given that the the attribute
|
269
|
+
# is documented as an array but the input is not
|
270
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
271
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
272
|
+
end
|
273
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
274
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
275
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
276
|
+
end
|
277
|
+
|
278
|
+
self
|
279
|
+
end
|
280
|
+
|
281
|
+
# Deserializes the data based on type
|
282
|
+
# @param string type Data type
|
283
|
+
# @param string value Value to be deserialized
|
284
|
+
# @return [Object] Deserialized data
|
285
|
+
def _deserialize(type, value)
|
286
|
+
case type.to_sym
|
287
|
+
when :DateTime
|
288
|
+
DateTime.parse(value)
|
289
|
+
when :Date
|
290
|
+
Date.parse(value)
|
291
|
+
when :String
|
292
|
+
value.to_s
|
293
|
+
when :Integer
|
294
|
+
value.to_i
|
295
|
+
when :Float
|
296
|
+
value.to_f
|
297
|
+
when :BOOLEAN
|
298
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
299
|
+
true
|
300
|
+
else
|
301
|
+
false
|
302
|
+
end
|
303
|
+
when :Object
|
304
|
+
# generic object (usually a Hash), return directly
|
305
|
+
value
|
306
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
307
|
+
inner_type = Regexp.last_match[:inner_type]
|
308
|
+
value.map { |v| _deserialize(inner_type, v) }
|
309
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
310
|
+
k_type = Regexp.last_match[:k_type]
|
311
|
+
v_type = Regexp.last_match[:v_type]
|
312
|
+
{}.tap do |hash|
|
313
|
+
value.each do |k, v|
|
314
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
315
|
+
end
|
316
|
+
end
|
317
|
+
else # model
|
318
|
+
temp_model = ESIClient.const_get(type).new
|
319
|
+
temp_model.build_from_hash(value)
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
# Returns the string representation of the object
|
324
|
+
# @return [String] String presentation of the object
|
325
|
+
def to_s
|
326
|
+
to_hash.to_s
|
327
|
+
end
|
328
|
+
|
329
|
+
# to_body is an alias to to_hash (backward compatibility)
|
330
|
+
# @return [Hash] Returns the object in the form of hash
|
331
|
+
def to_body
|
332
|
+
to_hash
|
333
|
+
end
|
334
|
+
|
335
|
+
# Returns the object in the form of hash
|
336
|
+
# @return [Hash] Returns the object in the form of hash
|
337
|
+
def to_hash
|
338
|
+
hash = {}
|
339
|
+
self.class.attribute_map.each_pair do |attr, param|
|
340
|
+
value = self.send(attr)
|
341
|
+
next if value.nil?
|
342
|
+
hash[param] = _to_hash(value)
|
343
|
+
end
|
344
|
+
hash
|
345
|
+
end
|
346
|
+
|
347
|
+
# Outputs non-array value in the form of hash
|
348
|
+
# For object, use to_hash. Otherwise, just return the value
|
349
|
+
# @param [Object] value Any valid value
|
350
|
+
# @return [Hash] Returns the value in the form of hash
|
351
|
+
def _to_hash(value)
|
352
|
+
if value.is_a?(Array)
|
353
|
+
value.compact.map { |v| _to_hash(v) }
|
354
|
+
elsif value.is_a?(Hash)
|
355
|
+
{}.tap do |hash|
|
356
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
357
|
+
end
|
358
|
+
elsif value.respond_to? :to_hash
|
359
|
+
value.to_hash
|
360
|
+
else
|
361
|
+
value
|
362
|
+
end
|
363
|
+
end
|
364
|
+
end
|
365
|
+
end
|
@@ -0,0 +1,865 @@
|
|
1
|
+
=begin
|
2
|
+
#EVE Swagger Interface
|
3
|
+
|
4
|
+
#An OpenAPI for EVE Online
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.7.5
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module ESIClient
|
16
|
+
# module object
|
17
|
+
class GetCharactersCharacterIdStatsModule
|
18
|
+
# activations_armor_hardener integer
|
19
|
+
attr_accessor :activations_armor_hardener
|
20
|
+
|
21
|
+
# activations_armor_repair_unit integer
|
22
|
+
attr_accessor :activations_armor_repair_unit
|
23
|
+
|
24
|
+
# activations_armor_resistance_shift_hardener integer
|
25
|
+
attr_accessor :activations_armor_resistance_shift_hardener
|
26
|
+
|
27
|
+
# activations_automated_targeting_system integer
|
28
|
+
attr_accessor :activations_automated_targeting_system
|
29
|
+
|
30
|
+
# activations_bastion integer
|
31
|
+
attr_accessor :activations_bastion
|
32
|
+
|
33
|
+
# activations_bomb_launcher integer
|
34
|
+
attr_accessor :activations_bomb_launcher
|
35
|
+
|
36
|
+
# activations_capacitor_booster integer
|
37
|
+
attr_accessor :activations_capacitor_booster
|
38
|
+
|
39
|
+
# activations_cargo_scanner integer
|
40
|
+
attr_accessor :activations_cargo_scanner
|
41
|
+
|
42
|
+
# activations_cloaking_device integer
|
43
|
+
attr_accessor :activations_cloaking_device
|
44
|
+
|
45
|
+
# activations_clone_vat_bay integer
|
46
|
+
attr_accessor :activations_clone_vat_bay
|
47
|
+
|
48
|
+
# activations_cynosural_field integer
|
49
|
+
attr_accessor :activations_cynosural_field
|
50
|
+
|
51
|
+
# activations_damage_control integer
|
52
|
+
attr_accessor :activations_damage_control
|
53
|
+
|
54
|
+
# activations_data_miners integer
|
55
|
+
attr_accessor :activations_data_miners
|
56
|
+
|
57
|
+
# activations_drone_control_unit integer
|
58
|
+
attr_accessor :activations_drone_control_unit
|
59
|
+
|
60
|
+
# activations_drone_tracking_modules integer
|
61
|
+
attr_accessor :activations_drone_tracking_modules
|
62
|
+
|
63
|
+
# activations_eccm integer
|
64
|
+
attr_accessor :activations_eccm
|
65
|
+
|
66
|
+
# activations_ecm integer
|
67
|
+
attr_accessor :activations_ecm
|
68
|
+
|
69
|
+
# activations_ecm_burst integer
|
70
|
+
attr_accessor :activations_ecm_burst
|
71
|
+
|
72
|
+
# activations_energy_destabilizer integer
|
73
|
+
attr_accessor :activations_energy_destabilizer
|
74
|
+
|
75
|
+
# activations_energy_vampire integer
|
76
|
+
attr_accessor :activations_energy_vampire
|
77
|
+
|
78
|
+
# activations_energy_weapon integer
|
79
|
+
attr_accessor :activations_energy_weapon
|
80
|
+
|
81
|
+
# activations_festival_launcher integer
|
82
|
+
attr_accessor :activations_festival_launcher
|
83
|
+
|
84
|
+
# activations_frequency_mining_laser integer
|
85
|
+
attr_accessor :activations_frequency_mining_laser
|
86
|
+
|
87
|
+
# activations_fueled_armor_repairer integer
|
88
|
+
attr_accessor :activations_fueled_armor_repairer
|
89
|
+
|
90
|
+
# activations_fueled_shield_booster integer
|
91
|
+
attr_accessor :activations_fueled_shield_booster
|
92
|
+
|
93
|
+
# activations_gang_coordinator integer
|
94
|
+
attr_accessor :activations_gang_coordinator
|
95
|
+
|
96
|
+
# activations_gas_cloud_harvester integer
|
97
|
+
attr_accessor :activations_gas_cloud_harvester
|
98
|
+
|
99
|
+
# activations_hull_repair_unit integer
|
100
|
+
attr_accessor :activations_hull_repair_unit
|
101
|
+
|
102
|
+
# activations_hybrid_weapon integer
|
103
|
+
attr_accessor :activations_hybrid_weapon
|
104
|
+
|
105
|
+
# activations_industrial_core integer
|
106
|
+
attr_accessor :activations_industrial_core
|
107
|
+
|
108
|
+
# activations_interdiction_sphere_launcher integer
|
109
|
+
attr_accessor :activations_interdiction_sphere_launcher
|
110
|
+
|
111
|
+
# activations_micro_jump_drive integer
|
112
|
+
attr_accessor :activations_micro_jump_drive
|
113
|
+
|
114
|
+
# activations_mining_laser integer
|
115
|
+
attr_accessor :activations_mining_laser
|
116
|
+
|
117
|
+
# activations_missile_launcher integer
|
118
|
+
attr_accessor :activations_missile_launcher
|
119
|
+
|
120
|
+
# activations_passive_targeting_system integer
|
121
|
+
attr_accessor :activations_passive_targeting_system
|
122
|
+
|
123
|
+
# activations_probe_launcher integer
|
124
|
+
attr_accessor :activations_probe_launcher
|
125
|
+
|
126
|
+
# activations_projected_eccm integer
|
127
|
+
attr_accessor :activations_projected_eccm
|
128
|
+
|
129
|
+
# activations_projectile_weapon integer
|
130
|
+
attr_accessor :activations_projectile_weapon
|
131
|
+
|
132
|
+
# activations_propulsion_module integer
|
133
|
+
attr_accessor :activations_propulsion_module
|
134
|
+
|
135
|
+
# activations_remote_armor_repairer integer
|
136
|
+
attr_accessor :activations_remote_armor_repairer
|
137
|
+
|
138
|
+
# activations_remote_capacitor_transmitter integer
|
139
|
+
attr_accessor :activations_remote_capacitor_transmitter
|
140
|
+
|
141
|
+
# activations_remote_ecm_burst integer
|
142
|
+
attr_accessor :activations_remote_ecm_burst
|
143
|
+
|
144
|
+
# activations_remote_hull_repairer integer
|
145
|
+
attr_accessor :activations_remote_hull_repairer
|
146
|
+
|
147
|
+
# activations_remote_sensor_booster integer
|
148
|
+
attr_accessor :activations_remote_sensor_booster
|
149
|
+
|
150
|
+
# activations_remote_sensor_damper integer
|
151
|
+
attr_accessor :activations_remote_sensor_damper
|
152
|
+
|
153
|
+
# activations_remote_shield_booster integer
|
154
|
+
attr_accessor :activations_remote_shield_booster
|
155
|
+
|
156
|
+
# activations_remote_tracking_computer integer
|
157
|
+
attr_accessor :activations_remote_tracking_computer
|
158
|
+
|
159
|
+
# activations_salvager integer
|
160
|
+
attr_accessor :activations_salvager
|
161
|
+
|
162
|
+
# activations_sensor_booster integer
|
163
|
+
attr_accessor :activations_sensor_booster
|
164
|
+
|
165
|
+
# activations_shield_booster integer
|
166
|
+
attr_accessor :activations_shield_booster
|
167
|
+
|
168
|
+
# activations_shield_hardener integer
|
169
|
+
attr_accessor :activations_shield_hardener
|
170
|
+
|
171
|
+
# activations_ship_scanner integer
|
172
|
+
attr_accessor :activations_ship_scanner
|
173
|
+
|
174
|
+
# activations_siege integer
|
175
|
+
attr_accessor :activations_siege
|
176
|
+
|
177
|
+
# activations_smart_bomb integer
|
178
|
+
attr_accessor :activations_smart_bomb
|
179
|
+
|
180
|
+
# activations_stasis_web integer
|
181
|
+
attr_accessor :activations_stasis_web
|
182
|
+
|
183
|
+
# activations_strip_miner integer
|
184
|
+
attr_accessor :activations_strip_miner
|
185
|
+
|
186
|
+
# activations_super_weapon integer
|
187
|
+
attr_accessor :activations_super_weapon
|
188
|
+
|
189
|
+
# activations_survey_scanner integer
|
190
|
+
attr_accessor :activations_survey_scanner
|
191
|
+
|
192
|
+
# activations_target_breaker integer
|
193
|
+
attr_accessor :activations_target_breaker
|
194
|
+
|
195
|
+
# activations_target_painter integer
|
196
|
+
attr_accessor :activations_target_painter
|
197
|
+
|
198
|
+
# activations_tracking_computer integer
|
199
|
+
attr_accessor :activations_tracking_computer
|
200
|
+
|
201
|
+
# activations_tracking_disruptor integer
|
202
|
+
attr_accessor :activations_tracking_disruptor
|
203
|
+
|
204
|
+
# activations_tractor_beam integer
|
205
|
+
attr_accessor :activations_tractor_beam
|
206
|
+
|
207
|
+
# activations_triage integer
|
208
|
+
attr_accessor :activations_triage
|
209
|
+
|
210
|
+
# activations_warp_disrupt_field_generator integer
|
211
|
+
attr_accessor :activations_warp_disrupt_field_generator
|
212
|
+
|
213
|
+
# activations_warp_scrambler integer
|
214
|
+
attr_accessor :activations_warp_scrambler
|
215
|
+
|
216
|
+
# link_weapons integer
|
217
|
+
attr_accessor :link_weapons
|
218
|
+
|
219
|
+
# overload integer
|
220
|
+
attr_accessor :overload
|
221
|
+
|
222
|
+
# repairs integer
|
223
|
+
attr_accessor :repairs
|
224
|
+
|
225
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
226
|
+
def self.attribute_map
|
227
|
+
{
|
228
|
+
:'activations_armor_hardener' => :'activations_armor_hardener',
|
229
|
+
:'activations_armor_repair_unit' => :'activations_armor_repair_unit',
|
230
|
+
:'activations_armor_resistance_shift_hardener' => :'activations_armor_resistance_shift_hardener',
|
231
|
+
:'activations_automated_targeting_system' => :'activations_automated_targeting_system',
|
232
|
+
:'activations_bastion' => :'activations_bastion',
|
233
|
+
:'activations_bomb_launcher' => :'activations_bomb_launcher',
|
234
|
+
:'activations_capacitor_booster' => :'activations_capacitor_booster',
|
235
|
+
:'activations_cargo_scanner' => :'activations_cargo_scanner',
|
236
|
+
:'activations_cloaking_device' => :'activations_cloaking_device',
|
237
|
+
:'activations_clone_vat_bay' => :'activations_clone_vat_bay',
|
238
|
+
:'activations_cynosural_field' => :'activations_cynosural_field',
|
239
|
+
:'activations_damage_control' => :'activations_damage_control',
|
240
|
+
:'activations_data_miners' => :'activations_data_miners',
|
241
|
+
:'activations_drone_control_unit' => :'activations_drone_control_unit',
|
242
|
+
:'activations_drone_tracking_modules' => :'activations_drone_tracking_modules',
|
243
|
+
:'activations_eccm' => :'activations_eccm',
|
244
|
+
:'activations_ecm' => :'activations_ecm',
|
245
|
+
:'activations_ecm_burst' => :'activations_ecm_burst',
|
246
|
+
:'activations_energy_destabilizer' => :'activations_energy_destabilizer',
|
247
|
+
:'activations_energy_vampire' => :'activations_energy_vampire',
|
248
|
+
:'activations_energy_weapon' => :'activations_energy_weapon',
|
249
|
+
:'activations_festival_launcher' => :'activations_festival_launcher',
|
250
|
+
:'activations_frequency_mining_laser' => :'activations_frequency_mining_laser',
|
251
|
+
:'activations_fueled_armor_repairer' => :'activations_fueled_armor_repairer',
|
252
|
+
:'activations_fueled_shield_booster' => :'activations_fueled_shield_booster',
|
253
|
+
:'activations_gang_coordinator' => :'activations_gang_coordinator',
|
254
|
+
:'activations_gas_cloud_harvester' => :'activations_gas_cloud_harvester',
|
255
|
+
:'activations_hull_repair_unit' => :'activations_hull_repair_unit',
|
256
|
+
:'activations_hybrid_weapon' => :'activations_hybrid_weapon',
|
257
|
+
:'activations_industrial_core' => :'activations_industrial_core',
|
258
|
+
:'activations_interdiction_sphere_launcher' => :'activations_interdiction_sphere_launcher',
|
259
|
+
:'activations_micro_jump_drive' => :'activations_micro_jump_drive',
|
260
|
+
:'activations_mining_laser' => :'activations_mining_laser',
|
261
|
+
:'activations_missile_launcher' => :'activations_missile_launcher',
|
262
|
+
:'activations_passive_targeting_system' => :'activations_passive_targeting_system',
|
263
|
+
:'activations_probe_launcher' => :'activations_probe_launcher',
|
264
|
+
:'activations_projected_eccm' => :'activations_projected_eccm',
|
265
|
+
:'activations_projectile_weapon' => :'activations_projectile_weapon',
|
266
|
+
:'activations_propulsion_module' => :'activations_propulsion_module',
|
267
|
+
:'activations_remote_armor_repairer' => :'activations_remote_armor_repairer',
|
268
|
+
:'activations_remote_capacitor_transmitter' => :'activations_remote_capacitor_transmitter',
|
269
|
+
:'activations_remote_ecm_burst' => :'activations_remote_ecm_burst',
|
270
|
+
:'activations_remote_hull_repairer' => :'activations_remote_hull_repairer',
|
271
|
+
:'activations_remote_sensor_booster' => :'activations_remote_sensor_booster',
|
272
|
+
:'activations_remote_sensor_damper' => :'activations_remote_sensor_damper',
|
273
|
+
:'activations_remote_shield_booster' => :'activations_remote_shield_booster',
|
274
|
+
:'activations_remote_tracking_computer' => :'activations_remote_tracking_computer',
|
275
|
+
:'activations_salvager' => :'activations_salvager',
|
276
|
+
:'activations_sensor_booster' => :'activations_sensor_booster',
|
277
|
+
:'activations_shield_booster' => :'activations_shield_booster',
|
278
|
+
:'activations_shield_hardener' => :'activations_shield_hardener',
|
279
|
+
:'activations_ship_scanner' => :'activations_ship_scanner',
|
280
|
+
:'activations_siege' => :'activations_siege',
|
281
|
+
:'activations_smart_bomb' => :'activations_smart_bomb',
|
282
|
+
:'activations_stasis_web' => :'activations_stasis_web',
|
283
|
+
:'activations_strip_miner' => :'activations_strip_miner',
|
284
|
+
:'activations_super_weapon' => :'activations_super_weapon',
|
285
|
+
:'activations_survey_scanner' => :'activations_survey_scanner',
|
286
|
+
:'activations_target_breaker' => :'activations_target_breaker',
|
287
|
+
:'activations_target_painter' => :'activations_target_painter',
|
288
|
+
:'activations_tracking_computer' => :'activations_tracking_computer',
|
289
|
+
:'activations_tracking_disruptor' => :'activations_tracking_disruptor',
|
290
|
+
:'activations_tractor_beam' => :'activations_tractor_beam',
|
291
|
+
:'activations_triage' => :'activations_triage',
|
292
|
+
:'activations_warp_disrupt_field_generator' => :'activations_warp_disrupt_field_generator',
|
293
|
+
:'activations_warp_scrambler' => :'activations_warp_scrambler',
|
294
|
+
:'link_weapons' => :'link_weapons',
|
295
|
+
:'overload' => :'overload',
|
296
|
+
:'repairs' => :'repairs'
|
297
|
+
}
|
298
|
+
end
|
299
|
+
|
300
|
+
# Attribute type mapping.
|
301
|
+
def self.swagger_types
|
302
|
+
{
|
303
|
+
:'activations_armor_hardener' => :'Integer',
|
304
|
+
:'activations_armor_repair_unit' => :'Integer',
|
305
|
+
:'activations_armor_resistance_shift_hardener' => :'Integer',
|
306
|
+
:'activations_automated_targeting_system' => :'Integer',
|
307
|
+
:'activations_bastion' => :'Integer',
|
308
|
+
:'activations_bomb_launcher' => :'Integer',
|
309
|
+
:'activations_capacitor_booster' => :'Integer',
|
310
|
+
:'activations_cargo_scanner' => :'Integer',
|
311
|
+
:'activations_cloaking_device' => :'Integer',
|
312
|
+
:'activations_clone_vat_bay' => :'Integer',
|
313
|
+
:'activations_cynosural_field' => :'Integer',
|
314
|
+
:'activations_damage_control' => :'Integer',
|
315
|
+
:'activations_data_miners' => :'Integer',
|
316
|
+
:'activations_drone_control_unit' => :'Integer',
|
317
|
+
:'activations_drone_tracking_modules' => :'Integer',
|
318
|
+
:'activations_eccm' => :'Integer',
|
319
|
+
:'activations_ecm' => :'Integer',
|
320
|
+
:'activations_ecm_burst' => :'Integer',
|
321
|
+
:'activations_energy_destabilizer' => :'Integer',
|
322
|
+
:'activations_energy_vampire' => :'Integer',
|
323
|
+
:'activations_energy_weapon' => :'Integer',
|
324
|
+
:'activations_festival_launcher' => :'Integer',
|
325
|
+
:'activations_frequency_mining_laser' => :'Integer',
|
326
|
+
:'activations_fueled_armor_repairer' => :'Integer',
|
327
|
+
:'activations_fueled_shield_booster' => :'Integer',
|
328
|
+
:'activations_gang_coordinator' => :'Integer',
|
329
|
+
:'activations_gas_cloud_harvester' => :'Integer',
|
330
|
+
:'activations_hull_repair_unit' => :'Integer',
|
331
|
+
:'activations_hybrid_weapon' => :'Integer',
|
332
|
+
:'activations_industrial_core' => :'Integer',
|
333
|
+
:'activations_interdiction_sphere_launcher' => :'Integer',
|
334
|
+
:'activations_micro_jump_drive' => :'Integer',
|
335
|
+
:'activations_mining_laser' => :'Integer',
|
336
|
+
:'activations_missile_launcher' => :'Integer',
|
337
|
+
:'activations_passive_targeting_system' => :'Integer',
|
338
|
+
:'activations_probe_launcher' => :'Integer',
|
339
|
+
:'activations_projected_eccm' => :'Integer',
|
340
|
+
:'activations_projectile_weapon' => :'Integer',
|
341
|
+
:'activations_propulsion_module' => :'Integer',
|
342
|
+
:'activations_remote_armor_repairer' => :'Integer',
|
343
|
+
:'activations_remote_capacitor_transmitter' => :'Integer',
|
344
|
+
:'activations_remote_ecm_burst' => :'Integer',
|
345
|
+
:'activations_remote_hull_repairer' => :'Integer',
|
346
|
+
:'activations_remote_sensor_booster' => :'Integer',
|
347
|
+
:'activations_remote_sensor_damper' => :'Integer',
|
348
|
+
:'activations_remote_shield_booster' => :'Integer',
|
349
|
+
:'activations_remote_tracking_computer' => :'Integer',
|
350
|
+
:'activations_salvager' => :'Integer',
|
351
|
+
:'activations_sensor_booster' => :'Integer',
|
352
|
+
:'activations_shield_booster' => :'Integer',
|
353
|
+
:'activations_shield_hardener' => :'Integer',
|
354
|
+
:'activations_ship_scanner' => :'Integer',
|
355
|
+
:'activations_siege' => :'Integer',
|
356
|
+
:'activations_smart_bomb' => :'Integer',
|
357
|
+
:'activations_stasis_web' => :'Integer',
|
358
|
+
:'activations_strip_miner' => :'Integer',
|
359
|
+
:'activations_super_weapon' => :'Integer',
|
360
|
+
:'activations_survey_scanner' => :'Integer',
|
361
|
+
:'activations_target_breaker' => :'Integer',
|
362
|
+
:'activations_target_painter' => :'Integer',
|
363
|
+
:'activations_tracking_computer' => :'Integer',
|
364
|
+
:'activations_tracking_disruptor' => :'Integer',
|
365
|
+
:'activations_tractor_beam' => :'Integer',
|
366
|
+
:'activations_triage' => :'Integer',
|
367
|
+
:'activations_warp_disrupt_field_generator' => :'Integer',
|
368
|
+
:'activations_warp_scrambler' => :'Integer',
|
369
|
+
:'link_weapons' => :'Integer',
|
370
|
+
:'overload' => :'Integer',
|
371
|
+
:'repairs' => :'Integer'
|
372
|
+
}
|
373
|
+
end
|
374
|
+
|
375
|
+
# Initializes the object
|
376
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
377
|
+
def initialize(attributes = {})
|
378
|
+
return unless attributes.is_a?(Hash)
|
379
|
+
|
380
|
+
# convert string to symbol for hash key
|
381
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
382
|
+
|
383
|
+
if attributes.has_key?(:'activations_armor_hardener')
|
384
|
+
self.activations_armor_hardener = attributes[:'activations_armor_hardener']
|
385
|
+
end
|
386
|
+
|
387
|
+
if attributes.has_key?(:'activations_armor_repair_unit')
|
388
|
+
self.activations_armor_repair_unit = attributes[:'activations_armor_repair_unit']
|
389
|
+
end
|
390
|
+
|
391
|
+
if attributes.has_key?(:'activations_armor_resistance_shift_hardener')
|
392
|
+
self.activations_armor_resistance_shift_hardener = attributes[:'activations_armor_resistance_shift_hardener']
|
393
|
+
end
|
394
|
+
|
395
|
+
if attributes.has_key?(:'activations_automated_targeting_system')
|
396
|
+
self.activations_automated_targeting_system = attributes[:'activations_automated_targeting_system']
|
397
|
+
end
|
398
|
+
|
399
|
+
if attributes.has_key?(:'activations_bastion')
|
400
|
+
self.activations_bastion = attributes[:'activations_bastion']
|
401
|
+
end
|
402
|
+
|
403
|
+
if attributes.has_key?(:'activations_bomb_launcher')
|
404
|
+
self.activations_bomb_launcher = attributes[:'activations_bomb_launcher']
|
405
|
+
end
|
406
|
+
|
407
|
+
if attributes.has_key?(:'activations_capacitor_booster')
|
408
|
+
self.activations_capacitor_booster = attributes[:'activations_capacitor_booster']
|
409
|
+
end
|
410
|
+
|
411
|
+
if attributes.has_key?(:'activations_cargo_scanner')
|
412
|
+
self.activations_cargo_scanner = attributes[:'activations_cargo_scanner']
|
413
|
+
end
|
414
|
+
|
415
|
+
if attributes.has_key?(:'activations_cloaking_device')
|
416
|
+
self.activations_cloaking_device = attributes[:'activations_cloaking_device']
|
417
|
+
end
|
418
|
+
|
419
|
+
if attributes.has_key?(:'activations_clone_vat_bay')
|
420
|
+
self.activations_clone_vat_bay = attributes[:'activations_clone_vat_bay']
|
421
|
+
end
|
422
|
+
|
423
|
+
if attributes.has_key?(:'activations_cynosural_field')
|
424
|
+
self.activations_cynosural_field = attributes[:'activations_cynosural_field']
|
425
|
+
end
|
426
|
+
|
427
|
+
if attributes.has_key?(:'activations_damage_control')
|
428
|
+
self.activations_damage_control = attributes[:'activations_damage_control']
|
429
|
+
end
|
430
|
+
|
431
|
+
if attributes.has_key?(:'activations_data_miners')
|
432
|
+
self.activations_data_miners = attributes[:'activations_data_miners']
|
433
|
+
end
|
434
|
+
|
435
|
+
if attributes.has_key?(:'activations_drone_control_unit')
|
436
|
+
self.activations_drone_control_unit = attributes[:'activations_drone_control_unit']
|
437
|
+
end
|
438
|
+
|
439
|
+
if attributes.has_key?(:'activations_drone_tracking_modules')
|
440
|
+
self.activations_drone_tracking_modules = attributes[:'activations_drone_tracking_modules']
|
441
|
+
end
|
442
|
+
|
443
|
+
if attributes.has_key?(:'activations_eccm')
|
444
|
+
self.activations_eccm = attributes[:'activations_eccm']
|
445
|
+
end
|
446
|
+
|
447
|
+
if attributes.has_key?(:'activations_ecm')
|
448
|
+
self.activations_ecm = attributes[:'activations_ecm']
|
449
|
+
end
|
450
|
+
|
451
|
+
if attributes.has_key?(:'activations_ecm_burst')
|
452
|
+
self.activations_ecm_burst = attributes[:'activations_ecm_burst']
|
453
|
+
end
|
454
|
+
|
455
|
+
if attributes.has_key?(:'activations_energy_destabilizer')
|
456
|
+
self.activations_energy_destabilizer = attributes[:'activations_energy_destabilizer']
|
457
|
+
end
|
458
|
+
|
459
|
+
if attributes.has_key?(:'activations_energy_vampire')
|
460
|
+
self.activations_energy_vampire = attributes[:'activations_energy_vampire']
|
461
|
+
end
|
462
|
+
|
463
|
+
if attributes.has_key?(:'activations_energy_weapon')
|
464
|
+
self.activations_energy_weapon = attributes[:'activations_energy_weapon']
|
465
|
+
end
|
466
|
+
|
467
|
+
if attributes.has_key?(:'activations_festival_launcher')
|
468
|
+
self.activations_festival_launcher = attributes[:'activations_festival_launcher']
|
469
|
+
end
|
470
|
+
|
471
|
+
if attributes.has_key?(:'activations_frequency_mining_laser')
|
472
|
+
self.activations_frequency_mining_laser = attributes[:'activations_frequency_mining_laser']
|
473
|
+
end
|
474
|
+
|
475
|
+
if attributes.has_key?(:'activations_fueled_armor_repairer')
|
476
|
+
self.activations_fueled_armor_repairer = attributes[:'activations_fueled_armor_repairer']
|
477
|
+
end
|
478
|
+
|
479
|
+
if attributes.has_key?(:'activations_fueled_shield_booster')
|
480
|
+
self.activations_fueled_shield_booster = attributes[:'activations_fueled_shield_booster']
|
481
|
+
end
|
482
|
+
|
483
|
+
if attributes.has_key?(:'activations_gang_coordinator')
|
484
|
+
self.activations_gang_coordinator = attributes[:'activations_gang_coordinator']
|
485
|
+
end
|
486
|
+
|
487
|
+
if attributes.has_key?(:'activations_gas_cloud_harvester')
|
488
|
+
self.activations_gas_cloud_harvester = attributes[:'activations_gas_cloud_harvester']
|
489
|
+
end
|
490
|
+
|
491
|
+
if attributes.has_key?(:'activations_hull_repair_unit')
|
492
|
+
self.activations_hull_repair_unit = attributes[:'activations_hull_repair_unit']
|
493
|
+
end
|
494
|
+
|
495
|
+
if attributes.has_key?(:'activations_hybrid_weapon')
|
496
|
+
self.activations_hybrid_weapon = attributes[:'activations_hybrid_weapon']
|
497
|
+
end
|
498
|
+
|
499
|
+
if attributes.has_key?(:'activations_industrial_core')
|
500
|
+
self.activations_industrial_core = attributes[:'activations_industrial_core']
|
501
|
+
end
|
502
|
+
|
503
|
+
if attributes.has_key?(:'activations_interdiction_sphere_launcher')
|
504
|
+
self.activations_interdiction_sphere_launcher = attributes[:'activations_interdiction_sphere_launcher']
|
505
|
+
end
|
506
|
+
|
507
|
+
if attributes.has_key?(:'activations_micro_jump_drive')
|
508
|
+
self.activations_micro_jump_drive = attributes[:'activations_micro_jump_drive']
|
509
|
+
end
|
510
|
+
|
511
|
+
if attributes.has_key?(:'activations_mining_laser')
|
512
|
+
self.activations_mining_laser = attributes[:'activations_mining_laser']
|
513
|
+
end
|
514
|
+
|
515
|
+
if attributes.has_key?(:'activations_missile_launcher')
|
516
|
+
self.activations_missile_launcher = attributes[:'activations_missile_launcher']
|
517
|
+
end
|
518
|
+
|
519
|
+
if attributes.has_key?(:'activations_passive_targeting_system')
|
520
|
+
self.activations_passive_targeting_system = attributes[:'activations_passive_targeting_system']
|
521
|
+
end
|
522
|
+
|
523
|
+
if attributes.has_key?(:'activations_probe_launcher')
|
524
|
+
self.activations_probe_launcher = attributes[:'activations_probe_launcher']
|
525
|
+
end
|
526
|
+
|
527
|
+
if attributes.has_key?(:'activations_projected_eccm')
|
528
|
+
self.activations_projected_eccm = attributes[:'activations_projected_eccm']
|
529
|
+
end
|
530
|
+
|
531
|
+
if attributes.has_key?(:'activations_projectile_weapon')
|
532
|
+
self.activations_projectile_weapon = attributes[:'activations_projectile_weapon']
|
533
|
+
end
|
534
|
+
|
535
|
+
if attributes.has_key?(:'activations_propulsion_module')
|
536
|
+
self.activations_propulsion_module = attributes[:'activations_propulsion_module']
|
537
|
+
end
|
538
|
+
|
539
|
+
if attributes.has_key?(:'activations_remote_armor_repairer')
|
540
|
+
self.activations_remote_armor_repairer = attributes[:'activations_remote_armor_repairer']
|
541
|
+
end
|
542
|
+
|
543
|
+
if attributes.has_key?(:'activations_remote_capacitor_transmitter')
|
544
|
+
self.activations_remote_capacitor_transmitter = attributes[:'activations_remote_capacitor_transmitter']
|
545
|
+
end
|
546
|
+
|
547
|
+
if attributes.has_key?(:'activations_remote_ecm_burst')
|
548
|
+
self.activations_remote_ecm_burst = attributes[:'activations_remote_ecm_burst']
|
549
|
+
end
|
550
|
+
|
551
|
+
if attributes.has_key?(:'activations_remote_hull_repairer')
|
552
|
+
self.activations_remote_hull_repairer = attributes[:'activations_remote_hull_repairer']
|
553
|
+
end
|
554
|
+
|
555
|
+
if attributes.has_key?(:'activations_remote_sensor_booster')
|
556
|
+
self.activations_remote_sensor_booster = attributes[:'activations_remote_sensor_booster']
|
557
|
+
end
|
558
|
+
|
559
|
+
if attributes.has_key?(:'activations_remote_sensor_damper')
|
560
|
+
self.activations_remote_sensor_damper = attributes[:'activations_remote_sensor_damper']
|
561
|
+
end
|
562
|
+
|
563
|
+
if attributes.has_key?(:'activations_remote_shield_booster')
|
564
|
+
self.activations_remote_shield_booster = attributes[:'activations_remote_shield_booster']
|
565
|
+
end
|
566
|
+
|
567
|
+
if attributes.has_key?(:'activations_remote_tracking_computer')
|
568
|
+
self.activations_remote_tracking_computer = attributes[:'activations_remote_tracking_computer']
|
569
|
+
end
|
570
|
+
|
571
|
+
if attributes.has_key?(:'activations_salvager')
|
572
|
+
self.activations_salvager = attributes[:'activations_salvager']
|
573
|
+
end
|
574
|
+
|
575
|
+
if attributes.has_key?(:'activations_sensor_booster')
|
576
|
+
self.activations_sensor_booster = attributes[:'activations_sensor_booster']
|
577
|
+
end
|
578
|
+
|
579
|
+
if attributes.has_key?(:'activations_shield_booster')
|
580
|
+
self.activations_shield_booster = attributes[:'activations_shield_booster']
|
581
|
+
end
|
582
|
+
|
583
|
+
if attributes.has_key?(:'activations_shield_hardener')
|
584
|
+
self.activations_shield_hardener = attributes[:'activations_shield_hardener']
|
585
|
+
end
|
586
|
+
|
587
|
+
if attributes.has_key?(:'activations_ship_scanner')
|
588
|
+
self.activations_ship_scanner = attributes[:'activations_ship_scanner']
|
589
|
+
end
|
590
|
+
|
591
|
+
if attributes.has_key?(:'activations_siege')
|
592
|
+
self.activations_siege = attributes[:'activations_siege']
|
593
|
+
end
|
594
|
+
|
595
|
+
if attributes.has_key?(:'activations_smart_bomb')
|
596
|
+
self.activations_smart_bomb = attributes[:'activations_smart_bomb']
|
597
|
+
end
|
598
|
+
|
599
|
+
if attributes.has_key?(:'activations_stasis_web')
|
600
|
+
self.activations_stasis_web = attributes[:'activations_stasis_web']
|
601
|
+
end
|
602
|
+
|
603
|
+
if attributes.has_key?(:'activations_strip_miner')
|
604
|
+
self.activations_strip_miner = attributes[:'activations_strip_miner']
|
605
|
+
end
|
606
|
+
|
607
|
+
if attributes.has_key?(:'activations_super_weapon')
|
608
|
+
self.activations_super_weapon = attributes[:'activations_super_weapon']
|
609
|
+
end
|
610
|
+
|
611
|
+
if attributes.has_key?(:'activations_survey_scanner')
|
612
|
+
self.activations_survey_scanner = attributes[:'activations_survey_scanner']
|
613
|
+
end
|
614
|
+
|
615
|
+
if attributes.has_key?(:'activations_target_breaker')
|
616
|
+
self.activations_target_breaker = attributes[:'activations_target_breaker']
|
617
|
+
end
|
618
|
+
|
619
|
+
if attributes.has_key?(:'activations_target_painter')
|
620
|
+
self.activations_target_painter = attributes[:'activations_target_painter']
|
621
|
+
end
|
622
|
+
|
623
|
+
if attributes.has_key?(:'activations_tracking_computer')
|
624
|
+
self.activations_tracking_computer = attributes[:'activations_tracking_computer']
|
625
|
+
end
|
626
|
+
|
627
|
+
if attributes.has_key?(:'activations_tracking_disruptor')
|
628
|
+
self.activations_tracking_disruptor = attributes[:'activations_tracking_disruptor']
|
629
|
+
end
|
630
|
+
|
631
|
+
if attributes.has_key?(:'activations_tractor_beam')
|
632
|
+
self.activations_tractor_beam = attributes[:'activations_tractor_beam']
|
633
|
+
end
|
634
|
+
|
635
|
+
if attributes.has_key?(:'activations_triage')
|
636
|
+
self.activations_triage = attributes[:'activations_triage']
|
637
|
+
end
|
638
|
+
|
639
|
+
if attributes.has_key?(:'activations_warp_disrupt_field_generator')
|
640
|
+
self.activations_warp_disrupt_field_generator = attributes[:'activations_warp_disrupt_field_generator']
|
641
|
+
end
|
642
|
+
|
643
|
+
if attributes.has_key?(:'activations_warp_scrambler')
|
644
|
+
self.activations_warp_scrambler = attributes[:'activations_warp_scrambler']
|
645
|
+
end
|
646
|
+
|
647
|
+
if attributes.has_key?(:'link_weapons')
|
648
|
+
self.link_weapons = attributes[:'link_weapons']
|
649
|
+
end
|
650
|
+
|
651
|
+
if attributes.has_key?(:'overload')
|
652
|
+
self.overload = attributes[:'overload']
|
653
|
+
end
|
654
|
+
|
655
|
+
if attributes.has_key?(:'repairs')
|
656
|
+
self.repairs = attributes[:'repairs']
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
660
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
661
|
+
# @return Array for valid properties with the reasons
|
662
|
+
def list_invalid_properties
|
663
|
+
invalid_properties = Array.new
|
664
|
+
invalid_properties
|
665
|
+
end
|
666
|
+
|
667
|
+
# Check to see if the all the properties in the model are valid
|
668
|
+
# @return true if the model is valid
|
669
|
+
def valid?
|
670
|
+
true
|
671
|
+
end
|
672
|
+
|
673
|
+
# Checks equality by comparing each attribute.
|
674
|
+
# @param [Object] Object to be compared
|
675
|
+
def ==(o)
|
676
|
+
return true if self.equal?(o)
|
677
|
+
self.class == o.class &&
|
678
|
+
activations_armor_hardener == o.activations_armor_hardener &&
|
679
|
+
activations_armor_repair_unit == o.activations_armor_repair_unit &&
|
680
|
+
activations_armor_resistance_shift_hardener == o.activations_armor_resistance_shift_hardener &&
|
681
|
+
activations_automated_targeting_system == o.activations_automated_targeting_system &&
|
682
|
+
activations_bastion == o.activations_bastion &&
|
683
|
+
activations_bomb_launcher == o.activations_bomb_launcher &&
|
684
|
+
activations_capacitor_booster == o.activations_capacitor_booster &&
|
685
|
+
activations_cargo_scanner == o.activations_cargo_scanner &&
|
686
|
+
activations_cloaking_device == o.activations_cloaking_device &&
|
687
|
+
activations_clone_vat_bay == o.activations_clone_vat_bay &&
|
688
|
+
activations_cynosural_field == o.activations_cynosural_field &&
|
689
|
+
activations_damage_control == o.activations_damage_control &&
|
690
|
+
activations_data_miners == o.activations_data_miners &&
|
691
|
+
activations_drone_control_unit == o.activations_drone_control_unit &&
|
692
|
+
activations_drone_tracking_modules == o.activations_drone_tracking_modules &&
|
693
|
+
activations_eccm == o.activations_eccm &&
|
694
|
+
activations_ecm == o.activations_ecm &&
|
695
|
+
activations_ecm_burst == o.activations_ecm_burst &&
|
696
|
+
activations_energy_destabilizer == o.activations_energy_destabilizer &&
|
697
|
+
activations_energy_vampire == o.activations_energy_vampire &&
|
698
|
+
activations_energy_weapon == o.activations_energy_weapon &&
|
699
|
+
activations_festival_launcher == o.activations_festival_launcher &&
|
700
|
+
activations_frequency_mining_laser == o.activations_frequency_mining_laser &&
|
701
|
+
activations_fueled_armor_repairer == o.activations_fueled_armor_repairer &&
|
702
|
+
activations_fueled_shield_booster == o.activations_fueled_shield_booster &&
|
703
|
+
activations_gang_coordinator == o.activations_gang_coordinator &&
|
704
|
+
activations_gas_cloud_harvester == o.activations_gas_cloud_harvester &&
|
705
|
+
activations_hull_repair_unit == o.activations_hull_repair_unit &&
|
706
|
+
activations_hybrid_weapon == o.activations_hybrid_weapon &&
|
707
|
+
activations_industrial_core == o.activations_industrial_core &&
|
708
|
+
activations_interdiction_sphere_launcher == o.activations_interdiction_sphere_launcher &&
|
709
|
+
activations_micro_jump_drive == o.activations_micro_jump_drive &&
|
710
|
+
activations_mining_laser == o.activations_mining_laser &&
|
711
|
+
activations_missile_launcher == o.activations_missile_launcher &&
|
712
|
+
activations_passive_targeting_system == o.activations_passive_targeting_system &&
|
713
|
+
activations_probe_launcher == o.activations_probe_launcher &&
|
714
|
+
activations_projected_eccm == o.activations_projected_eccm &&
|
715
|
+
activations_projectile_weapon == o.activations_projectile_weapon &&
|
716
|
+
activations_propulsion_module == o.activations_propulsion_module &&
|
717
|
+
activations_remote_armor_repairer == o.activations_remote_armor_repairer &&
|
718
|
+
activations_remote_capacitor_transmitter == o.activations_remote_capacitor_transmitter &&
|
719
|
+
activations_remote_ecm_burst == o.activations_remote_ecm_burst &&
|
720
|
+
activations_remote_hull_repairer == o.activations_remote_hull_repairer &&
|
721
|
+
activations_remote_sensor_booster == o.activations_remote_sensor_booster &&
|
722
|
+
activations_remote_sensor_damper == o.activations_remote_sensor_damper &&
|
723
|
+
activations_remote_shield_booster == o.activations_remote_shield_booster &&
|
724
|
+
activations_remote_tracking_computer == o.activations_remote_tracking_computer &&
|
725
|
+
activations_salvager == o.activations_salvager &&
|
726
|
+
activations_sensor_booster == o.activations_sensor_booster &&
|
727
|
+
activations_shield_booster == o.activations_shield_booster &&
|
728
|
+
activations_shield_hardener == o.activations_shield_hardener &&
|
729
|
+
activations_ship_scanner == o.activations_ship_scanner &&
|
730
|
+
activations_siege == o.activations_siege &&
|
731
|
+
activations_smart_bomb == o.activations_smart_bomb &&
|
732
|
+
activations_stasis_web == o.activations_stasis_web &&
|
733
|
+
activations_strip_miner == o.activations_strip_miner &&
|
734
|
+
activations_super_weapon == o.activations_super_weapon &&
|
735
|
+
activations_survey_scanner == o.activations_survey_scanner &&
|
736
|
+
activations_target_breaker == o.activations_target_breaker &&
|
737
|
+
activations_target_painter == o.activations_target_painter &&
|
738
|
+
activations_tracking_computer == o.activations_tracking_computer &&
|
739
|
+
activations_tracking_disruptor == o.activations_tracking_disruptor &&
|
740
|
+
activations_tractor_beam == o.activations_tractor_beam &&
|
741
|
+
activations_triage == o.activations_triage &&
|
742
|
+
activations_warp_disrupt_field_generator == o.activations_warp_disrupt_field_generator &&
|
743
|
+
activations_warp_scrambler == o.activations_warp_scrambler &&
|
744
|
+
link_weapons == o.link_weapons &&
|
745
|
+
overload == o.overload &&
|
746
|
+
repairs == o.repairs
|
747
|
+
end
|
748
|
+
|
749
|
+
# @see the `==` method
|
750
|
+
# @param [Object] Object to be compared
|
751
|
+
def eql?(o)
|
752
|
+
self == o
|
753
|
+
end
|
754
|
+
|
755
|
+
# Calculates hash code according to all attributes.
|
756
|
+
# @return [Fixnum] Hash code
|
757
|
+
def hash
|
758
|
+
[activations_armor_hardener, activations_armor_repair_unit, activations_armor_resistance_shift_hardener, activations_automated_targeting_system, activations_bastion, activations_bomb_launcher, activations_capacitor_booster, activations_cargo_scanner, activations_cloaking_device, activations_clone_vat_bay, activations_cynosural_field, activations_damage_control, activations_data_miners, activations_drone_control_unit, activations_drone_tracking_modules, activations_eccm, activations_ecm, activations_ecm_burst, activations_energy_destabilizer, activations_energy_vampire, activations_energy_weapon, activations_festival_launcher, activations_frequency_mining_laser, activations_fueled_armor_repairer, activations_fueled_shield_booster, activations_gang_coordinator, activations_gas_cloud_harvester, activations_hull_repair_unit, activations_hybrid_weapon, activations_industrial_core, activations_interdiction_sphere_launcher, activations_micro_jump_drive, activations_mining_laser, activations_missile_launcher, activations_passive_targeting_system, activations_probe_launcher, activations_projected_eccm, activations_projectile_weapon, activations_propulsion_module, activations_remote_armor_repairer, activations_remote_capacitor_transmitter, activations_remote_ecm_burst, activations_remote_hull_repairer, activations_remote_sensor_booster, activations_remote_sensor_damper, activations_remote_shield_booster, activations_remote_tracking_computer, activations_salvager, activations_sensor_booster, activations_shield_booster, activations_shield_hardener, activations_ship_scanner, activations_siege, activations_smart_bomb, activations_stasis_web, activations_strip_miner, activations_super_weapon, activations_survey_scanner, activations_target_breaker, activations_target_painter, activations_tracking_computer, activations_tracking_disruptor, activations_tractor_beam, activations_triage, activations_warp_disrupt_field_generator, activations_warp_scrambler, link_weapons, overload, repairs].hash
|
759
|
+
end
|
760
|
+
|
761
|
+
# Builds the object from hash
|
762
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
763
|
+
# @return [Object] Returns the model itself
|
764
|
+
def build_from_hash(attributes)
|
765
|
+
return nil unless attributes.is_a?(Hash)
|
766
|
+
self.class.swagger_types.each_pair do |key, type|
|
767
|
+
if type =~ /\AArray<(.*)>/i
|
768
|
+
# check to ensure the input is an array given that the the attribute
|
769
|
+
# is documented as an array but the input is not
|
770
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
771
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
772
|
+
end
|
773
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
774
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
775
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
776
|
+
end
|
777
|
+
|
778
|
+
self
|
779
|
+
end
|
780
|
+
|
781
|
+
# Deserializes the data based on type
|
782
|
+
# @param string type Data type
|
783
|
+
# @param string value Value to be deserialized
|
784
|
+
# @return [Object] Deserialized data
|
785
|
+
def _deserialize(type, value)
|
786
|
+
case type.to_sym
|
787
|
+
when :DateTime
|
788
|
+
DateTime.parse(value)
|
789
|
+
when :Date
|
790
|
+
Date.parse(value)
|
791
|
+
when :String
|
792
|
+
value.to_s
|
793
|
+
when :Integer
|
794
|
+
value.to_i
|
795
|
+
when :Float
|
796
|
+
value.to_f
|
797
|
+
when :BOOLEAN
|
798
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
799
|
+
true
|
800
|
+
else
|
801
|
+
false
|
802
|
+
end
|
803
|
+
when :Object
|
804
|
+
# generic object (usually a Hash), return directly
|
805
|
+
value
|
806
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
807
|
+
inner_type = Regexp.last_match[:inner_type]
|
808
|
+
value.map { |v| _deserialize(inner_type, v) }
|
809
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
810
|
+
k_type = Regexp.last_match[:k_type]
|
811
|
+
v_type = Regexp.last_match[:v_type]
|
812
|
+
{}.tap do |hash|
|
813
|
+
value.each do |k, v|
|
814
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
815
|
+
end
|
816
|
+
end
|
817
|
+
else # model
|
818
|
+
temp_model = ESIClient.const_get(type).new
|
819
|
+
temp_model.build_from_hash(value)
|
820
|
+
end
|
821
|
+
end
|
822
|
+
|
823
|
+
# Returns the string representation of the object
|
824
|
+
# @return [String] String presentation of the object
|
825
|
+
def to_s
|
826
|
+
to_hash.to_s
|
827
|
+
end
|
828
|
+
|
829
|
+
# to_body is an alias to to_hash (backward compatibility)
|
830
|
+
# @return [Hash] Returns the object in the form of hash
|
831
|
+
def to_body
|
832
|
+
to_hash
|
833
|
+
end
|
834
|
+
|
835
|
+
# Returns the object in the form of hash
|
836
|
+
# @return [Hash] Returns the object in the form of hash
|
837
|
+
def to_hash
|
838
|
+
hash = {}
|
839
|
+
self.class.attribute_map.each_pair do |attr, param|
|
840
|
+
value = self.send(attr)
|
841
|
+
next if value.nil?
|
842
|
+
hash[param] = _to_hash(value)
|
843
|
+
end
|
844
|
+
hash
|
845
|
+
end
|
846
|
+
|
847
|
+
# Outputs non-array value in the form of hash
|
848
|
+
# For object, use to_hash. Otherwise, just return the value
|
849
|
+
# @param [Object] value Any valid value
|
850
|
+
# @return [Hash] Returns the value in the form of hash
|
851
|
+
def _to_hash(value)
|
852
|
+
if value.is_a?(Array)
|
853
|
+
value.compact.map { |v| _to_hash(v) }
|
854
|
+
elsif value.is_a?(Hash)
|
855
|
+
{}.tap do |hash|
|
856
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
857
|
+
end
|
858
|
+
elsif value.respond_to? :to_hash
|
859
|
+
value.to_hash
|
860
|
+
else
|
861
|
+
value
|
862
|
+
end
|
863
|
+
end
|
864
|
+
end
|
865
|
+
end
|