/* tslint:disable */ /* eslint-disable */ /** * OpenAPI definition * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { exists, mapValues } from '../runtime'; /** * * @export * @interface ModificationResultDto */ export interface ModificationResultDto { /** * * @type {string} * @memberof ModificationResultDto */ key?: string; /** * * @type {number} * @memberof ModificationResultDto */ id?: number; /** * * @type {string} * @memberof ModificationResultDto */ result?: string; } export function ModificationResultDtoFromJSON(json: any): ModificationResultDto { return ModificationResultDtoFromJSONTyped(json, false); } export function ModificationResultDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModificationResultDto { if ((json === undefined) || (json === null)) { return json; } return { 'key': !exists(json, 'key') ? undefined : json['key'], 'id': !exists(json, 'id') ? undefined : json['id'], 'result': !exists(json, 'result') ? undefined : json['result'], }; } export function ModificationResultDtoToJSON(value?: ModificationResultDto | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'key': value.key, 'id': value.id, 'result': value.result, }; }