// This file is auto-generated, don't edit it. Thanks.
package client

import (
	"github.com/alibabacloud-go/tea/dara"
)

type iUpdateSmsTemplateResponseBody interface {
	dara.Model
	String() string
	GoString() string
	SetCode(v string) *UpdateSmsTemplateResponseBody
	GetCode() *string
	SetMessage(v string) *UpdateSmsTemplateResponseBody
	GetMessage() *string
	SetOrderId(v string) *UpdateSmsTemplateResponseBody
	GetOrderId() *string
	SetRequestId(v string) *UpdateSmsTemplateResponseBody
	GetRequestId() *string
	SetTemplateCode(v string) *UpdateSmsTemplateResponseBody
	GetTemplateCode() *string
	SetTemplateName(v string) *UpdateSmsTemplateResponseBody
	GetTemplateName() *string
}

type UpdateSmsTemplateResponseBody struct {
	// Request status code.
	//
	// 	- OK indicates a successful request.
	//
	// 	- For other error codes, refer to the **Error Codes*	- section of this chapter or the product\\"s [API Error Codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Description of the status code.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Work order number.
	//
	// This parameter is used by auditors when querying audits. You need to provide this work order number when requesting expedited review.
	//
	// example:
	//
	// 20041271****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of this call request, which is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues.
	//
	// example:
	//
	// 819BE656-D2E0-4858-8B21-B2E477085AAF
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Code of the SMS template.
	//
	// example:
	//
	// SMS_152550****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// Name of the SMS template.
	//
	// example:
	//
	// 验证码
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
}

func (s UpdateSmsTemplateResponseBody) String() string {
	return dara.Prettify(s)
}

func (s UpdateSmsTemplateResponseBody) GoString() string {
	return s.String()
}

func (s *UpdateSmsTemplateResponseBody) GetCode() *string {
	return s.Code
}

func (s *UpdateSmsTemplateResponseBody) GetMessage() *string {
	return s.Message
}

func (s *UpdateSmsTemplateResponseBody) GetOrderId() *string {
	return s.OrderId
}

func (s *UpdateSmsTemplateResponseBody) GetRequestId() *string {
	return s.RequestId
}

func (s *UpdateSmsTemplateResponseBody) GetTemplateCode() *string {
	return s.TemplateCode
}

func (s *UpdateSmsTemplateResponseBody) GetTemplateName() *string {
	return s.TemplateName
}

func (s *UpdateSmsTemplateResponseBody) SetCode(v string) *UpdateSmsTemplateResponseBody {
	s.Code = &v
	return s
}

func (s *UpdateSmsTemplateResponseBody) SetMessage(v string) *UpdateSmsTemplateResponseBody {
	s.Message = &v
	return s
}

func (s *UpdateSmsTemplateResponseBody) SetOrderId(v string) *UpdateSmsTemplateResponseBody {
	s.OrderId = &v
	return s
}

func (s *UpdateSmsTemplateResponseBody) SetRequestId(v string) *UpdateSmsTemplateResponseBody {
	s.RequestId = &v
	return s
}

func (s *UpdateSmsTemplateResponseBody) SetTemplateCode(v string) *UpdateSmsTemplateResponseBody {
	s.TemplateCode = &v
	return s
}

func (s *UpdateSmsTemplateResponseBody) SetTemplateName(v string) *UpdateSmsTemplateResponseBody {
	s.TemplateName = &v
	return s
}

func (s *UpdateSmsTemplateResponseBody) Validate() error {
	return dara.Validate(s)
}
