@fnt-eve/esi-client-typescript
Version:
[](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)
63 lines (62 loc) • 1.89 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 GetIndustrySystemsCostIndiceActivityEnum = {
Copying: 'copying',
Duplicating: 'duplicating',
Invention: 'invention',
Manufacturing: 'manufacturing',
None: 'none',
Reaction: 'reaction',
ResearchingMaterialEfficiency: 'researching_material_efficiency',
ResearchingTechnology: 'researching_technology',
ResearchingTimeEfficiency: 'researching_time_efficiency',
ReverseEngineering: 'reverse_engineering'
};
/**
* Check if a given object implements the GetIndustrySystemsCostIndice interface.
*/
export function instanceOfGetIndustrySystemsCostIndice(value) {
if (!('activity' in value) || value['activity'] === undefined)
return false;
if (!('costIndex' in value) || value['costIndex'] === undefined)
return false;
return true;
}
export function GetIndustrySystemsCostIndiceFromJSON(json) {
return GetIndustrySystemsCostIndiceFromJSONTyped(json, false);
}
export function GetIndustrySystemsCostIndiceFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'activity': json['activity'],
'costIndex': json['cost_index'],
};
}
export function GetIndustrySystemsCostIndiceToJSON(json) {
return GetIndustrySystemsCostIndiceToJSONTyped(json, false);
}
export function GetIndustrySystemsCostIndiceToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'activity': value['activity'],
'cost_index': value['costIndex'],
};
}