// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class QueryCardSmsTemplateResponseBodyData extends $dara.Model { /** * @remarks * The array of objects. */ templates?: { [key: string]: any }[]; static names(): { [key: string]: string } { return { templates: 'Templates', }; } static types(): { [key: string]: any } { return { templates: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } }, }; } validate() { if(Array.isArray(this.templates)) { $dara.Model.validateArray(this.templates); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class QueryCardSmsTemplateResponseBody extends $dara.Model { /** * @remarks * The HTTP status code. * * * The value OK indicates that the request was successful. * * For more information about other response codes, see [API error codes](https://help.aliyun.com/document_detail/101346.html). * * @example * OK */ code?: string; /** * @remarks * The data returned. */ data?: QueryCardSmsTemplateResponseBodyData; /** * @remarks * The request ID. * * @example * F655A8D5-B967-440B-8683-DAD6FF8DE990 */ requestId?: string; /** * @remarks * Indicates whether the request is successful. Valid values: * * * **true** * * **false** * * @example * true */ success?: boolean; static names(): { [key: string]: string } { return { code: 'Code', data: 'Data', requestId: 'RequestId', success: 'Success', }; } static types(): { [key: string]: any } { return { code: 'string', data: QueryCardSmsTemplateResponseBodyData, requestId: 'string', success: 'boolean', }; } validate() { if(this.data && typeof (this.data as any).validate === 'function') { (this.data as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }