@fnt-eve/esi-client-typescript
Version:
[](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)
58 lines (57 loc) • 2.21 kB
JavaScript
/* 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.
*/
/**
* Check if a given object implements the GetUniverseGraphicsGraphicIdOk interface.
*/
export function instanceOfGetUniverseGraphicsGraphicIdOk(value) {
if (!('graphicId' in value) || value['graphicId'] === undefined)
return false;
return true;
}
export function GetUniverseGraphicsGraphicIdOkFromJSON(json) {
return GetUniverseGraphicsGraphicIdOkFromJSONTyped(json, false);
}
export function GetUniverseGraphicsGraphicIdOkFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'collisionFile': json['collision_file'] == null ? undefined : json['collision_file'],
'graphicFile': json['graphic_file'] == null ? undefined : json['graphic_file'],
'graphicId': json['graphic_id'],
'iconFolder': json['icon_folder'] == null ? undefined : json['icon_folder'],
'sofDna': json['sof_dna'] == null ? undefined : json['sof_dna'],
'sofFationName': json['sof_fation_name'] == null ? undefined : json['sof_fation_name'],
'sofHullName': json['sof_hull_name'] == null ? undefined : json['sof_hull_name'],
'sofRaceName': json['sof_race_name'] == null ? undefined : json['sof_race_name'],
};
}
export function GetUniverseGraphicsGraphicIdOkToJSON(json) {
return GetUniverseGraphicsGraphicIdOkToJSONTyped(json, false);
}
export function GetUniverseGraphicsGraphicIdOkToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'collision_file': value['collisionFile'],
'graphic_file': value['graphicFile'],
'graphic_id': value['graphicId'],
'icon_folder': value['iconFolder'],
'sof_dna': value['sofDna'],
'sof_fation_name': value['sofFationName'],
'sof_hull_name': value['sofHullName'],
'sof_race_name': value['sofRaceName'],
};
}