@fnt-eve/esi-client-typescript
Version:
[](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)
172 lines (171 loc) • 5.83 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
/**
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
* The version of the OpenAPI document: 1.36
*
*
* 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 GetCharactersCharacterIdAssets200OkLocationFlagEnum = {
AssetSafety: 'AssetSafety',
AutoFit: 'AutoFit',
BoosterBay: 'BoosterBay',
CapsuleerDeliveries: 'CapsuleerDeliveries',
Cargo: 'Cargo',
CorporationGoalDeliveries: 'CorporationGoalDeliveries',
CorpseBay: 'CorpseBay',
Deliveries: 'Deliveries',
DroneBay: 'DroneBay',
FighterBay: 'FighterBay',
FighterTube0: 'FighterTube0',
FighterTube1: 'FighterTube1',
FighterTube2: 'FighterTube2',
FighterTube3: 'FighterTube3',
FighterTube4: 'FighterTube4',
FleetHangar: 'FleetHangar',
FrigateEscapeBay: 'FrigateEscapeBay',
Hangar: 'Hangar',
HangarAll: 'HangarAll',
HiSlot0: 'HiSlot0',
HiSlot1: 'HiSlot1',
HiSlot2: 'HiSlot2',
HiSlot3: 'HiSlot3',
HiSlot4: 'HiSlot4',
HiSlot5: 'HiSlot5',
HiSlot6: 'HiSlot6',
HiSlot7: 'HiSlot7',
HiddenModifiers: 'HiddenModifiers',
Implant: 'Implant',
InfrastructureHangar: 'InfrastructureHangar',
LoSlot0: 'LoSlot0',
LoSlot1: 'LoSlot1',
LoSlot2: 'LoSlot2',
LoSlot3: 'LoSlot3',
LoSlot4: 'LoSlot4',
LoSlot5: 'LoSlot5',
LoSlot6: 'LoSlot6',
LoSlot7: 'LoSlot7',
Locked: 'Locked',
MedSlot0: 'MedSlot0',
MedSlot1: 'MedSlot1',
MedSlot2: 'MedSlot2',
MedSlot3: 'MedSlot3',
MedSlot4: 'MedSlot4',
MedSlot5: 'MedSlot5',
MedSlot6: 'MedSlot6',
MedSlot7: 'MedSlot7',
MobileDepotHold: 'MobileDepotHold',
MoonMaterialBay: 'MoonMaterialBay',
QuafeBay: 'QuafeBay',
RigSlot0: 'RigSlot0',
RigSlot1: 'RigSlot1',
RigSlot2: 'RigSlot2',
RigSlot3: 'RigSlot3',
RigSlot4: 'RigSlot4',
RigSlot5: 'RigSlot5',
RigSlot6: 'RigSlot6',
RigSlot7: 'RigSlot7',
ShipHangar: 'ShipHangar',
Skill: 'Skill',
SpecializedAmmoHold: 'SpecializedAmmoHold',
SpecializedAsteroidHold: 'SpecializedAsteroidHold',
SpecializedCommandCenterHold: 'SpecializedCommandCenterHold',
SpecializedFuelBay: 'SpecializedFuelBay',
SpecializedGasHold: 'SpecializedGasHold',
SpecializedIceHold: 'SpecializedIceHold',
SpecializedIndustrialShipHold: 'SpecializedIndustrialShipHold',
SpecializedLargeShipHold: 'SpecializedLargeShipHold',
SpecializedMaterialBay: 'SpecializedMaterialBay',
SpecializedMediumShipHold: 'SpecializedMediumShipHold',
SpecializedMineralHold: 'SpecializedMineralHold',
SpecializedOreHold: 'SpecializedOreHold',
SpecializedPlanetaryCommoditiesHold: 'SpecializedPlanetaryCommoditiesHold',
SpecializedSalvageHold: 'SpecializedSalvageHold',
SpecializedShipHold: 'SpecializedShipHold',
SpecializedSmallShipHold: 'SpecializedSmallShipHold',
StructureDeedBay: 'StructureDeedBay',
SubSystemBay: 'SubSystemBay',
SubSystemSlot0: 'SubSystemSlot0',
SubSystemSlot1: 'SubSystemSlot1',
SubSystemSlot2: 'SubSystemSlot2',
SubSystemSlot3: 'SubSystemSlot3',
SubSystemSlot4: 'SubSystemSlot4',
SubSystemSlot5: 'SubSystemSlot5',
SubSystemSlot6: 'SubSystemSlot6',
SubSystemSlot7: 'SubSystemSlot7',
Unlocked: 'Unlocked',
Wardrobe: 'Wardrobe'
};
/**
* @export
*/
export const GetCharactersCharacterIdAssets200OkLocationTypeEnum = {
Station: 'station',
SolarSystem: 'solar_system',
Item: 'item',
Other: 'other'
};
/**
* Check if a given object implements the GetCharactersCharacterIdAssets200Ok interface.
*/
export function instanceOfGetCharactersCharacterIdAssets200Ok(value) {
if (!('isSingleton' in value) || value['isSingleton'] === undefined)
return false;
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 (!('locationType' in value) || value['locationType'] === undefined)
return false;
if (!('quantity' in value) || value['quantity'] === undefined)
return false;
if (!('typeId' in value) || value['typeId'] === undefined)
return false;
return true;
}
export function GetCharactersCharacterIdAssets200OkFromJSON(json) {
return GetCharactersCharacterIdAssets200OkFromJSONTyped(json, false);
}
export function GetCharactersCharacterIdAssets200OkFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'isBlueprintCopy': json['is_blueprint_copy'] == null ? undefined : json['is_blueprint_copy'],
'isSingleton': json['is_singleton'],
'itemId': json['item_id'],
'locationFlag': json['location_flag'],
'locationId': json['location_id'],
'locationType': json['location_type'],
'quantity': json['quantity'],
'typeId': json['type_id'],
};
}
export function GetCharactersCharacterIdAssets200OkToJSON(json) {
return GetCharactersCharacterIdAssets200OkToJSONTyped(json, false);
}
export function GetCharactersCharacterIdAssets200OkToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'is_blueprint_copy': value['isBlueprintCopy'],
'is_singleton': value['isSingleton'],
'item_id': value['itemId'],
'location_flag': value['locationFlag'],
'location_id': value['locationId'],
'location_type': value['locationType'],
'quantity': value['quantity'],
'type_id': value['typeId'],
};
}