/**
 * VOICEVOX ENGINE
 * VOICEVOXの音声合成エンジンです。
 *
 * The version of the OpenAPI document: 0.10.preview.2
 *
 *
 * 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 export interface ValidationError { type { Array < string > } memberof loc : Array < string > ; type { string } memberof msg : string ; type { string } memberof type : string ; } export function ValidationErrorFromJSON ( json ) { return ValidationErrorFromJSONTyped ( json , false ) ; } export function ValidationErrorFromJSONTyped ( json , ignoreDiscriminator ) { if ( ( json === undefined ) || ( json === null ) ) { return json ; } return { 'loc' : json [ 'loc' ] , 'msg' : json [ 'msg' ] , 'type' : json [ 'type' ] , } ; } export function ValidationErrorToJSON ( value ? ) { if ( value === undefined ) { return undefined ; } if ( value === null ) { return null ; } return { 'loc' : value . loc , 'msg' : value . msg , 'type' : value . type , } ; }