UNPKG

@fnt-eve/esi-client-typescript

Version:

[![npm version](https://img.shields.io/npm/v/@fnt-eve/esi-client-typescript)](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)

117 lines (116 loc) 4.45 kB
/* tslint:disable */ /* eslint-disable */ /** * EVE Swagger Interface * An OpenAPI for EVE Online * * The version of the OpenAPI document: 1.33 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { GetUniverseStationsStationIdPositionFromJSON, GetUniverseStationsStationIdPositionToJSON, } from './GetUniverseStationsStationIdPosition'; /** * @export */ export const GetUniverseStationsStationIdOkServicesEnum = { BountyMissions: 'bounty-missions', AssasinationMissions: 'assasination-missions', CourierMissions: 'courier-missions', Interbus: 'interbus', ReprocessingPlant: 'reprocessing-plant', Refinery: 'refinery', Market: 'market', BlackMarket: 'black-market', StockExchange: 'stock-exchange', Cloning: 'cloning', Surgery: 'surgery', DnaTherapy: 'dna-therapy', RepairFacilities: 'repair-facilities', Factory: 'factory', Labratory: 'labratory', Gambling: 'gambling', Fitting: 'fitting', Paintshop: 'paintshop', News: 'news', Storage: 'storage', Insurance: 'insurance', Docking: 'docking', OfficeRental: 'office-rental', JumpCloneFacility: 'jump-clone-facility', LoyaltyPointStore: 'loyalty-point-store', NavyOffices: 'navy-offices', SecurityOffices: 'security-offices' }; /** * Check if a given object implements the GetUniverseStationsStationIdOk interface. */ export function instanceOfGetUniverseStationsStationIdOk(value) { if (!('maxDockableShipVolume' in value) || value['maxDockableShipVolume'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; if (!('officeRentalCost' in value) || value['officeRentalCost'] === undefined) return false; if (!('position' in value) || value['position'] === undefined) return false; if (!('reprocessingEfficiency' in value) || value['reprocessingEfficiency'] === undefined) return false; if (!('reprocessingStationsTake' in value) || value['reprocessingStationsTake'] === undefined) return false; if (!('services' in value) || value['services'] === undefined) return false; if (!('stationId' in value) || value['stationId'] === undefined) return false; if (!('systemId' in value) || value['systemId'] === undefined) return false; if (!('typeId' in value) || value['typeId'] === undefined) return false; return true; } export function GetUniverseStationsStationIdOkFromJSON(json) { return GetUniverseStationsStationIdOkFromJSONTyped(json, false); } export function GetUniverseStationsStationIdOkFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'maxDockableShipVolume': json['max_dockable_ship_volume'], 'name': json['name'], 'officeRentalCost': json['office_rental_cost'], 'owner': json['owner'] == null ? undefined : json['owner'], 'position': GetUniverseStationsStationIdPositionFromJSON(json['position']), 'raceId': json['race_id'] == null ? undefined : json['race_id'], 'reprocessingEfficiency': json['reprocessing_efficiency'], 'reprocessingStationsTake': json['reprocessing_stations_take'], 'services': json['services'], 'stationId': json['station_id'], 'systemId': json['system_id'], 'typeId': json['type_id'], }; } export function GetUniverseStationsStationIdOkToJSON(json) { return GetUniverseStationsStationIdOkToJSONTyped(json, false); } export function GetUniverseStationsStationIdOkToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'max_dockable_ship_volume': value['maxDockableShipVolume'], 'name': value['name'], 'office_rental_cost': value['officeRentalCost'], 'owner': value['owner'], 'position': GetUniverseStationsStationIdPositionToJSON(value['position']), 'race_id': value['raceId'], 'reprocessing_efficiency': value['reprocessingEfficiency'], 'reprocessing_stations_take': value['reprocessingStationsTake'], 'services': value['services'], 'station_id': value['stationId'], 'system_id': value['systemId'], 'type_id': value['typeId'], }; }