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)

46 lines (45 loc) 1.23 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 GatewayTimeout interface. */ export function instanceOfGatewayTimeout(value) { if (!('error' in value) || value['error'] === undefined) return false; return true; } export function GatewayTimeoutFromJSON(json) { return GatewayTimeoutFromJSONTyped(json, false); } export function GatewayTimeoutFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'error': json['error'], 'timeout': json['timeout'] == null ? undefined : json['timeout'], }; } export function GatewayTimeoutToJSON(json) { return GatewayTimeoutToJSONTyped(json, false); } export function GatewayTimeoutToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'error': value['error'], 'timeout': value['timeout'], }; }