@fnt-eve/esi-client-typescript
Version:
[](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)
44 lines (43 loc) • 1.32 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 GetAlliancesAllianceIdIconsOk interface.
*/
export function instanceOfGetAlliancesAllianceIdIconsOk(value) {
return true;
}
export function GetAlliancesAllianceIdIconsOkFromJSON(json) {
return GetAlliancesAllianceIdIconsOkFromJSONTyped(json, false);
}
export function GetAlliancesAllianceIdIconsOkFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'px128x128': json['px128x128'] == null ? undefined : json['px128x128'],
'px64x64': json['px64x64'] == null ? undefined : json['px64x64'],
};
}
export function GetAlliancesAllianceIdIconsOkToJSON(json) {
return GetAlliancesAllianceIdIconsOkToJSONTyped(json, false);
}
export function GetAlliancesAllianceIdIconsOkToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'px128x128': value['px128x128'],
'px64x64': value['px64x64'],
};
}