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)

51 lines (50 loc) 1.61 kB
/* 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 GetCharactersCharacterIdClonesHomeLocationLocationTypeEnum = { Station: 'station', Structure: 'structure' }; /** * Check if a given object implements the GetCharactersCharacterIdClonesHomeLocation interface. */ export function instanceOfGetCharactersCharacterIdClonesHomeLocation(value) { return true; } export function GetCharactersCharacterIdClonesHomeLocationFromJSON(json) { return GetCharactersCharacterIdClonesHomeLocationFromJSONTyped(json, false); } export function GetCharactersCharacterIdClonesHomeLocationFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'locationId': json['location_id'] == null ? undefined : json['location_id'], 'locationType': json['location_type'] == null ? undefined : json['location_type'], }; } export function GetCharactersCharacterIdClonesHomeLocationToJSON(json) { return GetCharactersCharacterIdClonesHomeLocationToJSONTyped(json, false); } export function GetCharactersCharacterIdClonesHomeLocationToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'location_id': value['locationId'], 'location_type': value['locationType'], }; }