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)

60 lines (59 loc) 1.81 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 GetCharactersCharacterIdStandings200OkFromTypeEnum = { Agent: 'agent', NpcCorp: 'npc_corp', Faction: 'faction' }; /** * Check if a given object implements the GetCharactersCharacterIdStandings200Ok interface. */ export function instanceOfGetCharactersCharacterIdStandings200Ok(value) { if (!('fromId' in value) || value['fromId'] === undefined) return false; if (!('fromType' in value) || value['fromType'] === undefined) return false; if (!('standing' in value) || value['standing'] === undefined) return false; return true; } export function GetCharactersCharacterIdStandings200OkFromJSON(json) { return GetCharactersCharacterIdStandings200OkFromJSONTyped(json, false); } export function GetCharactersCharacterIdStandings200OkFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'fromId': json['from_id'], 'fromType': json['from_type'], 'standing': json['standing'], }; } export function GetCharactersCharacterIdStandings200OkToJSON(json) { return GetCharactersCharacterIdStandings200OkToJSONTyped(json, false); } export function GetCharactersCharacterIdStandings200OkToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'from_id': value['fromId'], 'from_type': value['fromType'], 'standing': value['standing'], }; }