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)

65 lines (64 loc) 2.13 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 GetCharactersCharacterIdClonesJumpCloneLocationTypeEnum = { Station: 'station', Structure: 'structure' }; /** * Check if a given object implements the GetCharactersCharacterIdClonesJumpClone interface. */ export function instanceOfGetCharactersCharacterIdClonesJumpClone(value) { if (!('implants' in value) || value['implants'] === undefined) return false; if (!('jumpCloneId' in value) || value['jumpCloneId'] === undefined) return false; if (!('locationId' in value) || value['locationId'] === undefined) return false; if (!('locationType' in value) || value['locationType'] === undefined) return false; return true; } export function GetCharactersCharacterIdClonesJumpCloneFromJSON(json) { return GetCharactersCharacterIdClonesJumpCloneFromJSONTyped(json, false); } export function GetCharactersCharacterIdClonesJumpCloneFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'implants': json['implants'], 'jumpCloneId': json['jump_clone_id'], 'locationId': json['location_id'], 'locationType': json['location_type'], 'name': json['name'] == null ? undefined : json['name'], }; } export function GetCharactersCharacterIdClonesJumpCloneToJSON(json) { return GetCharactersCharacterIdClonesJumpCloneToJSONTyped(json, false); } export function GetCharactersCharacterIdClonesJumpCloneToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'implants': value['implants'], 'jump_clone_id': value['jumpCloneId'], 'location_id': value['locationId'], 'location_type': value['locationType'], 'name': value['name'], }; }