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

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

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

type CreateSmsTemplateResponseBody 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:
	//
	// successful
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Work order ID.
	//
	// This parameter is used by auditors when querying audits. If you need expedited review, you must provide this work order number.
	//
	// example:
	//
	// 2005020****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID generated by Alibaba Cloud for this request, which is a unique identifier that can be used for troubleshooting and issue定位.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// SMS template code.
	//
	// After submitting the template application, you can use the SMS template code to query the template audit details via the [GetSmsTemplate](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-getsmstemplate?) API. You can also [configure delivery receipts](https://help.aliyun.com/zh/sms/developer-reference/configure-delivery-receipts-1?spm), and obtain the template audit status messages through TemplateSmsReport.
	//
	// example:
	//
	// SMS_10000****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// SMS template name.
	//
	// example:
	//
	// aliyunCode
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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