@fnt-eve/esi-client-typescript
Version:
[](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)
69 lines (68 loc) • 1.93 kB
JavaScript
/* 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.
*/
/**
* @export
*/
export const PostCharactersCharacterIdMailLabelsLabelColorEnum = {
_0000fe: '#0000fe',
_006634: '#006634',
_0099ff: '#0099ff',
_00ff33: '#00ff33',
_01ffff: '#01ffff',
_349800: '#349800',
_660066: '#660066',
_666666: '#666666',
_999999: '#999999',
_99ffff: '#99ffff',
_9a0000: '#9a0000',
Ccff9a: '#ccff9a',
E6e6e6: '#e6e6e6',
Fe0000: '#fe0000',
Ff6600: '#ff6600',
Ffff01: '#ffff01',
Ffffcd: '#ffffcd',
Ffffff: '#ffffff'
};
/**
* Check if a given object implements the PostCharactersCharacterIdMailLabelsLabel interface.
*/
export function instanceOfPostCharactersCharacterIdMailLabelsLabel(value) {
if (!('name' in value) || value['name'] === undefined)
return false;
return true;
}
export function PostCharactersCharacterIdMailLabelsLabelFromJSON(json) {
return PostCharactersCharacterIdMailLabelsLabelFromJSONTyped(json, false);
}
export function PostCharactersCharacterIdMailLabelsLabelFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'color': json['color'] == null ? undefined : json['color'],
'name': json['name'],
};
}
export function PostCharactersCharacterIdMailLabelsLabelToJSON(json) {
return PostCharactersCharacterIdMailLabelsLabelToJSONTyped(json, false);
}
export function PostCharactersCharacterIdMailLabelsLabelToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'color': value['color'],
'name': value['name'],
};
}