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)

48 lines (47 loc) 1.58 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. */ /** * Check if a given object implements the GetCharactersCharacterIdKillmailsRecent200Ok interface. */ export function instanceOfGetCharactersCharacterIdKillmailsRecent200Ok(value) { if (!('killmailHash' in value) || value['killmailHash'] === undefined) return false; if (!('killmailId' in value) || value['killmailId'] === undefined) return false; return true; } export function GetCharactersCharacterIdKillmailsRecent200OkFromJSON(json) { return GetCharactersCharacterIdKillmailsRecent200OkFromJSONTyped(json, false); } export function GetCharactersCharacterIdKillmailsRecent200OkFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'killmailHash': json['killmail_hash'], 'killmailId': json['killmail_id'], }; } export function GetCharactersCharacterIdKillmailsRecent200OkToJSON(json) { return GetCharactersCharacterIdKillmailsRecent200OkToJSONTyped(json, false); } export function GetCharactersCharacterIdKillmailsRecent200OkToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'killmail_hash': value['killmailHash'], 'killmail_id': value['killmailId'], }; }