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)

49 lines (48 loc) 1.63 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. */ import { GetIndustrySystemsCostIndiceFromJSON, GetIndustrySystemsCostIndiceToJSON, } from './GetIndustrySystemsCostIndice'; /** * Check if a given object implements the GetIndustrySystems200Ok interface. */ export function instanceOfGetIndustrySystems200Ok(value) { if (!('costIndices' in value) || value['costIndices'] === undefined) return false; if (!('solarSystemId' in value) || value['solarSystemId'] === undefined) return false; return true; } export function GetIndustrySystems200OkFromJSON(json) { return GetIndustrySystems200OkFromJSONTyped(json, false); } export function GetIndustrySystems200OkFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'costIndices': (json['cost_indices'].map(GetIndustrySystemsCostIndiceFromJSON)), 'solarSystemId': json['solar_system_id'], }; } export function GetIndustrySystems200OkToJSON(json) { return GetIndustrySystems200OkToJSONTyped(json, false); } export function GetIndustrySystems200OkToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'cost_indices': (value['costIndices'].map(GetIndustrySystemsCostIndiceToJSON)), 'solar_system_id': value['solarSystemId'], }; }