// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class CreateCardSmsTemplateResponseBodyData extends $dara.Model { /** * @remarks * The code of the message template. * * You can view the template code in the **Template Code** column on the **Templates** tab of the **Go China** page in the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm?spm=5176.12818093.categories-n-products.ddysms.3b2816d0xml2NA#/overview). * * > Make sure that the message template has been approved. * * @example * CARD_SMS_60000**** */ templateCode?: string; static names(): { [key: string]: string } { return { templateCode: 'TemplateCode', }; } static types(): { [key: string]: any } { return { templateCode: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class CreateCardSmsTemplateResponseBody extends $dara.Model { /** * @remarks * The response code. * * * If OK is returned, the request is successful. * * Other values indicate that the request fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html). * * @example * OK */ code?: string; /** * @remarks * The data returned. */ data?: CreateCardSmsTemplateResponseBodyData; /** * @remarks * The request ID. * * @example * F655A8D5-B967-440B-8683-DAD6FF8DE990 */ requestId?: string; /** * @remarks * Indicates whether the request was 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: CreateCardSmsTemplateResponseBodyData, 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); } }