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)

54 lines (53 loc) 1.94 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 GetDogmaEffectsEffectIdModifier interface. */ export function instanceOfGetDogmaEffectsEffectIdModifier(value) { if (!('func' in value) || value['func'] === undefined) return false; return true; } export function GetDogmaEffectsEffectIdModifierFromJSON(json) { return GetDogmaEffectsEffectIdModifierFromJSONTyped(json, false); } export function GetDogmaEffectsEffectIdModifierFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'domain': json['domain'] == null ? undefined : json['domain'], 'effectId': json['effect_id'] == null ? undefined : json['effect_id'], 'func': json['func'], 'modifiedAttributeId': json['modified_attribute_id'] == null ? undefined : json['modified_attribute_id'], 'modifyingAttributeId': json['modifying_attribute_id'] == null ? undefined : json['modifying_attribute_id'], 'operator': json['operator'] == null ? undefined : json['operator'], }; } export function GetDogmaEffectsEffectIdModifierToJSON(json) { return GetDogmaEffectsEffectIdModifierToJSONTyped(json, false); } export function GetDogmaEffectsEffectIdModifierToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'domain': value['domain'], 'effect_id': value['effectId'], 'func': value['func'], 'modified_attribute_id': value['modifiedAttributeId'], 'modifying_attribute_id': value['modifyingAttributeId'], 'operator': value['operator'], }; }