// This file is auto-generated, don't edit it
import * as $dara from '@darabonba/typescript';


export class UpdateSmsTemplateResponseBody extends $dara.Model {
  /**
   * @remarks
   * The status code of the request. Valid values:
   * 
   * - `OK`: The request succeeds.
   * 
   * - For other error codes, see the **Error codes** section of this topic or the product [API error codes](https://help.aliyun.com/document_detail/101346.html).
   * 
   * @example
   * OK
   */
  code?: string;
  /**
   * @remarks
   * The description of the status code.
   * 
   * @example
   * OK
   */
  message?: string;
  /**
   * @remarks
   * The order ID.
   * 
   * Reviewers use this ID to query the review status. Provide this order ID if you request an expedited review.
   * 
   * @example
   * 20041271****
   */
  orderId?: string;
  /**
   * @remarks
   * The unique identifier of the request, generated by Alibaba Cloud. Use this request ID to troubleshoot issues.
   * 
   * @example
   * 819BE656-D2E0-4858-8B21-B2E477085AA0
   */
  requestId?: string;
  /**
   * @remarks
   * The template code.
   * 
   * After you submit a modified template for review, you can use the template code to call the [GetSmsTemplate](~~GetSmsTemplate~~) operation and query the review details. You can also [configure delivery receipts](https://help.aliyun.com/zh/sms/developer-reference/configure-delivery-receipts-1) to receive the review status in a [TemplateSmsReport](https://help.aliyun.com/document_detail/120999.html) message.
   * 
   * @example
   * SMS_152550****
   */
  templateCode?: string;
  /**
   * @remarks
   * The name of the SMS template.
   * 
   * @example
   * 验证码
   */
  templateName?: string;
  static names(): { [key: string]: string } {
    return {
      code: 'Code',
      message: 'Message',
      orderId: 'OrderId',
      requestId: 'RequestId',
      templateCode: 'TemplateCode',
      templateName: 'TemplateName',
    };
  }

  static types(): { [key: string]: any } {
    return {
      code: 'string',
      message: 'string',
      orderId: 'string',
      requestId: 'string',
      templateCode: 'string',
      templateName: 'string',
    };
  }

  validate() {
    super.validate();
  }

  constructor(map?: { [key: string]: any }) {
    super(map);
  }
}

