/**
 * 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 StyleInfo { type { number } memberof id : number ; type { string } memberof icon : string ; type { Array < string > } memberof voiceSamples : Array < string > ; } export function StyleInfoFromJSON ( json ) { return StyleInfoFromJSONTyped ( json , false ) ; } export function StyleInfoFromJSONTyped ( json , ignoreDiscriminator ) { if ( ( json === undefined ) || ( json === null ) ) { return json ; } return { 'id' : json [ 'id' ] , 'icon' : json [ 'icon' ] , 'voiceSamples' : json [ 'voice_samples' ] , } ; } export function StyleInfoToJSON ( value ? ) { if ( value === undefined ) { return undefined ; } if ( value === null ) { return null ; } return { 'id' : value . id , 'icon' : value . icon , 'voice_samples' : value . voiceSamples , } ; }