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)

44 lines (43 loc) 1.21 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 PostUniverseIdsFaction interface. */ export function instanceOfPostUniverseIdsFaction(value) { return true; } export function PostUniverseIdsFactionFromJSON(json) { return PostUniverseIdsFactionFromJSONTyped(json, false); } export function PostUniverseIdsFactionFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], 'name': json['name'] == null ? undefined : json['name'], }; } export function PostUniverseIdsFactionToJSON(json) { return PostUniverseIdsFactionToJSONTyped(json, false); } export function PostUniverseIdsFactionToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'id': value['id'], 'name': value['name'], }; }