// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListSmartVoiceGroupsResponseBodyVoiceGroupsVoiceList extends $dara.Model { /** * @remarks * The speaker description. */ desc?: string; /** * @remarks * The speaker name. */ name?: string; /** * @remarks * The remarks of the speaker. */ remark?: string; supportSampleRate?: string; /** * @remarks * The tag of the speaker type. */ tag?: string; /** * @remarks * The speaker ID. * * @example * zhitian */ voice?: string; voiceSource?: string; /** * @remarks * The speaker type. * * Valid values: * * * Male * * Female * * Boy * * Girl * * @example * Female */ voiceType?: string; /** * @remarks * The URL of the sample audio file. * * @example * https://***.com/zhiqing.mp3 */ voiceUrl?: string; static names(): { [key: string]: string } { return { desc: 'Desc', name: 'Name', remark: 'Remark', supportSampleRate: 'SupportSampleRate', tag: 'Tag', voice: 'Voice', voiceSource: 'VoiceSource', voiceType: 'VoiceType', voiceUrl: 'VoiceUrl', }; } static types(): { [key: string]: any } { return { desc: 'string', name: 'string', remark: 'string', supportSampleRate: 'string', tag: 'string', voice: 'string', voiceSource: 'string', voiceType: 'string', voiceUrl: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListSmartVoiceGroupsResponseBodyVoiceGroups extends $dara.Model { /** * @remarks * The name of the speaker group. */ type?: string; /** * @remarks * The speakers. */ voiceList?: ListSmartVoiceGroupsResponseBodyVoiceGroupsVoiceList[]; static names(): { [key: string]: string } { return { type: 'Type', voiceList: 'VoiceList', }; } static types(): { [key: string]: any } { return { type: 'string', voiceList: { 'type': 'array', 'itemType': ListSmartVoiceGroupsResponseBodyVoiceGroupsVoiceList }, }; } validate() { if(Array.isArray(this.voiceList)) { $dara.Model.validateArray(this.voiceList); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class ListSmartVoiceGroupsResponseBody extends $dara.Model { /** * @remarks * The request ID. * * @example * 627B30EB-1D0A-5C6D-8467-431626E0FA10 */ requestId?: string; /** * @remarks * The queried speaker groups. */ voiceGroups?: ListSmartVoiceGroupsResponseBodyVoiceGroups[]; static names(): { [key: string]: string } { return { requestId: 'RequestId', voiceGroups: 'VoiceGroups', }; } static types(): { [key: string]: any } { return { requestId: 'string', voiceGroups: { 'type': 'array', 'itemType': ListSmartVoiceGroupsResponseBodyVoiceGroups }, }; } validate() { if(Array.isArray(this.voiceGroups)) { $dara.Model.validateArray(this.voiceGroups); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }