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)

153 lines (152 loc) 5.21 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. */ /** * @export */ export const GetCharactersCharacterIdBlueprints200OkLocationFlagEnum = { AutoFit: 'AutoFit', Cargo: 'Cargo', CorpseBay: 'CorpseBay', DroneBay: 'DroneBay', FleetHangar: 'FleetHangar', Deliveries: 'Deliveries', HiddenModifiers: 'HiddenModifiers', Hangar: 'Hangar', HangarAll: 'HangarAll', LoSlot0: 'LoSlot0', LoSlot1: 'LoSlot1', LoSlot2: 'LoSlot2', LoSlot3: 'LoSlot3', LoSlot4: 'LoSlot4', LoSlot5: 'LoSlot5', LoSlot6: 'LoSlot6', LoSlot7: 'LoSlot7', MedSlot0: 'MedSlot0', MedSlot1: 'MedSlot1', MedSlot2: 'MedSlot2', MedSlot3: 'MedSlot3', MedSlot4: 'MedSlot4', MedSlot5: 'MedSlot5', MedSlot6: 'MedSlot6', MedSlot7: 'MedSlot7', HiSlot0: 'HiSlot0', HiSlot1: 'HiSlot1', HiSlot2: 'HiSlot2', HiSlot3: 'HiSlot3', HiSlot4: 'HiSlot4', HiSlot5: 'HiSlot5', HiSlot6: 'HiSlot6', HiSlot7: 'HiSlot7', AssetSafety: 'AssetSafety', Locked: 'Locked', Unlocked: 'Unlocked', Implant: 'Implant', QuafeBay: 'QuafeBay', RigSlot0: 'RigSlot0', RigSlot1: 'RigSlot1', RigSlot2: 'RigSlot2', RigSlot3: 'RigSlot3', RigSlot4: 'RigSlot4', RigSlot5: 'RigSlot5', RigSlot6: 'RigSlot6', RigSlot7: 'RigSlot7', ShipHangar: 'ShipHangar', SpecializedFuelBay: 'SpecializedFuelBay', SpecializedOreHold: 'SpecializedOreHold', SpecializedGasHold: 'SpecializedGasHold', SpecializedMineralHold: 'SpecializedMineralHold', SpecializedSalvageHold: 'SpecializedSalvageHold', SpecializedShipHold: 'SpecializedShipHold', SpecializedSmallShipHold: 'SpecializedSmallShipHold', SpecializedMediumShipHold: 'SpecializedMediumShipHold', SpecializedLargeShipHold: 'SpecializedLargeShipHold', SpecializedIndustrialShipHold: 'SpecializedIndustrialShipHold', SpecializedAmmoHold: 'SpecializedAmmoHold', SpecializedCommandCenterHold: 'SpecializedCommandCenterHold', SpecializedPlanetaryCommoditiesHold: 'SpecializedPlanetaryCommoditiesHold', SpecializedMaterialBay: 'SpecializedMaterialBay', SubSystemSlot0: 'SubSystemSlot0', SubSystemSlot1: 'SubSystemSlot1', SubSystemSlot2: 'SubSystemSlot2', SubSystemSlot3: 'SubSystemSlot3', SubSystemSlot4: 'SubSystemSlot4', SubSystemSlot5: 'SubSystemSlot5', SubSystemSlot6: 'SubSystemSlot6', SubSystemSlot7: 'SubSystemSlot7', FighterBay: 'FighterBay', FighterTube0: 'FighterTube0', FighterTube1: 'FighterTube1', FighterTube2: 'FighterTube2', FighterTube3: 'FighterTube3', FighterTube4: 'FighterTube4', Module: 'Module' }; /** * Check if a given object implements the GetCharactersCharacterIdBlueprints200Ok interface. */ export function instanceOfGetCharactersCharacterIdBlueprints200Ok(value) { if (!('itemId' in value) || value['itemId'] === undefined) return false; if (!('locationFlag' in value) || value['locationFlag'] === undefined) return false; if (!('locationId' in value) || value['locationId'] === undefined) return false; if (!('materialEfficiency' in value) || value['materialEfficiency'] === undefined) return false; if (!('quantity' in value) || value['quantity'] === undefined) return false; if (!('runs' in value) || value['runs'] === undefined) return false; if (!('timeEfficiency' in value) || value['timeEfficiency'] === undefined) return false; if (!('typeId' in value) || value['typeId'] === undefined) return false; return true; } export function GetCharactersCharacterIdBlueprints200OkFromJSON(json) { return GetCharactersCharacterIdBlueprints200OkFromJSONTyped(json, false); } export function GetCharactersCharacterIdBlueprints200OkFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'itemId': json['item_id'], 'locationFlag': json['location_flag'], 'locationId': json['location_id'], 'materialEfficiency': json['material_efficiency'], 'quantity': json['quantity'], 'runs': json['runs'], 'timeEfficiency': json['time_efficiency'], 'typeId': json['type_id'], }; } export function GetCharactersCharacterIdBlueprints200OkToJSON(json) { return GetCharactersCharacterIdBlueprints200OkToJSONTyped(json, false); } export function GetCharactersCharacterIdBlueprints200OkToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'item_id': value['itemId'], 'location_flag': value['locationFlag'], 'location_id': value['locationId'], 'material_efficiency': value['materialEfficiency'], 'quantity': value['quantity'], 'runs': value['runs'], 'time_efficiency': value['timeEfficiency'], 'type_id': value['typeId'], }; }