/**
 * 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 SpeakerStyle { type { string } memberof name : string ; type { number } memberof id : number ; } export function SpeakerStyleFromJSON ( json ) { return SpeakerStyleFromJSONTyped ( json , false ) ; } export function SpeakerStyleFromJSONTyped ( json , ignoreDiscriminator ) { if ( ( json === undefined ) || ( json === null ) ) { return json ; } return { 'name' : json [ 'name' ] , 'id' : json [ 'id' ] , } ; } export function SpeakerStyleToJSON ( value ? ) { if ( value === undefined ) { return undefined ; } if ( value === null ) { return null ; } return { 'name' : value . name , 'id' : value . id , } ; }