/**
 * 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' ; import { ValidationError , ValidationErrorFromJSON , ValidationErrorFromJSONTyped , ValidationErrorToJSON , } from './' ; export interface export interface HTTPValidationError { type { Array < ValidationError > } memberof detail ? : Array < ValidationError > ; } export function HTTPValidationErrorFromJSON ( json ) { return HTTPValidationErrorFromJSONTyped ( json , false ) ; } export function HTTPValidationErrorFromJSONTyped ( json , ignoreDiscriminator ) { if ( ( json === undefined ) || ( json === null ) ) { return json ; } return { 'detail' : ! exists ( json , 'detail' ) ? undefined : ( ( json [ 'detail' ] as Array < any > ) . map ( ValidationErrorFromJSON ) ) , } ; } export function HTTPValidationErrorToJSON ( value ? ) { if ( value === undefined ) { return undefined ; } if ( value === null ) { return null ; } return { 'detail' : value . detail === undefined ? undefined : ( ( value . detail as Array < any > ) . map ( ValidationErrorToJSON ) ) , } ; }