client

package
v4.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 9

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddExtCodeSignRequest added in v4.1.0

type AddExtCodeSignRequest struct {
	// 扩展码A3
	//
	// This parameter is required.
	//
	// example:
	//
	// 01
	ExtCode              *string `json:"ExtCode,omitempty" xml:"ExtCode,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 签名
	//
	// This parameter is required.
	//
	// example:
	//
	// 示例值
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (AddExtCodeSignRequest) GoString added in v4.1.0

func (s AddExtCodeSignRequest) GoString() string

func (*AddExtCodeSignRequest) SetExtCode added in v4.1.0

func (*AddExtCodeSignRequest) SetOwnerId added in v4.1.0

func (*AddExtCodeSignRequest) SetResourceOwnerAccount added in v4.1.0

func (s *AddExtCodeSignRequest) SetResourceOwnerAccount(v string) *AddExtCodeSignRequest

func (*AddExtCodeSignRequest) SetResourceOwnerId added in v4.1.0

func (s *AddExtCodeSignRequest) SetResourceOwnerId(v int64) *AddExtCodeSignRequest

func (*AddExtCodeSignRequest) SetSignName added in v4.1.0

func (AddExtCodeSignRequest) String added in v4.1.0

func (s AddExtCodeSignRequest) String() string

type AddExtCodeSignResponse added in v4.1.0

type AddExtCodeSignResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AddExtCodeSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AddExtCodeSignResponse) GoString added in v4.1.0

func (s AddExtCodeSignResponse) GoString() string

func (*AddExtCodeSignResponse) SetBody added in v4.1.0

func (*AddExtCodeSignResponse) SetHeaders added in v4.1.0

func (*AddExtCodeSignResponse) SetStatusCode added in v4.1.0

func (AddExtCodeSignResponse) String added in v4.1.0

func (s AddExtCodeSignResponse) String() string

type AddExtCodeSignResponseBody added in v4.1.0

type AddExtCodeSignResponseBody struct {
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// true
	Data *bool `json:"Data,omitempty" xml:"Data,omitempty"`
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 90E63D28-E31D-1EB2-8939-A9486641****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (AddExtCodeSignResponseBody) GoString added in v4.1.0

func (s AddExtCodeSignResponseBody) GoString() string

func (*AddExtCodeSignResponseBody) SetAccessDeniedDetail added in v4.1.0

func (s *AddExtCodeSignResponseBody) SetAccessDeniedDetail(v string) *AddExtCodeSignResponseBody

func (*AddExtCodeSignResponseBody) SetCode added in v4.1.0

func (*AddExtCodeSignResponseBody) SetData added in v4.1.0

func (*AddExtCodeSignResponseBody) SetMessage added in v4.1.0

func (*AddExtCodeSignResponseBody) SetRequestId added in v4.1.0

func (*AddExtCodeSignResponseBody) SetSuccess added in v4.1.0

func (AddExtCodeSignResponseBody) String added in v4.1.0

type AddShortUrlRequest

type AddShortUrlRequest struct {
	// The validity period of the short URL. Unit: days. The maximum validity period is 90 days.
	//
	// This parameter is required.
	//
	// example:
	//
	// 7
	EffectiveDays        *string `json:"EffectiveDays,omitempty" xml:"EffectiveDays,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The service name of the short URL. The name cannot exceed 13 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// The Alibaba Cloud Short Link service.
	ShortUrlName *string `json:"ShortUrlName,omitempty" xml:"ShortUrlName,omitempty"`
	// The source URL. The URL cannot exceed 1,000 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// https://www.****.com/product/sms
	SourceUrl *string `json:"SourceUrl,omitempty" xml:"SourceUrl,omitempty"`
}

func (AddShortUrlRequest) GoString

func (s AddShortUrlRequest) GoString() string

func (*AddShortUrlRequest) SetEffectiveDays

func (s *AddShortUrlRequest) SetEffectiveDays(v string) *AddShortUrlRequest

func (*AddShortUrlRequest) SetOwnerId

func (s *AddShortUrlRequest) SetOwnerId(v int64) *AddShortUrlRequest

func (*AddShortUrlRequest) SetResourceOwnerAccount

func (s *AddShortUrlRequest) SetResourceOwnerAccount(v string) *AddShortUrlRequest

func (*AddShortUrlRequest) SetResourceOwnerId

func (s *AddShortUrlRequest) SetResourceOwnerId(v int64) *AddShortUrlRequest

func (*AddShortUrlRequest) SetShortUrlName

func (s *AddShortUrlRequest) SetShortUrlName(v string) *AddShortUrlRequest

func (*AddShortUrlRequest) SetSourceUrl

func (s *AddShortUrlRequest) SetSourceUrl(v string) *AddShortUrlRequest

func (AddShortUrlRequest) String

func (s AddShortUrlRequest) String() string

type AddShortUrlResponse

type AddShortUrlResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AddShortUrlResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AddShortUrlResponse) GoString

func (s AddShortUrlResponse) GoString() string

func (*AddShortUrlResponse) SetBody

func (*AddShortUrlResponse) SetHeaders

func (s *AddShortUrlResponse) SetHeaders(v map[string]*string) *AddShortUrlResponse

func (*AddShortUrlResponse) SetStatusCode

func (s *AddShortUrlResponse) SetStatusCode(v int32) *AddShortUrlResponse

func (AddShortUrlResponse) String

func (s AddShortUrlResponse) String() string

type AddShortUrlResponseBody

type AddShortUrlResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The details of the short URL.
	Data *AddShortUrlResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 819BE656-D2E0-4858-8B21-B2E477085AAF
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AddShortUrlResponseBody) GoString

func (s AddShortUrlResponseBody) GoString() string

func (*AddShortUrlResponseBody) SetCode

func (*AddShortUrlResponseBody) SetData

func (*AddShortUrlResponseBody) SetMessage

func (*AddShortUrlResponseBody) SetRequestId

func (AddShortUrlResponseBody) String

func (s AddShortUrlResponseBody) String() string

type AddShortUrlResponseBodyData

type AddShortUrlResponseBodyData struct {
	// The time when the short URL expires.
	//
	// > The value of **ExpireDate*	- is on the hour.
	//
	// example:
	//
	// 2021-09-19 00:00:00
	ExpireDate *string `json:"ExpireDate,omitempty" xml:"ExpireDate,omitempty"`
	// The short URL.
	//
	// example:
	//
	// http://****.cn/6y8uy7
	ShortUrl *string `json:"ShortUrl,omitempty" xml:"ShortUrl,omitempty"`
	// The source URL.
	//
	// example:
	//
	// https://www.****.com/product/sms
	SourceUrl *string `json:"SourceUrl,omitempty" xml:"SourceUrl,omitempty"`
}

func (AddShortUrlResponseBodyData) GoString

func (s AddShortUrlResponseBodyData) GoString() string

func (*AddShortUrlResponseBodyData) SetExpireDate

func (*AddShortUrlResponseBodyData) SetShortUrl

func (*AddShortUrlResponseBodyData) SetSourceUrl

func (AddShortUrlResponseBodyData) String

type AddSmsSignRequest

type AddSmsSignRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The description of the signature application. The description cannot exceed 200 characters in length. The description is one of the reference information for signature review. We recommend that you describe the use scenarios of your services in detail, and provide information that can verify the services, such as a website URL, a domain name with an ICP filing, an app download URL, an official account name, or a mini program name. For sign-in scenarios, you must also provide an account and password for tests. A detailed description can improve the review efficiency of signatures and templates.
	//
	// This parameter is required.
	//
	// example:
	//
	// This is the abbreviation of our company.
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The signature files.
	//
	// This parameter is required.
	SignFileList []*AddSmsSignRequestSignFileList `json:"SignFileList,omitempty" xml:"SignFileList,omitempty" type:"Repeated"`
	// The name of the signature.
	//
	// >
	//
	// 	- The signature name is not case-sensitive. For example, [Alibaba Cloud Communication] and [alibaba cloud communication] are considered as the same name.
	//
	// 	- If your verification code signature and general-purpose signature have the same name, the system uses the general-purpose signature to send messages by default.
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// The source of the signature. Valid values:
	//
	// 	- **0**: the full name or abbreviation of an enterprise or institution
	//
	// 	- **1**: the full name or abbreviation of a website that has obtained an ICP filing from the Ministry of Industry and Information Technology (MIIT) of China
	//
	// 	- **2**: the full name or abbreviation of an app
	//
	// 	- **3**: the full name or abbreviation of an official account or mini-program
	//
	// 	- **4**: the full name or abbreviation of an e-commerce store
	//
	// 	- **5**: the full name or abbreviation of a trademark
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	SignSource *int32 `json:"SignSource,omitempty" xml:"SignSource,omitempty"`
	// The type of the signature. Valid values:
	//
	// 	- **0**: verification code
	//
	// 	- **1**: general-purpose
	//
	// example:
	//
	// 1
	SignType *int32 `json:"SignType,omitempty" xml:"SignType,omitempty"`
}

func (AddSmsSignRequest) GoString

func (s AddSmsSignRequest) GoString() string

func (*AddSmsSignRequest) SetOwnerId

func (s *AddSmsSignRequest) SetOwnerId(v int64) *AddSmsSignRequest

func (*AddSmsSignRequest) SetRemark

func (s *AddSmsSignRequest) SetRemark(v string) *AddSmsSignRequest

func (*AddSmsSignRequest) SetResourceOwnerAccount

func (s *AddSmsSignRequest) SetResourceOwnerAccount(v string) *AddSmsSignRequest

func (*AddSmsSignRequest) SetResourceOwnerId

func (s *AddSmsSignRequest) SetResourceOwnerId(v int64) *AddSmsSignRequest

func (*AddSmsSignRequest) SetSignFileList

func (*AddSmsSignRequest) SetSignName

func (s *AddSmsSignRequest) SetSignName(v string) *AddSmsSignRequest

func (*AddSmsSignRequest) SetSignSource

func (s *AddSmsSignRequest) SetSignSource(v int32) *AddSmsSignRequest

func (*AddSmsSignRequest) SetSignType

func (s *AddSmsSignRequest) SetSignType(v int32) *AddSmsSignRequest

func (AddSmsSignRequest) String

func (s AddSmsSignRequest) String() string

type AddSmsSignRequestSignFileList

type AddSmsSignRequestSignFileList struct {
	// The Base64-encoded string of the qualification document. An image cannot exceed 2 MB in size. In some scenarios, you must upload supporting documents to apply for signatures. For more information, see [SMS signature specifications](https://help.aliyun.com/document_detail/108076.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// R0lGODlhHAAmAKIHAKqqqsvLy0hISObm5vf394uL****
	FileContents *string `json:"FileContents,omitempty" xml:"FileContents,omitempty"`
	// The format of the qualification document. You can upload multiple images. Images in JPG, PNG, GIF, or JPEG format are supported.
	//
	// In some scenarios, you must upload supporting documents to apply for signatures. For more information, see [SMS signature specifications](https://help.aliyun.com/document_detail/108076.html).
	//
	// > If you apply for a signature for other users or if the signature source is the name of an enterprise or public institution, you must upload a certificate and a letter of authorization. For more information, see [Certificate](https://help.aliyun.com/document_detail/108076.html) and [Letter of authorization](https://help.aliyun.com/document_detail/56741.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// jpg
	FileSuffix *string `json:"FileSuffix,omitempty" xml:"FileSuffix,omitempty"`
}

func (AddSmsSignRequestSignFileList) GoString

func (*AddSmsSignRequestSignFileList) SetFileContents

func (*AddSmsSignRequestSignFileList) SetFileSuffix

func (AddSmsSignRequestSignFileList) String

type AddSmsSignResponse

type AddSmsSignResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AddSmsSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AddSmsSignResponse) GoString

func (s AddSmsSignResponse) GoString() string

func (*AddSmsSignResponse) SetBody

func (*AddSmsSignResponse) SetHeaders

func (s *AddSmsSignResponse) SetHeaders(v map[string]*string) *AddSmsSignResponse

func (*AddSmsSignResponse) SetStatusCode

func (s *AddSmsSignResponse) SetStatusCode(v int32) *AddSmsSignResponse

func (AddSmsSignResponse) String

func (s AddSmsSignResponse) String() string

type AddSmsSignResponseBody

type AddSmsSignResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The name of the signature.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (AddSmsSignResponseBody) GoString

func (s AddSmsSignResponseBody) GoString() string

func (*AddSmsSignResponseBody) SetCode

func (*AddSmsSignResponseBody) SetMessage

func (*AddSmsSignResponseBody) SetRequestId

func (*AddSmsSignResponseBody) SetSignName

func (AddSmsSignResponseBody) String

func (s AddSmsSignResponseBody) String() string

type AddSmsTemplateRequest

type AddSmsTemplateRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The description of the message template. It is one of the reference information for template review. The description cannot exceed 100 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// Apply for a template to send verification codes.
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The content of the template. The content can be up to 500 characters in length. For more information, see [Message template specifications](https://help.aliyun.com/document_detail/108253.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// You are applying for mobile registration. The verification code is: ${code}, valid for 5 minutes!
	TemplateContent *string `json:"TemplateContent,omitempty" xml:"TemplateContent,omitempty"`
	// The name of the template. The name can be up to 30 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun Test
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The type of the message. Valid values:
	//
	// 	- **0**: verification code
	//
	// 	- **1**: notification
	//
	// 	- **2**: promotional message
	//
	// 	- **3**: message sent to countries or regions outside the Chinese mainland
	//
	// > Only enterprise users can send promotional messages, or send messages to countries or regions outside the Chinese mainland.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	TemplateType *int32 `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (AddSmsTemplateRequest) GoString

func (s AddSmsTemplateRequest) GoString() string

func (*AddSmsTemplateRequest) SetOwnerId

func (*AddSmsTemplateRequest) SetRemark

func (*AddSmsTemplateRequest) SetResourceOwnerAccount

func (s *AddSmsTemplateRequest) SetResourceOwnerAccount(v string) *AddSmsTemplateRequest

func (*AddSmsTemplateRequest) SetResourceOwnerId

func (s *AddSmsTemplateRequest) SetResourceOwnerId(v int64) *AddSmsTemplateRequest

func (*AddSmsTemplateRequest) SetTemplateContent

func (s *AddSmsTemplateRequest) SetTemplateContent(v string) *AddSmsTemplateRequest

func (*AddSmsTemplateRequest) SetTemplateName

func (s *AddSmsTemplateRequest) SetTemplateName(v string) *AddSmsTemplateRequest

func (*AddSmsTemplateRequest) SetTemplateType

func (s *AddSmsTemplateRequest) SetTemplateType(v int32) *AddSmsTemplateRequest

func (AddSmsTemplateRequest) String

func (s AddSmsTemplateRequest) String() string

type AddSmsTemplateResponse

type AddSmsTemplateResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AddSmsTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AddSmsTemplateResponse) GoString

func (s AddSmsTemplateResponse) GoString() string

func (*AddSmsTemplateResponse) SetBody

func (*AddSmsTemplateResponse) SetHeaders

func (*AddSmsTemplateResponse) SetStatusCode

func (AddSmsTemplateResponse) String

func (s AddSmsTemplateResponse) String() string

type AddSmsTemplateResponseBody

type AddSmsTemplateResponseBody struct {
	// The response 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The code of the message template.
	//
	// example:
	//
	// SMS_15255****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (AddSmsTemplateResponseBody) GoString

func (s AddSmsTemplateResponseBody) GoString() string

func (*AddSmsTemplateResponseBody) SetCode

func (*AddSmsTemplateResponseBody) SetMessage

func (*AddSmsTemplateResponseBody) SetRequestId

func (*AddSmsTemplateResponseBody) SetTemplateCode

func (AddSmsTemplateResponseBody) String

type CheckMobilesCardSupportRequest

type CheckMobilesCardSupportRequest struct {
	// The list of mobile phone numbers that receive messages.
	//
	// This parameter is required.
	Mobiles []map[string]interface{} `json:"Mobiles,omitempty" xml:"Mobiles,omitempty" type:"Repeated"`
	// 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.
	//
	// > Make sure that the message template has been approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// CARD_SMS_****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (CheckMobilesCardSupportRequest) GoString

func (*CheckMobilesCardSupportRequest) SetMobiles

func (s *CheckMobilesCardSupportRequest) SetMobiles(v []map[string]interface{}) *CheckMobilesCardSupportRequest

func (*CheckMobilesCardSupportRequest) SetTemplateCode

func (CheckMobilesCardSupportRequest) String

type CheckMobilesCardSupportResponse

type CheckMobilesCardSupportResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CheckMobilesCardSupportResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CheckMobilesCardSupportResponse) GoString

func (*CheckMobilesCardSupportResponse) SetHeaders

func (*CheckMobilesCardSupportResponse) SetStatusCode

func (CheckMobilesCardSupportResponse) String

type CheckMobilesCardSupportResponseBody

type CheckMobilesCardSupportResponseBody struct {
	// The HTTP status code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *CheckMobilesCardSupportResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 819BE656-D2E0-4858-8B21-B2E477085AAF
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CheckMobilesCardSupportResponseBody) GoString

func (*CheckMobilesCardSupportResponseBody) SetCode

func (*CheckMobilesCardSupportResponseBody) SetRequestId

func (*CheckMobilesCardSupportResponseBody) SetSuccess

func (CheckMobilesCardSupportResponseBody) String

type CheckMobilesCardSupportResponseBodyData

type CheckMobilesCardSupportResponseBodyData struct {
	// The list of returned results.
	QueryResult []*CheckMobilesCardSupportResponseBodyDataQueryResult `json:"queryResult,omitempty" xml:"queryResult,omitempty" type:"Repeated"`
}

func (CheckMobilesCardSupportResponseBodyData) GoString

func (CheckMobilesCardSupportResponseBodyData) String

type CheckMobilesCardSupportResponseBodyDataQueryResult

type CheckMobilesCardSupportResponseBodyDataQueryResult struct {
	// The mobile phone number.
	//
	// example:
	//
	// 1390000****
	Mobile *string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// Indicates whether the mobile phone number supports card messages.
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Support *bool `json:"support,omitempty" xml:"support,omitempty"`
}

func (CheckMobilesCardSupportResponseBodyDataQueryResult) GoString

func (*CheckMobilesCardSupportResponseBodyDataQueryResult) SetMobile

func (*CheckMobilesCardSupportResponseBodyDataQueryResult) SetSupport

func (CheckMobilesCardSupportResponseBodyDataQueryResult) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) AddExtCodeSign added in v4.1.0

func (client *Client) AddExtCodeSign(request *AddExtCodeSignRequest) (_result *AddExtCodeSignResponse, _err error)

Summary:

添加验证码签名信息

@param request - AddExtCodeSignRequest

@return AddExtCodeSignResponse

func (*Client) AddExtCodeSignWithOptions added in v4.1.0

func (client *Client) AddExtCodeSignWithOptions(request *AddExtCodeSignRequest, runtime *util.RuntimeOptions) (_result *AddExtCodeSignResponse, _err error)

Summary:

添加验证码签名信息

@param request - AddExtCodeSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return AddExtCodeSignResponse

func (*Client) AddShortUrl

func (client *Client) AddShortUrl(request *AddShortUrlRequest) (_result *AddShortUrlResponse, _err error)

Summary:

Creates a short URL.

Description:

  Before you call this operation, you must register the primary domain name of the source URL in the Short Message Service (SMS) console. After the domain name is registered, you can call this operation to create a short URL. For more information, see [Domain name registration](https://help.aliyun.com/document_detail/302325.html#title-mau-zdh-hd0).

	- You can create up to 3,000 short URLs within a natural day.

	- After a short URL is generated, a security review is required. Generally, the review takes 10 minutes to 2 hours to complete. Before the security review is passed, the short URL cannot be directly accessed.

@param request - AddShortUrlRequest

@return AddShortUrlResponse

func (*Client) AddShortUrlWithOptions

func (client *Client) AddShortUrlWithOptions(request *AddShortUrlRequest, runtime *util.RuntimeOptions) (_result *AddShortUrlResponse, _err error)

Summary:

Creates a short URL.

Description:

  Before you call this operation, you must register the primary domain name of the source URL in the Short Message Service (SMS) console. After the domain name is registered, you can call this operation to create a short URL. For more information, see [Domain name registration](https://help.aliyun.com/document_detail/302325.html#title-mau-zdh-hd0).

	- You can create up to 3,000 short URLs within a natural day.

	- After a short URL is generated, a security review is required. Generally, the review takes 10 minutes to 2 hours to complete. Before the security review is passed, the short URL cannot be directly accessed.

@param request - AddShortUrlRequest

@param runtime - runtime options for this request RuntimeOptions

@return AddShortUrlResponse

func (*Client) AddSmsSign

func (client *Client) AddSmsSign(request *AddSmsSignRequest) (_result *AddSmsSignResponse, _err error)

Summary:

Creates a signature.

Description:

You can call the AddSmsSign operation or use the [Short Message Service (SMS) console](https://dysms.console.aliyun.com/dysms.htm#/overview) to create an SMS signature. The signature must comply with the [SMS signature specifications](https://help.aliyun.com/document_detail/108076.html). You can call the QuerySmsSign operation or use the SMS console to query the review status of the signature.

For more information, see [Usage notes](https://help.aliyun.com/document_detail/55324.html).

### QPS limit

You can call this operation only once per second. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

>

  • You cannot cancel the review of a signature.

  • Individual users can create only one verification code signature, and can create only one general-purpose signature within a natural day. If you need to apply for multiple signatures, we recommend that you upgrade your account to an enterprise user.

  • If you need to use the same signature for messages sent to recipients both in and outside the Chinese mainland, the signature must be a general-purpose signature.

  • If you apply for a signature or message template, you must specify the signature scenario or template type. You must also provide the information of your services, such as a website URL, a domain name with an ICP filing, an application download URL, or the name of your WeChat official account or mini program. For sign-in scenarios, you must also provide an account and password for tests. A detailed description can improve the review efficiency of signatures and templates.

  • An SMS signature must undergo a thorough review process before it can be approved for use.

@param request - AddSmsSignRequest

@return AddSmsSignResponse

func (*Client) AddSmsSignWithOptions

func (client *Client) AddSmsSignWithOptions(request *AddSmsSignRequest, runtime *util.RuntimeOptions) (_result *AddSmsSignResponse, _err error)

Summary:

Creates a signature.

Description:

You can call the AddSmsSign operation or use the [Short Message Service (SMS) console](https://dysms.console.aliyun.com/dysms.htm#/overview) to create an SMS signature. The signature must comply with the [SMS signature specifications](https://help.aliyun.com/document_detail/108076.html). You can call the QuerySmsSign operation or use the SMS console to query the review status of the signature.

For more information, see [Usage notes](https://help.aliyun.com/document_detail/55324.html).

### QPS limit

You can call this operation only once per second. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

>

  • You cannot cancel the review of a signature.

  • Individual users can create only one verification code signature, and can create only one general-purpose signature within a natural day. If you need to apply for multiple signatures, we recommend that you upgrade your account to an enterprise user.

  • If you need to use the same signature for messages sent to recipients both in and outside the Chinese mainland, the signature must be a general-purpose signature.

  • If you apply for a signature or message template, you must specify the signature scenario or template type. You must also provide the information of your services, such as a website URL, a domain name with an ICP filing, an application download URL, or the name of your WeChat official account or mini program. For sign-in scenarios, you must also provide an account and password for tests. A detailed description can improve the review efficiency of signatures and templates.

  • An SMS signature must undergo a thorough review process before it can be approved for use.

@param request - AddSmsSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return AddSmsSignResponse

func (*Client) AddSmsTemplate

func (client *Client) AddSmsTemplate(request *AddSmsTemplateRequest) (_result *AddSmsTemplateResponse, _err error)

Summary:

Creates a message template.

Description:

You can call the operation or use the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview) to apply for a message template. The template must comply with the [message template specifications](https://help.aliyun.com/document_detail/108253.html). You can call the [QuerySmsTemplate](https://help.aliyun.com/document_detail/419289.html) operation or use the Alibaba Cloud SMS console to check whether the message template is approved.

>

  • Message templates pending approval can be withdrawn. You can withdraw a message template pending approval on the Message Templates tab in the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview).

  • Message templates that have been approved can be deleted, and cannot be modified. You can delete a message template pending approval on the Message Templates tab in the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview).

  • If you call the AddSmsTemplate operation, you can apply for a maximum of 100 message templates in a calendar day. After you apply for a message template, we recommend that you wait for at least 30 seconds before you apply for another one. If you use the Alibaba Cloud SMS console, you can apply for an unlimited number of message templates.

  • Messages sent to the Chinese mainland and messages sent to countries or regions outside the Chinese mainland use separate message templates. Create message templates based on your needs.

  • If you apply for a signature or message template, you must specify the signature scenario or template type. You must also provide the information of your services, such as a website URL, a domain name with an ICP filing, an application download URL, or the name of your WeChat official account or mini program. For sign-in scenarios, you must also provide an account and password for tests. A detailed description can improve the review efficiency of signatures and templates.

  • A signature must undergo a thorough review process before it can be approved for use. For more information, see [Usage notes](https://help.aliyun.com/document_detail/55324.html).

### QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - AddSmsTemplateRequest

@return AddSmsTemplateResponse

func (*Client) AddSmsTemplateWithOptions

func (client *Client) AddSmsTemplateWithOptions(request *AddSmsTemplateRequest, runtime *util.RuntimeOptions) (_result *AddSmsTemplateResponse, _err error)

Summary:

Creates a message template.

Description:

You can call the operation or use the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview) to apply for a message template. The template must comply with the [message template specifications](https://help.aliyun.com/document_detail/108253.html). You can call the [QuerySmsTemplate](https://help.aliyun.com/document_detail/419289.html) operation or use the Alibaba Cloud SMS console to check whether the message template is approved.

>

  • Message templates pending approval can be withdrawn. You can withdraw a message template pending approval on the Message Templates tab in the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview).

  • Message templates that have been approved can be deleted, and cannot be modified. You can delete a message template pending approval on the Message Templates tab in the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview).

  • If you call the AddSmsTemplate operation, you can apply for a maximum of 100 message templates in a calendar day. After you apply for a message template, we recommend that you wait for at least 30 seconds before you apply for another one. If you use the Alibaba Cloud SMS console, you can apply for an unlimited number of message templates.

  • Messages sent to the Chinese mainland and messages sent to countries or regions outside the Chinese mainland use separate message templates. Create message templates based on your needs.

  • If you apply for a signature or message template, you must specify the signature scenario or template type. You must also provide the information of your services, such as a website URL, a domain name with an ICP filing, an application download URL, or the name of your WeChat official account or mini program. For sign-in scenarios, you must also provide an account and password for tests. A detailed description can improve the review efficiency of signatures and templates.

  • A signature must undergo a thorough review process before it can be approved for use. For more information, see [Usage notes](https://help.aliyun.com/document_detail/55324.html).

### QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - AddSmsTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return AddSmsTemplateResponse

func (*Client) CheckMobilesCardSupport

func (client *Client) CheckMobilesCardSupport(request *CheckMobilesCardSupportRequest) (_result *CheckMobilesCardSupportResponse, _err error)

Summary:

Checks whether a mobile phone number can receive card messages.

Description:

### QPS limit

You can call this operation up to 2,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - CheckMobilesCardSupportRequest

@return CheckMobilesCardSupportResponse

func (*Client) CheckMobilesCardSupportWithOptions

func (client *Client) CheckMobilesCardSupportWithOptions(request *CheckMobilesCardSupportRequest, runtime *util.RuntimeOptions) (_result *CheckMobilesCardSupportResponse, _err error)

Summary:

Checks whether a mobile phone number can receive card messages.

Description:

### QPS limit

You can call this operation up to 2,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - CheckMobilesCardSupportRequest

@param runtime - runtime options for this request RuntimeOptions

@return CheckMobilesCardSupportResponse

func (*Client) ConversionDataIntl

func (client *Client) ConversionDataIntl(request *ConversionDataIntlRequest) (_result *ConversionDataIntlResponse, _err error)

Summary:

Sends conversion rate information to Alibaba Cloud SMS.

@param request - ConversionDataIntlRequest

@return ConversionDataIntlResponse

func (*Client) ConversionDataIntlWithOptions

func (client *Client) ConversionDataIntlWithOptions(request *ConversionDataIntlRequest, runtime *util.RuntimeOptions) (_result *ConversionDataIntlResponse, _err error)

Summary:

Sends conversion rate information to Alibaba Cloud SMS.

@param request - ConversionDataIntlRequest

@param runtime - runtime options for this request RuntimeOptions

@return ConversionDataIntlResponse

func (*Client) CreateCardSmsTemplate

func (client *Client) CreateCardSmsTemplate(request *CreateCardSmsTemplateRequest) (_result *CreateCardSmsTemplateResponse, _err error)

Summary:

Creates a card message template.

Description:

  The CreateCardSmsTemplate operation saves the card message template information, submits it to the mobile phone manufacturer for approval, and returns the message template ID.

	- If the type of the message template is not supported or events that are not supported by the mobile phone manufacturer are specified, the template is not submitted. For more information, see [Supported message templates](https://help.aliyun.com/document_detail/434611.html).

	- For information about sample card message templates, see [Sample card message templates](https://help.aliyun.com/document_detail/435361.html).

### QPS limit

You can call this operation up to 300 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - CreateCardSmsTemplateRequest

@return CreateCardSmsTemplateResponse

func (*Client) CreateCardSmsTemplateWithOptions

func (client *Client) CreateCardSmsTemplateWithOptions(tmpReq *CreateCardSmsTemplateRequest, runtime *util.RuntimeOptions) (_result *CreateCardSmsTemplateResponse, _err error)

Summary:

Creates a card message template.

Description:

  The CreateCardSmsTemplate operation saves the card message template information, submits it to the mobile phone manufacturer for approval, and returns the message template ID.

	- If the type of the message template is not supported or events that are not supported by the mobile phone manufacturer are specified, the template is not submitted. For more information, see [Supported message templates](https://help.aliyun.com/document_detail/434611.html).

	- For information about sample card message templates, see [Sample card message templates](https://help.aliyun.com/document_detail/435361.html).

### QPS limit

You can call this operation up to 300 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param tmpReq - CreateCardSmsTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateCardSmsTemplateResponse

func (*Client) CreateSmartShortUrl

func (client *Client) CreateSmartShortUrl(request *CreateSmartShortUrlRequest) (_result *CreateSmartShortUrlResponse, _err error)

Summary:

创建短链

@param request - CreateSmartShortUrlRequest

@return CreateSmartShortUrlResponse

func (*Client) CreateSmartShortUrlWithOptions

func (client *Client) CreateSmartShortUrlWithOptions(request *CreateSmartShortUrlRequest, runtime *util.RuntimeOptions) (_result *CreateSmartShortUrlResponse, _err error)

Summary:

创建短链

@param request - CreateSmartShortUrlRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateSmartShortUrlResponse

func (*Client) CreateSmsSign

func (client *Client) CreateSmsSign(request *CreateSmsSignRequest) (_result *CreateSmsSignResponse, _err error)

Summary:

Create SMS Signature

Description:

- For details about the announcement of changes to the new and original interfaces, see [Announcement on Updates to SMS Service Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- Individual authenticated users can apply for one formal signature per natural day under the same Alibaba Cloud account, while enterprise authenticated users have no current restrictions. For details on the differences in rights between individual and enterprise users, please refer to [User Guide](https://help.aliyun.com/zh/sms/user-guide/usage-notes?spm).

- Signature information applied through the interface will be synchronized in the SMS service console. For operations related to signatures in the console, see [SMS Signatures](https://help.aliyun.com/zh/sms/user-guide/create-signatures?spm).

- After submitting the signature application, you can query the signature review status and details via the [GetSmsSign](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-getsmssign?spm) interface. You can also [Configure Receipt Messages](https://help.aliyun.com/zh/sms/developer-reference/configure-delivery-receipts-1?spm) and obtain signature review status messages through SignSmsReport.

@param request - CreateSmsSignRequest

@return CreateSmsSignResponse

func (*Client) CreateSmsSignWithOptions

func (client *Client) CreateSmsSignWithOptions(tmpReq *CreateSmsSignRequest, runtime *util.RuntimeOptions) (_result *CreateSmsSignResponse, _err error)

Summary:

Create SMS Signature

Description:

- For details about the announcement of changes to the new and original interfaces, see [Announcement on Updates to SMS Service Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- Individual authenticated users can apply for one formal signature per natural day under the same Alibaba Cloud account, while enterprise authenticated users have no current restrictions. For details on the differences in rights between individual and enterprise users, please refer to [User Guide](https://help.aliyun.com/zh/sms/user-guide/usage-notes?spm).

- Signature information applied through the interface will be synchronized in the SMS service console. For operations related to signatures in the console, see [SMS Signatures](https://help.aliyun.com/zh/sms/user-guide/create-signatures?spm).

- After submitting the signature application, you can query the signature review status and details via the [GetSmsSign](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-getsmssign?spm) interface. You can also [Configure Receipt Messages](https://help.aliyun.com/zh/sms/developer-reference/configure-delivery-receipts-1?spm) and obtain signature review status messages through SignSmsReport.

@param tmpReq - CreateSmsSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateSmsSignResponse

func (*Client) CreateSmsTemplate

func (client *Client) CreateSmsTemplate(request *CreateSmsTemplateRequest) (_result *CreateSmsTemplateResponse, _err error)

Summary:

Create SMS Template

Description:

- For details about the changes of this new interface compared to the original one, please refer to [Announcement on the Update of SMS Service Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- It is recommended to apply for SMS templates via the API with at least a 30-second interval between each request.

- The template information applied through the API will be synchronized in the SMS service console. For operations related to templates in the console, please refer to SMS Templates.

- After submitting the template application, you can query the audit status and details using the GetSmsTemplate interface. You can also configure delivery receipts to obtain the audit status messages via TemplateSmsReport.

- Domestic SMS templates are not interchangeable with international/Hong Kong, Macao, and Taiwan SMS templates. Please apply for templates based on your business scenario.

- Only enterprise-verified users can apply for promotional messages and international/Hong Kong, Macao, and Taiwan messages. For differences in rights between personal and enterprise users, please refer to Usage Instructions.

@param request - CreateSmsTemplateRequest

@return CreateSmsTemplateResponse

func (*Client) CreateSmsTemplateWithOptions

func (client *Client) CreateSmsTemplateWithOptions(tmpReq *CreateSmsTemplateRequest, runtime *util.RuntimeOptions) (_result *CreateSmsTemplateResponse, _err error)

Summary:

Create SMS Template

Description:

- For details about the changes of this new interface compared to the original one, please refer to [Announcement on the Update of SMS Service Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- It is recommended to apply for SMS templates via the API with at least a 30-second interval between each request.

- The template information applied through the API will be synchronized in the SMS service console. For operations related to templates in the console, please refer to SMS Templates.

- After submitting the template application, you can query the audit status and details using the GetSmsTemplate interface. You can also configure delivery receipts to obtain the audit status messages via TemplateSmsReport.

- Domestic SMS templates are not interchangeable with international/Hong Kong, Macao, and Taiwan SMS templates. Please apply for templates based on your business scenario.

- Only enterprise-verified users can apply for promotional messages and international/Hong Kong, Macao, and Taiwan messages. For differences in rights between personal and enterprise users, please refer to Usage Instructions.

@param tmpReq - CreateSmsTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateSmsTemplateResponse

func (*Client) DeleteExtCodeSign added in v4.1.0

func (client *Client) DeleteExtCodeSign(request *DeleteExtCodeSignRequest) (_result *DeleteExtCodeSignResponse, _err error)

Summary:

删除验证码签名

@param request - DeleteExtCodeSignRequest

@return DeleteExtCodeSignResponse

func (*Client) DeleteExtCodeSignWithOptions added in v4.1.0

func (client *Client) DeleteExtCodeSignWithOptions(request *DeleteExtCodeSignRequest, runtime *util.RuntimeOptions) (_result *DeleteExtCodeSignResponse, _err error)

Summary:

删除验证码签名

@param request - DeleteExtCodeSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteExtCodeSignResponse

func (*Client) DeleteShortUrl

func (client *Client) DeleteShortUrl(request *DeleteShortUrlRequest) (_result *DeleteShortUrlResponse, _err error)

Summary:

Deletes a short URL. After you delete a short URL, it cannot be changed to its original state.

Description:

### QPS limits

You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - DeleteShortUrlRequest

@return DeleteShortUrlResponse

func (*Client) DeleteShortUrlWithOptions

func (client *Client) DeleteShortUrlWithOptions(request *DeleteShortUrlRequest, runtime *util.RuntimeOptions) (_result *DeleteShortUrlResponse, _err error)

Summary:

Deletes a short URL. After you delete a short URL, it cannot be changed to its original state.

Description:

### QPS limits

You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - DeleteShortUrlRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteShortUrlResponse

func (*Client) DeleteSmsSign

func (client *Client) DeleteSmsSign(request *DeleteSmsSignRequest) (_result *DeleteSmsSignResponse, _err error)

Summary:

Deletes a signature.

Description:

  You cannot delete a signature that has not been approved.

	- After you delete a signature, you cannot recover it. Proceed with caution.

### QPS limits

You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - DeleteSmsSignRequest

@return DeleteSmsSignResponse

func (*Client) DeleteSmsSignWithOptions

func (client *Client) DeleteSmsSignWithOptions(request *DeleteSmsSignRequest, runtime *util.RuntimeOptions) (_result *DeleteSmsSignResponse, _err error)

Summary:

Deletes a signature.

Description:

  You cannot delete a signature that has not been approved.

	- After you delete a signature, you cannot recover it. Proceed with caution.

### QPS limits

You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - DeleteSmsSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteSmsSignResponse

func (*Client) DeleteSmsTemplate

func (client *Client) DeleteSmsTemplate(request *DeleteSmsTemplateRequest) (_result *DeleteSmsTemplateResponse, _err error)

Summary:

Deletes a message template.

Description:

  Message templates pending approval can be withdrawn. You can delete a message template pending approval on the Message Templates tab in the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview).

	- Message templates that have been approved can be deleted, and cannot be modified. You can delete a message template pending approval on the Message Templates tab in the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview).

	- You cannot recover deleted message templates. Proceed with caution.

### QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - DeleteSmsTemplateRequest

@return DeleteSmsTemplateResponse

func (*Client) DeleteSmsTemplateWithOptions

func (client *Client) DeleteSmsTemplateWithOptions(request *DeleteSmsTemplateRequest, runtime *util.RuntimeOptions) (_result *DeleteSmsTemplateResponse, _err error)

Summary:

Deletes a message template.

Description:

  Message templates pending approval can be withdrawn. You can delete a message template pending approval on the Message Templates tab in the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview).

	- Message templates that have been approved can be deleted, and cannot be modified. You can delete a message template pending approval on the Message Templates tab in the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview).

	- You cannot recover deleted message templates. Proceed with caution.

### QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - DeleteSmsTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return DeleteSmsTemplateResponse

func (*Client) GetCardSmsDetails added in v4.1.0

func (client *Client) GetCardSmsDetails(request *GetCardSmsDetailsRequest) (_result *GetCardSmsDetailsResponse, _err error)

Summary:

Query card sending details

@param request - GetCardSmsDetailsRequest

@return GetCardSmsDetailsResponse

func (*Client) GetCardSmsDetailsWithOptions added in v4.1.0

func (client *Client) GetCardSmsDetailsWithOptions(request *GetCardSmsDetailsRequest, runtime *util.RuntimeOptions) (_result *GetCardSmsDetailsResponse, _err error)

Summary:

Query card sending details

@param request - GetCardSmsDetailsRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetCardSmsDetailsResponse

func (client *Client) GetCardSmsLink(request *GetCardSmsLinkRequest) (_result *GetCardSmsLinkResponse, _err error)

Summary:

Queries the short URLs of a card messages template.

Description:

### QPS limit

You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - GetCardSmsLinkRequest

@return GetCardSmsLinkResponse

func (*Client) GetCardSmsLinkWithOptions

func (client *Client) GetCardSmsLinkWithOptions(request *GetCardSmsLinkRequest, runtime *util.RuntimeOptions) (_result *GetCardSmsLinkResponse, _err error)

Summary:

Queries the short URLs of a card messages template.

Description:

### QPS limit

You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - GetCardSmsLinkRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetCardSmsLinkResponse

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetMediaResourceId

func (client *Client) GetMediaResourceId(request *GetMediaResourceIdRequest) (_result *GetMediaResourceIdResponse, _err error)

Summary:

Converts a resource uploaded to the specified Object Storage Service (OSS) bucket for unified management. Then, a resource ID is returned. You can manage the resource based on the ID.

Description:

### QPS limit

You can call this operation up to 300 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - GetMediaResourceIdRequest

@return GetMediaResourceIdResponse

func (*Client) GetMediaResourceIdWithOptions

func (client *Client) GetMediaResourceIdWithOptions(request *GetMediaResourceIdRequest, runtime *util.RuntimeOptions) (_result *GetMediaResourceIdResponse, _err error)

Summary:

Converts a resource uploaded to the specified Object Storage Service (OSS) bucket for unified management. Then, a resource ID is returned. You can manage the resource based on the ID.

Description:

### QPS limit

You can call this operation up to 300 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - GetMediaResourceIdRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetMediaResourceIdResponse

func (*Client) GetOSSInfoForCardTemplate

func (client *Client) GetOSSInfoForCardTemplate() (_result *GetOSSInfoForCardTemplateResponse, _err error)

Summary:

Queries the OSS configuration information about card messages.

Description:

Resources such as images and videos used for card message templates can be uploaded to Object Storage Service (OSS) buckets for storage. For more information, see [Upload files to OSS](https://help.aliyun.com/document_detail/437303.html).

### QPS limit

You can call this operation up to 300 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@return GetOSSInfoForCardTemplateResponse

func (*Client) GetOSSInfoForCardTemplateWithOptions

func (client *Client) GetOSSInfoForCardTemplateWithOptions(runtime *util.RuntimeOptions) (_result *GetOSSInfoForCardTemplateResponse, _err error)

Summary:

Queries the OSS configuration information about card messages.

Description:

Resources such as images and videos used for card message templates can be uploaded to Object Storage Service (OSS) buckets for storage. For more information, see [Upload files to OSS](https://help.aliyun.com/document_detail/437303.html).

### QPS limit

You can call this operation up to 300 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - GetOSSInfoForCardTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetOSSInfoForCardTemplateResponse

func (*Client) GetOSSInfoForUploadFile

func (client *Client) GetOSSInfoForUploadFile(request *GetOSSInfoForUploadFileRequest) (_result *GetOSSInfoForUploadFileResponse, _err error)

Summary:

SMS File Upload, Get Authorization Info

Description:

- When creating signatures or templates, you can upload materials such as login pages with links, backend page screenshots, software copyrights, supplementary agreements, etc. This helps the review personnel understand your business details. If there are multiple materials, they can be combined into one file, supporting png, jpg, jpeg, doc, docx, pdf formats.

- For additional materials needed when creating signatures or templates, you can upload them to the OSS file system for storage. For file upload operations, refer to [OSS File Upload](https://help.aliyun.com/zh/sms/upload-files-through-oss).

@param request - GetOSSInfoForUploadFileRequest

@return GetOSSInfoForUploadFileResponse

func (*Client) GetOSSInfoForUploadFileWithOptions

func (client *Client) GetOSSInfoForUploadFileWithOptions(request *GetOSSInfoForUploadFileRequest, runtime *util.RuntimeOptions) (_result *GetOSSInfoForUploadFileResponse, _err error)

Summary:

SMS File Upload, Get Authorization Info

Description:

- When creating signatures or templates, you can upload materials such as login pages with links, backend page screenshots, software copyrights, supplementary agreements, etc. This helps the review personnel understand your business details. If there are multiple materials, they can be combined into one file, supporting png, jpg, jpeg, doc, docx, pdf formats.

- For additional materials needed when creating signatures or templates, you can upload them to the OSS file system for storage. For file upload operations, refer to [OSS File Upload](https://help.aliyun.com/zh/sms/upload-files-through-oss).

@param request - GetOSSInfoForUploadFileRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetOSSInfoForUploadFileResponse

func (*Client) GetSmsSign

func (client *Client) GetSmsSign(request *GetSmsSignRequest) (_result *GetSmsSignResponse, _err error)

Summary:

Query SMS Signature Details

Description:

- For details about the changes of this new interface and the original one, please refer to [Announcement on the Update of SMS Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- Review Time: Generally, after submitting the signature, Alibaba Cloud expects to complete the review within 2 hours (Review Business Hours: Monday to Sunday 9:00~21:00, with legal holidays postponed). It is recommended to submit your application before 18:00.

- If the signature fails the review, the reason for the failure will be returned. Please refer to [Handling Suggestions for Failed SMS Reviews](https://help.aliyun.com/zh/sms/user-guide/causes-of-application-failures-and-suggestions?spm), invoke the [UpdateSmsSign](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-updatesmssign?spm) API, or modify the unapproved SMS signature on the [Signature Management](https://dysms.console.aliyun.com/domestic/text/sign) page.

@param request - GetSmsSignRequest

@return GetSmsSignResponse

func (*Client) GetSmsSignWithOptions

func (client *Client) GetSmsSignWithOptions(request *GetSmsSignRequest, runtime *util.RuntimeOptions) (_result *GetSmsSignResponse, _err error)

Summary:

Query SMS Signature Details

Description:

- For details about the changes of this new interface and the original one, please refer to [Announcement on the Update of SMS Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- Review Time: Generally, after submitting the signature, Alibaba Cloud expects to complete the review within 2 hours (Review Business Hours: Monday to Sunday 9:00~21:00, with legal holidays postponed). It is recommended to submit your application before 18:00.

- If the signature fails the review, the reason for the failure will be returned. Please refer to [Handling Suggestions for Failed SMS Reviews](https://help.aliyun.com/zh/sms/user-guide/causes-of-application-failures-and-suggestions?spm), invoke the [UpdateSmsSign](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-updatesmssign?spm) API, or modify the unapproved SMS signature on the [Signature Management](https://dysms.console.aliyun.com/domestic/text/sign) page.

@param request - GetSmsSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetSmsSignResponse

func (*Client) GetSmsTemplate

func (client *Client) GetSmsTemplate(request *GetSmsTemplateRequest) (_result *GetSmsTemplateResponse, _err error)

Summary:

Query Text SMS Template Details

Description:

- For details about the announcement of changes to the new and original interfaces, see [Announcement on Updates to SMS Service Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- Review Time: Under normal circumstances, Alibaba Cloud expects to complete the review within 2 hours after template submission (review working hours: Monday to Sunday 9:00~21:00, with statutory holidays postponed). It is recommended to submit your application before 18:00.

- If the template fails the review, the reason for the failure will be returned. Please refer to [Handling Suggestions for Failed SMS Reviews](https://help.aliyun.com/zh/sms/user-guide/causes-of-application-failures-and-suggestions?spm=a2c4g.11186623.0.0.41fd339f3bPSCQ), invoke the [ModifySmsTemplate](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-modifysmstemplate?spm=a2c4g.11186623.0.0.5b1f6e8bQloFit) API or modify the SMS template on the [Template Management](https://dysms.console.aliyun.com/domestic/text/template) page.

- The current QuerySmsTemplate interface queries the audit details of a single template by template code. The [QuerySmsTemplateList](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-querysmstemplatelist?spm=a2c4g.11186623.0.0.24086e8bO8cFn4) interface can query the template details of all templates under your current account.

@param request - GetSmsTemplateRequest

@return GetSmsTemplateResponse

func (*Client) GetSmsTemplateWithOptions

func (client *Client) GetSmsTemplateWithOptions(request *GetSmsTemplateRequest, runtime *util.RuntimeOptions) (_result *GetSmsTemplateResponse, _err error)

Summary:

Query Text SMS Template Details

Description:

- For details about the announcement of changes to the new and original interfaces, see [Announcement on Updates to SMS Service Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- Review Time: Under normal circumstances, Alibaba Cloud expects to complete the review within 2 hours after template submission (review working hours: Monday to Sunday 9:00~21:00, with statutory holidays postponed). It is recommended to submit your application before 18:00.

- If the template fails the review, the reason for the failure will be returned. Please refer to [Handling Suggestions for Failed SMS Reviews](https://help.aliyun.com/zh/sms/user-guide/causes-of-application-failures-and-suggestions?spm=a2c4g.11186623.0.0.41fd339f3bPSCQ), invoke the [ModifySmsTemplate](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-modifysmstemplate?spm=a2c4g.11186623.0.0.5b1f6e8bQloFit) API or modify the SMS template on the [Template Management](https://dysms.console.aliyun.com/domestic/text/template) page.

- The current QuerySmsTemplate interface queries the audit details of a single template by template code. The [QuerySmsTemplateList](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-querysmstemplatelist?spm=a2c4g.11186623.0.0.24086e8bO8cFn4) interface can query the template details of all templates under your current account.

@param request - GetSmsTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetSmsTemplateResponse

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)

Summary:

Queries the tags of a message template.

Description:

### QPS limit

You can call this operation up to 50 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - ListTagResourcesRequest

@return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions

func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)

Summary:

Queries the tags of a message template.

Description:

### QPS limit

You can call this operation up to 50 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - ListTagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListTagResourcesResponse

func (*Client) ModifySmsSign

func (client *Client) ModifySmsSign(request *ModifySmsSignRequest) (_result *ModifySmsSignResponse, _err error)

Summary:

Modifies a rejected signature and submit it for approval. Signatures that are pending approval or have been approved cannot be modified.

Description:

You can call the operation or use the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview) to modify an existing signature and submit the signature for approval. The signature must comply with the [signature specifications](https://help.aliyun.com/document_detail/108076.html).

For more information, see [Usage notes](https://help.aliyun.com/document_detail/55324.html).

### QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

>

  • Signatures pending approval cannot be modified.

  • You cannot modify a signature after it is approved. If you no longer need the signature, you can delete it.

  • If you are an individual user, you cannot apply for a new signature on the same day that your signature is rejected or deleted. We recommend that you modify the rejected signature and submit it again.

@param request - ModifySmsSignRequest

@return ModifySmsSignResponse

func (*Client) ModifySmsSignWithOptions

func (client *Client) ModifySmsSignWithOptions(request *ModifySmsSignRequest, runtime *util.RuntimeOptions) (_result *ModifySmsSignResponse, _err error)

Summary:

Modifies a rejected signature and submit it for approval. Signatures that are pending approval or have been approved cannot be modified.

Description:

You can call the operation or use the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview) to modify an existing signature and submit the signature for approval. The signature must comply with the [signature specifications](https://help.aliyun.com/document_detail/108076.html).

For more information, see [Usage notes](https://help.aliyun.com/document_detail/55324.html).

### QPS limits

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

>

  • Signatures pending approval cannot be modified.

  • You cannot modify a signature after it is approved. If you no longer need the signature, you can delete it.

  • If you are an individual user, you cannot apply for a new signature on the same day that your signature is rejected or deleted. We recommend that you modify the rejected signature and submit it again.

@param request - ModifySmsSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifySmsSignResponse

func (*Client) ModifySmsTemplate

func (client *Client) ModifySmsTemplate(request *ModifySmsTemplateRequest) (_result *ModifySmsTemplateResponse, _err error)

Summary:

Modifies the information of an unapproved message template and submits it for review again.

Description:

After you apply for a message template, if the template fails to pass the review, you can call this operation to modify the template and submit the template again. You can call this operation to modify only a template for a specific message type.

The template content must comply with the [SMS template specifications](https://help.aliyun.com/document_detail/108253.html).

For more information, see [Usage notes](https://help.aliyun.com/document_detail/55324.html).

### QPS limit

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - ModifySmsTemplateRequest

@return ModifySmsTemplateResponse

func (*Client) ModifySmsTemplateWithOptions

func (client *Client) ModifySmsTemplateWithOptions(request *ModifySmsTemplateRequest, runtime *util.RuntimeOptions) (_result *ModifySmsTemplateResponse, _err error)

Summary:

Modifies the information of an unapproved message template and submits it for review again.

Description:

After you apply for a message template, if the template fails to pass the review, you can call this operation to modify the template and submit the template again. You can call this operation to modify only a template for a specific message type.

The template content must comply with the [SMS template specifications](https://help.aliyun.com/document_detail/108253.html).

For more information, see [Usage notes](https://help.aliyun.com/document_detail/55324.html).

### QPS limit

You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - ModifySmsTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return ModifySmsTemplateResponse

func (*Client) QueryCardSmsTemplate

func (client *Client) QueryCardSmsTemplate(request *QueryCardSmsTemplateRequest) (_result *QueryCardSmsTemplateResponse, _err error)

Summary:

Queries the review status of a message template.

Description:

### QPS limit

You can call this operation up to 300 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QueryCardSmsTemplateRequest

@return QueryCardSmsTemplateResponse

func (*Client) QueryCardSmsTemplateReport

func (client *Client) QueryCardSmsTemplateReport(request *QueryCardSmsTemplateReportRequest) (_result *QueryCardSmsTemplateReportResponse, _err error)

Summary:

Queries sent card messages.

Description:

### QPS limit

You can call this operation up to 300 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QueryCardSmsTemplateReportRequest

@return QueryCardSmsTemplateReportResponse

func (*Client) QueryCardSmsTemplateReportWithOptions

func (client *Client) QueryCardSmsTemplateReportWithOptions(request *QueryCardSmsTemplateReportRequest, runtime *util.RuntimeOptions) (_result *QueryCardSmsTemplateReportResponse, _err error)

Summary:

Queries sent card messages.

Description:

### QPS limit

You can call this operation up to 300 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QueryCardSmsTemplateReportRequest

@param runtime - runtime options for this request RuntimeOptions

@return QueryCardSmsTemplateReportResponse

func (*Client) QueryCardSmsTemplateWithOptions

func (client *Client) QueryCardSmsTemplateWithOptions(request *QueryCardSmsTemplateRequest, runtime *util.RuntimeOptions) (_result *QueryCardSmsTemplateResponse, _err error)

Summary:

Queries the review status of a message template.

Description:

### QPS limit

You can call this operation up to 300 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QueryCardSmsTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return QueryCardSmsTemplateResponse

func (*Client) QueryExtCodeSign added in v4.1.0

func (client *Client) QueryExtCodeSign(request *QueryExtCodeSignRequest) (_result *QueryExtCodeSignResponse, _err error)

Summary:

查询验证码签名

@param request - QueryExtCodeSignRequest

@return QueryExtCodeSignResponse

func (*Client) QueryExtCodeSignWithOptions added in v4.1.0

func (client *Client) QueryExtCodeSignWithOptions(request *QueryExtCodeSignRequest, runtime *util.RuntimeOptions) (_result *QueryExtCodeSignResponse, _err error)

Summary:

查询验证码签名

@param request - QueryExtCodeSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return QueryExtCodeSignResponse

func (*Client) QueryMobilesCardSupport

func (client *Client) QueryMobilesCardSupport(request *QueryMobilesCardSupportRequest) (_result *QueryMobilesCardSupportResponse, _err error)

Summary:

Checks whether a mobile phone number can receive card messages.

@param request - QueryMobilesCardSupportRequest

@return QueryMobilesCardSupportResponse

func (*Client) QueryMobilesCardSupportWithOptions

func (client *Client) QueryMobilesCardSupportWithOptions(tmpReq *QueryMobilesCardSupportRequest, runtime *util.RuntimeOptions) (_result *QueryMobilesCardSupportResponse, _err error)

Summary:

Checks whether a mobile phone number can receive card messages.

@param tmpReq - QueryMobilesCardSupportRequest

@param runtime - runtime options for this request RuntimeOptions

@return QueryMobilesCardSupportResponse

func (*Client) QueryPageSmartShortUrlLog

func (client *Client) QueryPageSmartShortUrlLog(request *QueryPageSmartShortUrlLogRequest) (_result *QueryPageSmartShortUrlLogResponse, _err error)

Summary:

点击明细查询

@param request - QueryPageSmartShortUrlLogRequest

@return QueryPageSmartShortUrlLogResponse

func (*Client) QueryPageSmartShortUrlLogWithOptions

func (client *Client) QueryPageSmartShortUrlLogWithOptions(request *QueryPageSmartShortUrlLogRequest, runtime *util.RuntimeOptions) (_result *QueryPageSmartShortUrlLogResponse, _err error)

Summary:

点击明细查询

@param request - QueryPageSmartShortUrlLogRequest

@param runtime - runtime options for this request RuntimeOptions

@return QueryPageSmartShortUrlLogResponse

func (*Client) QuerySendDetails

func (client *Client) QuerySendDetails(request *QuerySendDetailsRequest) (_result *QuerySendDetailsResponse, _err error)

Summary:

Queries the information about a message.

@param request - QuerySendDetailsRequest

@return QuerySendDetailsResponse

func (*Client) QuerySendDetailsWithOptions

func (client *Client) QuerySendDetailsWithOptions(request *QuerySendDetailsRequest, runtime *util.RuntimeOptions) (_result *QuerySendDetailsResponse, _err error)

Summary:

Queries the information about a message.

@param request - QuerySendDetailsRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySendDetailsResponse

func (*Client) QuerySendStatistics

func (client *Client) QuerySendStatistics(request *QuerySendStatisticsRequest) (_result *QuerySendStatisticsResponse, _err error)

Summary:

Queries message delivery details.

Description:

You can call the operation to query message delivery details, including the number of delivered messages, the number of messages with delivery receipts, and the time that a message is sent. If a large number of messages are sent on the specified date, you can specify the number of items displayed on each page and the number of pages to view the details by page.

### QPS limits

You can call this operation up to 20 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QuerySendStatisticsRequest

@return QuerySendStatisticsResponse

func (*Client) QuerySendStatisticsWithOptions

func (client *Client) QuerySendStatisticsWithOptions(request *QuerySendStatisticsRequest, runtime *util.RuntimeOptions) (_result *QuerySendStatisticsResponse, _err error)

Summary:

Queries message delivery details.

Description:

You can call the operation to query message delivery details, including the number of delivered messages, the number of messages with delivery receipts, and the time that a message is sent. If a large number of messages are sent on the specified date, you can specify the number of items displayed on each page and the number of pages to view the details by page.

### QPS limits

You can call this operation up to 20 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QuerySendStatisticsRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySendStatisticsResponse

func (*Client) QueryShortUrl

func (client *Client) QueryShortUrl(request *QueryShortUrlRequest) (_result *QueryShortUrlResponse, _err error)

Summary:

Queries the status of a short URL.

Description:

### QPS limits

You can call this operation up to 20 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QueryShortUrlRequest

@return QueryShortUrlResponse

func (*Client) QueryShortUrlWithOptions

func (client *Client) QueryShortUrlWithOptions(request *QueryShortUrlRequest, runtime *util.RuntimeOptions) (_result *QueryShortUrlResponse, _err error)

Summary:

Queries the status of a short URL.

Description:

### QPS limits

You can call this operation up to 20 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QueryShortUrlRequest

@param runtime - runtime options for this request RuntimeOptions

@return QueryShortUrlResponse

func (*Client) QuerySmsSign

func (client *Client) QuerySmsSign(request *QuerySmsSignRequest) (_result *QuerySmsSignResponse, _err error)

Summary:

Queries the status of a signature.

Description:

After you apply for an SMS signature, you can query its status by using the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm) or calling the operation. If the signature is rejected, you can modify the signature based on the reason why it is rejected.

### QPS limits

You can call this API operation up to 500 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QuerySmsSignRequest

@return QuerySmsSignResponse

func (*Client) QuerySmsSignList

func (client *Client) QuerySmsSignList(request *QuerySmsSignListRequest) (_result *QuerySmsSignListResponse, _err error)

Summary:

Queries message signatures by page.

Description:

You can call this operation to query the details of message signatures, including the name, creation time, and approval status of each signature. If a message template is rejected, the reason is returned. Modify the message signature based on the reason.

### QPS limit

You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QuerySmsSignListRequest

@return QuerySmsSignListResponse

func (*Client) QuerySmsSignListWithOptions

func (client *Client) QuerySmsSignListWithOptions(request *QuerySmsSignListRequest, runtime *util.RuntimeOptions) (_result *QuerySmsSignListResponse, _err error)

Summary:

Queries message signatures by page.

Description:

You can call this operation to query the details of message signatures, including the name, creation time, and approval status of each signature. If a message template is rejected, the reason is returned. Modify the message signature based on the reason.

### QPS limit

You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QuerySmsSignListRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySmsSignListResponse

func (*Client) QuerySmsSignWithOptions

func (client *Client) QuerySmsSignWithOptions(request *QuerySmsSignRequest, runtime *util.RuntimeOptions) (_result *QuerySmsSignResponse, _err error)

Summary:

Queries the status of a signature.

Description:

After you apply for an SMS signature, you can query its status by using the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm) or calling the operation. If the signature is rejected, you can modify the signature based on the reason why it is rejected.

### QPS limits

You can call this API operation up to 500 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QuerySmsSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySmsSignResponse

func (*Client) QuerySmsTemplate

func (client *Client) QuerySmsTemplate(request *QuerySmsTemplateRequest) (_result *QuerySmsTemplateResponse, _err error)

Summary:

Queries the approval status of a message template.

Description:

After you create a message template, you can call this operation to query the approval status of the template. If a message template is rejected, the reason is returned. Modify the message template based on the reason.

### QPS limit

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QuerySmsTemplateRequest

@return QuerySmsTemplateResponse

func (*Client) QuerySmsTemplateList

func (client *Client) QuerySmsTemplateList(request *QuerySmsTemplateListRequest) (_result *QuerySmsTemplateListResponse, _err error)

Summary:

Queries message templates.

Description:

You can call this operation to query the details of message templates, including the name, creation time, and approval status of each template. If a message template is rejected, the reason is returned. Modify the message template based on the reason.

### QPS limit

You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QuerySmsTemplateListRequest

@return QuerySmsTemplateListResponse

func (*Client) QuerySmsTemplateListWithOptions

func (client *Client) QuerySmsTemplateListWithOptions(request *QuerySmsTemplateListRequest, runtime *util.RuntimeOptions) (_result *QuerySmsTemplateListResponse, _err error)

Summary:

Queries message templates.

Description:

You can call this operation to query the details of message templates, including the name, creation time, and approval status of each template. If a message template is rejected, the reason is returned. Modify the message template based on the reason.

### QPS limit

You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QuerySmsTemplateListRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySmsTemplateListResponse

func (*Client) QuerySmsTemplateWithOptions

func (client *Client) QuerySmsTemplateWithOptions(request *QuerySmsTemplateRequest, runtime *util.RuntimeOptions) (_result *QuerySmsTemplateResponse, _err error)

Summary:

Queries the approval status of a message template.

Description:

After you create a message template, you can call this operation to query the approval status of the template. If a message template is rejected, the reason is returned. Modify the message template based on the reason.

### QPS limit

You can call this operation up to 5,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - QuerySmsTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return QuerySmsTemplateResponse

func (*Client) SendBatchCardSms

func (client *Client) SendBatchCardSms(request *SendBatchCardSmsRequest) (_result *SendBatchCardSmsResponse, _err error)

Summary:

Sends multiple card messages at a time.

Description:

You can call the operation to send multiple card messages to a maximum of mobile phone numbers at a time. Different signatures and rollback settings can be specified for the mobile phone numbers.

### QPS limit

You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - SendBatchCardSmsRequest

@return SendBatchCardSmsResponse

func (*Client) SendBatchCardSmsWithOptions

func (client *Client) SendBatchCardSmsWithOptions(request *SendBatchCardSmsRequest, runtime *util.RuntimeOptions) (_result *SendBatchCardSmsResponse, _err error)

Summary:

Sends multiple card messages at a time.

Description:

You can call the operation to send multiple card messages to a maximum of mobile phone numbers at a time. Different signatures and rollback settings can be specified for the mobile phone numbers.

### QPS limit

You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - SendBatchCardSmsRequest

@param runtime - runtime options for this request RuntimeOptions

@return SendBatchCardSmsResponse

func (*Client) SendBatchSms

func (client *Client) SendBatchSms(request *SendBatchSmsRequest) (_result *SendBatchSmsResponse, _err error)

Summary:

Uses a single message template and multiple signatures to send messages to multiple recipients.

Description:

You can call the operation to send messages to a maximum of 100 recipients at a time.

@param request - SendBatchSmsRequest

@return SendBatchSmsResponse

func (*Client) SendBatchSmsWithOptions

func (client *Client) SendBatchSmsWithOptions(request *SendBatchSmsRequest, runtime *util.RuntimeOptions) (_result *SendBatchSmsResponse, _err error)

Summary:

Uses a single message template and multiple signatures to send messages to multiple recipients.

Description:

You can call the operation to send messages to a maximum of 100 recipients at a time.

@param request - SendBatchSmsRequest

@param runtime - runtime options for this request RuntimeOptions

@return SendBatchSmsResponse

func (*Client) SendCardSms

func (client *Client) SendCardSms(request *SendCardSmsRequest) (_result *SendCardSmsResponse, _err error)

Summary:

Sends a card message.

Description:

  Make sure that the message template that you want to use has been approved. If the mobile phone number of a recipient does not support card messages, the SendCardSms operation allows the rollback feature to ensure successful delivery.

	- When you call the SendCardSms operation to send card messages, the operation checks whether the mobile phone numbers of the recipients support card messages. If the mobile phone numbers do not support card messages, you can specify whether to enable rollback. Otherwise, the card message cannot be delivered.

### QPS limit

You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - SendCardSmsRequest

@return SendCardSmsResponse

func (*Client) SendCardSmsWithOptions

func (client *Client) SendCardSmsWithOptions(request *SendCardSmsRequest, runtime *util.RuntimeOptions) (_result *SendCardSmsResponse, _err error)

Summary:

Sends a card message.

Description:

  Make sure that the message template that you want to use has been approved. If the mobile phone number of a recipient does not support card messages, the SendCardSms operation allows the rollback feature to ensure successful delivery.

	- When you call the SendCardSms operation to send card messages, the operation checks whether the mobile phone numbers of the recipients support card messages. If the mobile phone numbers do not support card messages, you can specify whether to enable rollback. Otherwise, the card message cannot be delivered.

### QPS limit

You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - SendCardSmsRequest

@param runtime - runtime options for this request RuntimeOptions

@return SendCardSmsResponse

func (*Client) SendSms

func (client *Client) SendSms(request *SendSmsRequest) (_result *SendSmsResponse, _err error)

Summary:

Sends a message. Before you call this operation, submit a message signature and message template, and make sure that the signature and template are approved.

Description:

  This operation is mainly used to send a single message. In special scenarios, you can send multiple messages with the same content to a maximum of 1,000 mobile numbers. Note that group sending may be delayed.

	- To send messages with different signatures and template content to multiple mobile numbers in a single request, call the [SendBatchSms](https://help.aliyun.com/document_detail/102364.html) operation.

	- You are charged for using Alibaba Cloud Short Message Service (SMS) based on the amount of messages sent. For more information, see [Pricing](https://www.aliyun.com/price/product#/sms/detail).

	- If your verification code signature and general-purpose signature have the same name, the system uses the general-purpose signature to send messages by default.

@param request - SendSmsRequest

@return SendSmsResponse

func (*Client) SendSmsWithOptions

func (client *Client) SendSmsWithOptions(request *SendSmsRequest, runtime *util.RuntimeOptions) (_result *SendSmsResponse, _err error)

Summary:

Sends a message. Before you call this operation, submit a message signature and message template, and make sure that the signature and template are approved.

Description:

  This operation is mainly used to send a single message. In special scenarios, you can send multiple messages with the same content to a maximum of 1,000 mobile numbers. Note that group sending may be delayed.

	- To send messages with different signatures and template content to multiple mobile numbers in a single request, call the [SendBatchSms](https://help.aliyun.com/document_detail/102364.html) operation.

	- You are charged for using Alibaba Cloud Short Message Service (SMS) based on the amount of messages sent. For more information, see [Pricing](https://www.aliyun.com/price/product#/sms/detail).

	- If your verification code signature and general-purpose signature have the same name, the system uses the general-purpose signature to send messages by default.

@param request - SendSmsRequest

@param runtime - runtime options for this request RuntimeOptions

@return SendSmsResponse

func (*Client) SmsConversionIntl

func (client *Client) SmsConversionIntl(request *SmsConversionIntlRequest) (_result *SmsConversionIntlResponse, _err error)

Summary:

Reports the status of an OTP message to Alibaba Cloud SMS.

Description:

Metrics:

  • Requested OTP messages

  • Verified OTP messages

An OTP conversion rate is calculated based on the following formula: OTP conversion rate = Number of verified OTP messages/Number of requested OTP messages.

> If you call the SmsConversion operation to query OTP conversion rates, your business may be affected. We recommend that you perform the following operations: 1. Call the SmsConversion operation in an asynchronous manner by configuring queues or events. 2. Manually degrade your services or use a circuit breaker to automatically degrade services.

@param request - SmsConversionIntlRequest

@return SmsConversionIntlResponse

func (*Client) SmsConversionIntlWithOptions

func (client *Client) SmsConversionIntlWithOptions(request *SmsConversionIntlRequest, runtime *util.RuntimeOptions) (_result *SmsConversionIntlResponse, _err error)

Summary:

Reports the status of an OTP message to Alibaba Cloud SMS.

Description:

Metrics:

  • Requested OTP messages

  • Verified OTP messages

An OTP conversion rate is calculated based on the following formula: OTP conversion rate = Number of verified OTP messages/Number of requested OTP messages.

> If you call the SmsConversion operation to query OTP conversion rates, your business may be affected. We recommend that you perform the following operations: 1. Call the SmsConversion operation in an asynchronous manner by configuring queues or events. 2. Manually degrade your services or use a circuit breaker to automatically degrade services.

@param request - SmsConversionIntlRequest

@param runtime - runtime options for this request RuntimeOptions

@return SmsConversionIntlResponse

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)

Summary:

Attaches tags to a message template.

Description:

### QPS limit

You can call this operation up to 50 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - TagResourcesRequest

@return TagResourcesResponse

func (*Client) TagResourcesWithOptions

func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)

Summary:

Attaches tags to a message template.

Description:

### QPS limit

You can call this operation up to 50 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - TagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return TagResourcesResponse

func (*Client) UntagResources

func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)

Summary:

Deletes tags from a message template.

Description:

### QPS limit

You can call this operation up to 50 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - UntagResourcesRequest

@return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions

func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)

Summary:

Deletes tags from a message template.

Description:

### QPS limit

You can call this operation up to 50 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

@param request - UntagResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return UntagResourcesResponse

func (*Client) UpdateExtCodeSign added in v4.1.0

func (client *Client) UpdateExtCodeSign(request *UpdateExtCodeSignRequest) (_result *UpdateExtCodeSignResponse, _err error)

Summary:

修改验证码签名

@param request - UpdateExtCodeSignRequest

@return UpdateExtCodeSignResponse

func (*Client) UpdateExtCodeSignWithOptions added in v4.1.0

func (client *Client) UpdateExtCodeSignWithOptions(request *UpdateExtCodeSignRequest, runtime *util.RuntimeOptions) (_result *UpdateExtCodeSignResponse, _err error)

Summary:

修改验证码签名

@param request - UpdateExtCodeSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdateExtCodeSignResponse

func (*Client) UpdateSmsSign

func (client *Client) UpdateSmsSign(request *UpdateSmsSignRequest) (_result *UpdateSmsSignResponse, _err error)

Summary:

Update Text SMS Signature

Description:

- For details about the changes of this new interface and the original one, please refer to [Announcement on the Update of SMS Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- Only signatures that have not passed the review can be modified. Please refer to [Handling Suggestions for Failed SMS Reviews](https://help.aliyun.com/zh/sms/user-guide/causes-of-application-failures-and-suggestions?spm) and call this interface to modify and resubmit for review after modification.

- Signature information applied through the interface will be synchronized in the SMS service console. For operations related to signatures in the console, please see [SMS Signatures](https://help.aliyun.com/zh/sms/user-guide/create-signatures?spm).

@param request - UpdateSmsSignRequest

@return UpdateSmsSignResponse

func (*Client) UpdateSmsSignWithOptions

func (client *Client) UpdateSmsSignWithOptions(tmpReq *UpdateSmsSignRequest, runtime *util.RuntimeOptions) (_result *UpdateSmsSignResponse, _err error)

Summary:

Update Text SMS Signature

Description:

- For details about the changes of this new interface and the original one, please refer to [Announcement on the Update of SMS Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- Only signatures that have not passed the review can be modified. Please refer to [Handling Suggestions for Failed SMS Reviews](https://help.aliyun.com/zh/sms/user-guide/causes-of-application-failures-and-suggestions?spm) and call this interface to modify and resubmit for review after modification.

- Signature information applied through the interface will be synchronized in the SMS service console. For operations related to signatures in the console, please see [SMS Signatures](https://help.aliyun.com/zh/sms/user-guide/create-signatures?spm).

@param tmpReq - UpdateSmsSignRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdateSmsSignResponse

func (*Client) UpdateSmsTemplate

func (client *Client) UpdateSmsTemplate(request *UpdateSmsTemplateRequest) (_result *UpdateSmsTemplateResponse, _err error)

Summary:

Update Text SMS Template

Description:

- For details about the changes of this new interface compared to the original one, please refer to [Announcement on SMS Service Update: Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- Only templates that have not passed the review can be modified. Please refer to [Handling Suggestions for Failed SMS Template Reviews](https://help.aliyun.com/zh/sms/user-guide/causes-of-application-failures-and-suggestions?spm=a2c4g.11186623.0.0.4bf5561ajcFtMQ) and call this interface to modify and resubmit for review.

- Modifications made through the interface will be synchronized in the SMS service console. For related operations on templates in the console, see [SMS Templates](https://help.aliyun.com/zh/sms/user-guide/message-templates/?spm=a2c4g.11186623.0.0.35a947464Itaxp).

### QPS Limit

The single-user QPS limit for this interface is 1000 times/second. Exceeding this limit will result in API throttling, which may impact your business. Please make calls reasonably.

@param request - UpdateSmsTemplateRequest

@return UpdateSmsTemplateResponse

func (*Client) UpdateSmsTemplateWithOptions

func (client *Client) UpdateSmsTemplateWithOptions(tmpReq *UpdateSmsTemplateRequest, runtime *util.RuntimeOptions) (_result *UpdateSmsTemplateResponse, _err error)

Summary:

Update Text SMS Template

Description:

- For details about the changes of this new interface compared to the original one, please refer to [Announcement on SMS Service Update: Signature & Template Interfaces](https://help.aliyun.com/zh/sms/product-overview/announcement-on-sms-service-update-signature-template-interface).

- Only templates that have not passed the review can be modified. Please refer to [Handling Suggestions for Failed SMS Template Reviews](https://help.aliyun.com/zh/sms/user-guide/causes-of-application-failures-and-suggestions?spm=a2c4g.11186623.0.0.4bf5561ajcFtMQ) and call this interface to modify and resubmit for review.

- Modifications made through the interface will be synchronized in the SMS service console. For related operations on templates in the console, see [SMS Templates](https://help.aliyun.com/zh/sms/user-guide/message-templates/?spm=a2c4g.11186623.0.0.35a947464Itaxp).

### QPS Limit

The single-user QPS limit for this interface is 1000 times/second. Exceeding this limit will result in API throttling, which may impact your business. Please make calls reasonably.

@param tmpReq - UpdateSmsTemplateRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdateSmsTemplateResponse

type ConversionDataIntlRequest

type ConversionDataIntlRequest struct {
	// The conversion rate.
	//
	// > The value of this parameter is a double, and ranges from 0 to 1.
	//
	// This parameter is required.
	//
	// example:
	//
	// 0.53
	ConversionRate *string `json:"ConversionRate,omitempty" xml:"ConversionRate,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The time point at which the conversion rate is monitored. The value is a UNIX timestamp. Unit: milliseconds.
	//
	// > If you do not specify this parameter, the current timestamp is used by default.
	//
	// example:
	//
	// 1349055900000
	ReportTime           *int64  `json:"ReportTime,omitempty" xml:"ReportTime,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (ConversionDataIntlRequest) GoString

func (s ConversionDataIntlRequest) GoString() string

func (*ConversionDataIntlRequest) SetConversionRate

func (*ConversionDataIntlRequest) SetOwnerId

func (*ConversionDataIntlRequest) SetReportTime

func (*ConversionDataIntlRequest) SetResourceOwnerAccount

func (s *ConversionDataIntlRequest) SetResourceOwnerAccount(v string) *ConversionDataIntlRequest

func (*ConversionDataIntlRequest) SetResourceOwnerId

func (s *ConversionDataIntlRequest) SetResourceOwnerId(v int64) *ConversionDataIntlRequest

func (ConversionDataIntlRequest) String

func (s ConversionDataIntlRequest) String() string

type ConversionDataIntlResponse

type ConversionDataIntlResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ConversionDataIntlResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ConversionDataIntlResponse) GoString

func (s ConversionDataIntlResponse) GoString() string

func (*ConversionDataIntlResponse) SetBody

func (*ConversionDataIntlResponse) SetHeaders

func (*ConversionDataIntlResponse) SetStatusCode

func (ConversionDataIntlResponse) String

type ConversionDataIntlResponseBody

type ConversionDataIntlResponseBody struct {
	// The status code. If OK is returned, the request is successful. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html?spm=a2c4g.101345.0.0.74326ff2J5EZyt).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8D****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ConversionDataIntlResponseBody) GoString

func (*ConversionDataIntlResponseBody) SetCode

func (*ConversionDataIntlResponseBody) SetMessage

func (*ConversionDataIntlResponseBody) SetRequestId

func (ConversionDataIntlResponseBody) String

type CreateCardSmsTemplateRequest

type CreateCardSmsTemplateRequest struct {
	// The mobile phone manufacturer. Valid values:
	//
	// 	- **HuaWei**: HUAWEI
	//
	// 	- **XiaoMi**: Xiaomi
	//
	// 	- **OPPO**: OPPO
	//
	// 	- **VIVO**: vivo
	//
	// 	- **MEIZU**: MEIZU
	//
	// > If this parameter is not specified, the system automatically specifies a supported mobile phone manufacturer.
	//
	// example:
	//
	// XiaoMi
	Factorys *string `json:"Factorys,omitempty" xml:"Factorys,omitempty"`
	// The description of the message template.
	//
	// example:
	//
	// Image and Text Template
	Memo *string `json:"Memo,omitempty" xml:"Memo,omitempty"`
	// The content of the card message template.
	//
	// >
	//
	// 	- For information about fields such as Template, ExtendInfo, TemplateContent, TmpCard, and Action, see [Parameters of card message templates](https://help.aliyun.com/document_detail/434929.html).
	//
	// 	- Message template content varies based on the template type. For more information, see [Sample message templates](https://help.aliyun.com/document_detail/435361.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// {
	//
	//        "extendInfo":{
	//
	//               "scene":"HMOVM",
	//
	//               "purpose":"2",
	//
	//               "userExt":{
	//
	//                      "outId":"1234554321"
	//
	//               }
	//
	//        },
	//
	//        "templateContent":{
	//
	//               "pages":[
	//
	//                      {
	//
	// "tmpCards":[
	//
	//                                    {
	//
	//                                           "type":"IMAGE",
	//
	//                                           "srcType":1,
	//
	//                                           "src":"28755",
	//
	//                                           "actionType":"OPEN_APP",
	//
	//                                           "action":{
	//
	//                                                  "target":"https://s.tb.cn/c.KxzZ",
	//
	//                                                  "merchantName":"test-template",
	//
	//                                                  "packageName":[
	//
	//                                                         "com.taobao.taobao"],
	//
	//                                                  "floorUrl":"https://s.tb.cn/c.KxzZ"
	//
	//                                           },
	//
	//                                           "positionNumber":1
	//
	//                                    },
	//
	//                                    {
	//
	//                                           "type":"TEXT",
	//
	//                                           "content":"this is a test msg.",
	//
	//                                           "isTextTitle":true,
	//
	//                                           "positionNumber":2
	//
	//                                    },
	//
	//                                    {
	//
	//                                           "type":"TEXT",
	//
	//                                           "content":"Promotional information",
	//
	//                                           "isTextTitle":false,
	//
	//                                           "positionNumber":3
	//
	//                                    },
	//
	//                                    {
	//
	//                                           "type":"BUTTON",
	//
	//                                           "content":"Promotional information,",
	//
	//                                           "actionType":"OPEN_BROWSER",
	//
	//                                           "action":{
	//
	//                                                  "target":"https://www.aliyun.com",
	//
	//                                                  "merchantName":"Currently on the Alibaba Cloud official website."
	//
	// },
	//
	//                                           "positionNumber":4
	//
	//                                    }]
	//
	//                      }]
	//
	//        },
	//
	//        "cardSignName":"aliyun",
	//
	//        "cardType":5
	//
	// }
	Template map[string]interface{} `json:"Template,omitempty" xml:"Template,omitempty"`
	// The name of the card message template.
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun Image and Text Template
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
}

func (CreateCardSmsTemplateRequest) GoString

func (s CreateCardSmsTemplateRequest) GoString() string

func (*CreateCardSmsTemplateRequest) SetFactorys

func (*CreateCardSmsTemplateRequest) SetMemo

func (*CreateCardSmsTemplateRequest) SetTemplate

func (s *CreateCardSmsTemplateRequest) SetTemplate(v map[string]interface{}) *CreateCardSmsTemplateRequest

func (*CreateCardSmsTemplateRequest) SetTemplateName

func (CreateCardSmsTemplateRequest) String

type CreateCardSmsTemplateResponse

type CreateCardSmsTemplateResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateCardSmsTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateCardSmsTemplateResponse) GoString

func (*CreateCardSmsTemplateResponse) SetBody

func (*CreateCardSmsTemplateResponse) SetHeaders

func (*CreateCardSmsTemplateResponse) SetStatusCode

func (CreateCardSmsTemplateResponse) String

type CreateCardSmsTemplateResponseBody

type CreateCardSmsTemplateResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *CreateCardSmsTemplateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request was successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CreateCardSmsTemplateResponseBody) GoString

func (*CreateCardSmsTemplateResponseBody) SetCode

func (*CreateCardSmsTemplateResponseBody) SetRequestId

func (*CreateCardSmsTemplateResponseBody) SetSuccess

func (CreateCardSmsTemplateResponseBody) String

type CreateCardSmsTemplateResponseBodyData

type CreateCardSmsTemplateResponseBodyData struct {
	// 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 `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (CreateCardSmsTemplateResponseBodyData) GoString

func (*CreateCardSmsTemplateResponseBodyData) SetTemplateCode

func (CreateCardSmsTemplateResponseBodyData) String

type CreateCardSmsTemplateShrinkRequest

type CreateCardSmsTemplateShrinkRequest struct {
	// The mobile phone manufacturer. Valid values:
	//
	// 	- **HuaWei**: HUAWEI
	//
	// 	- **XiaoMi**: Xiaomi
	//
	// 	- **OPPO**: OPPO
	//
	// 	- **VIVO**: vivo
	//
	// 	- **MEIZU**: MEIZU
	//
	// > If this parameter is not specified, the system automatically specifies a supported mobile phone manufacturer.
	//
	// example:
	//
	// XiaoMi
	Factorys *string `json:"Factorys,omitempty" xml:"Factorys,omitempty"`
	// The description of the message template.
	//
	// example:
	//
	// Image and Text Template
	Memo *string `json:"Memo,omitempty" xml:"Memo,omitempty"`
	// The content of the card message template.
	//
	// >
	//
	// 	- For information about fields such as Template, ExtendInfo, TemplateContent, TmpCard, and Action, see [Parameters of card message templates](https://help.aliyun.com/document_detail/434929.html).
	//
	// 	- Message template content varies based on the template type. For more information, see [Sample message templates](https://help.aliyun.com/document_detail/435361.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// {
	//
	//        "extendInfo":{
	//
	//               "scene":"HMOVM",
	//
	//               "purpose":"2",
	//
	//               "userExt":{
	//
	//                      "outId":"1234554321"
	//
	//               }
	//
	//        },
	//
	//        "templateContent":{
	//
	//               "pages":[
	//
	//                      {
	//
	// "tmpCards":[
	//
	//                                    {
	//
	//                                           "type":"IMAGE",
	//
	//                                           "srcType":1,
	//
	//                                           "src":"28755",
	//
	//                                           "actionType":"OPEN_APP",
	//
	//                                           "action":{
	//
	//                                                  "target":"https://s.tb.cn/c.KxzZ",
	//
	//                                                  "merchantName":"test-template",
	//
	//                                                  "packageName":[
	//
	//                                                         "com.taobao.taobao"],
	//
	//                                                  "floorUrl":"https://s.tb.cn/c.KxzZ"
	//
	//                                           },
	//
	//                                           "positionNumber":1
	//
	//                                    },
	//
	//                                    {
	//
	//                                           "type":"TEXT",
	//
	//                                           "content":"this is a test msg.",
	//
	//                                           "isTextTitle":true,
	//
	//                                           "positionNumber":2
	//
	//                                    },
	//
	//                                    {
	//
	//                                           "type":"TEXT",
	//
	//                                           "content":"Promotional information",
	//
	//                                           "isTextTitle":false,
	//
	//                                           "positionNumber":3
	//
	//                                    },
	//
	//                                    {
	//
	//                                           "type":"BUTTON",
	//
	//                                           "content":"Promotional information,",
	//
	//                                           "actionType":"OPEN_BROWSER",
	//
	//                                           "action":{
	//
	//                                                  "target":"https://www.aliyun.com",
	//
	//                                                  "merchantName":"Currently on the Alibaba Cloud official website."
	//
	// },
	//
	//                                           "positionNumber":4
	//
	//                                    }]
	//
	//                      }]
	//
	//        },
	//
	//        "cardSignName":"aliyun",
	//
	//        "cardType":5
	//
	// }
	TemplateShrink *string `json:"Template,omitempty" xml:"Template,omitempty"`
	// The name of the card message template.
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun Image and Text Template
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
}

func (CreateCardSmsTemplateShrinkRequest) GoString

func (*CreateCardSmsTemplateShrinkRequest) SetFactorys

func (*CreateCardSmsTemplateShrinkRequest) SetMemo

func (*CreateCardSmsTemplateShrinkRequest) SetTemplateName

func (*CreateCardSmsTemplateShrinkRequest) SetTemplateShrink

func (CreateCardSmsTemplateShrinkRequest) String

type CreateSmartShortUrlRequest

type CreateSmartShortUrlRequest struct {
	// example:
	//
	// 示例值示例值
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 15900195***
	PhoneNumbers         *string `json:"PhoneNumbers,omitempty" xml:"PhoneNumbers,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 示例值
	SourceUrl *string `json:"SourceUrl,omitempty" xml:"SourceUrl,omitempty"`
}

func (CreateSmartShortUrlRequest) GoString

func (s CreateSmartShortUrlRequest) GoString() string

func (*CreateSmartShortUrlRequest) SetOutId

func (*CreateSmartShortUrlRequest) SetOwnerId

func (*CreateSmartShortUrlRequest) SetPhoneNumbers

func (*CreateSmartShortUrlRequest) SetResourceOwnerAccount

func (s *CreateSmartShortUrlRequest) SetResourceOwnerAccount(v string) *CreateSmartShortUrlRequest

func (*CreateSmartShortUrlRequest) SetResourceOwnerId

func (*CreateSmartShortUrlRequest) SetSourceUrl

func (CreateSmartShortUrlRequest) String

type CreateSmartShortUrlResponse

type CreateSmartShortUrlResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateSmartShortUrlResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateSmartShortUrlResponse) GoString

func (s CreateSmartShortUrlResponse) GoString() string

func (*CreateSmartShortUrlResponse) SetBody

func (*CreateSmartShortUrlResponse) SetHeaders

func (*CreateSmartShortUrlResponse) SetStatusCode

func (CreateSmartShortUrlResponse) String

type CreateSmartShortUrlResponseBody

type CreateSmartShortUrlResponseBody struct {
	// example:
	//
	// 示例值示例值示例值
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// 示例值示例值示例值
	Message *string                                 `json:"Message,omitempty" xml:"Message,omitempty"`
	Model   []*CreateSmartShortUrlResponseBodyModel `json:"Model,omitempty" xml:"Model,omitempty" type:"Repeated"`
	// example:
	//
	// 示例值示例值
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateSmartShortUrlResponseBody) GoString

func (*CreateSmartShortUrlResponseBody) SetCode

func (*CreateSmartShortUrlResponseBody) SetMessage

func (*CreateSmartShortUrlResponseBody) SetModel

func (*CreateSmartShortUrlResponseBody) SetRequestId

func (CreateSmartShortUrlResponseBody) String

type CreateSmartShortUrlResponseBodyModel

type CreateSmartShortUrlResponseBodyModel struct {
	// example:
	//
	// 示例值
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// example:
	//
	// 11
	Expiration *int64 `json:"Expiration,omitempty" xml:"Expiration,omitempty"`
	// example:
	//
	// 示例值
	PhoneNumber *string `json:"PhoneNumber,omitempty" xml:"PhoneNumber,omitempty"`
	// example:
	//
	// 示例值
	ShortName *string `json:"ShortName,omitempty" xml:"ShortName,omitempty"`
	// example:
	//
	// 示例值示例值
	ShortUrl *string `json:"ShortUrl,omitempty" xml:"ShortUrl,omitempty"`
}

func (CreateSmartShortUrlResponseBodyModel) GoString

func (*CreateSmartShortUrlResponseBodyModel) SetDomain

func (*CreateSmartShortUrlResponseBodyModel) SetExpiration

func (*CreateSmartShortUrlResponseBodyModel) SetPhoneNumber

func (*CreateSmartShortUrlResponseBodyModel) SetShortName

func (*CreateSmartShortUrlResponseBodyModel) SetShortUrl

func (CreateSmartShortUrlResponseBodyModel) String

type CreateSmsSignRequest

type CreateSmsSignRequest struct {
	// Application scenarios, instructions as follows:
	//
	// - For registered websites, enter the domain name with HTTP or HTTPS that has been registered with the MIIT.
	//
	// - For launched apps, provide a display link from the app store with HTTP or HTTPS, ensuring the app is online.
	//
	// - For public accounts or mini-programs, input the full name, ensuring they are online.
	//
	// - For e-commerce platform store names, applicable only to enterprise users, provide a display link with HTTP or HTTPS for the store.
	//
	// example:
	//
	// http://www.aliyun.com/
	ApplySceneContent *string `json:"ApplySceneContent,omitempty" xml:"ApplySceneContent,omitempty"`
	// Additional information to supplement uploaded business proof documents or screenshots, which helps reviewers understand your business details.
	//
	// This parameter is optional; please fill it out based on your actual needs.
	MoreData []*string `json:"MoreData,omitempty" xml:"MoreData,omitempty" type:"Repeated"`
	OwnerId  *int64    `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Approved or under-review qualification ID.
	//
	// > - Before applying for an SMS signature, please first [Apply for Qualification](https://help.aliyun.com/zh/sms/user-guide/new-qualification?spm=a2c4g.11186623.0.0.718d187bbkpMRK).
	//
	// > - You can view the qualification ID on the [Qualification Management](https://dysms.console.aliyun.com/domestic/text/qualification) page.
	//
	// This parameter is required.
	//
	// example:
	//
	// 8563**
	QualificationId *int64 `json:"QualificationId,omitempty" xml:"QualificationId,omitempty"`
	// Explanation of the SMS signature scenario, with a maximum length of 200 characters.
	//
	// > The scenario explanation is one of the reference materials for signature review. Please provide a detailed description of the usage scenarios for your live services, along with links to verify these services such as website URLs with MIIT备案, app store display links, full names of public accounts or mini-programs, etc. For login scenarios, test account credentials are also required. A comprehensive application explanation enhances the efficiency of signature and template reviews. Refer to the **Application Scenario*	- column in the [Signature Source](https://help.aliyun.com/zh/sms/user-guide/signature-specifications-1?spm=a2c4g.11186623.0.i2#section-xup-k46-yi4) table for filling in SMS scenarios.
	//
	// example:
	//
	// SMS signature for the login scenario using verification code.
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Signature name. Please adhere to the [Signature Specifications](https://help.aliyun.com/zh/sms/user-guide/signature-specifications-1?spm=a2c4g.11186623.0.0.4f9710fder2gR7#section-0p8-qn8-mmy).
	//
	// > - Signature names are case-insensitive; e.g., 【Aliyun Communication】 and 【aliyun communication】 are considered identical.
	//
	// > - If your verification code signature and general signature names are the same, the system defaults to using the general signature for sending SMS messages.
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// Signature source. Values:
	//
	// - **0**: Full name or abbreviation of an enterprise or institution.
	//
	// - **1**: Full name or abbreviation of a MIIT-registered website.
	//
	// - **2**: Full name or abbreviation of an App.
	//
	// - **3**: Full name or abbreviation of an official account or mini-program.
	//
	// - **4**: Full name or abbreviation of an e-commerce platform store.
	//
	// - **5**: Full name or abbreviation of a trademark.
	//
	// For detailed information on signature sources, refer to [Signature Source](https://help.aliyun.com/zh/sms/user-guide/signature-specifications-1?spm=a2c4g.11186623.0.0.4f9710fder2gR7#section-xup-k46-yi4).
	//
	// > This interface does not support applying for signatures with sources as **Test or Learning*	- and **Trial Use**. If you need to apply for signatures with these sources, please go to the [SMS Service Console](https://dysms.console.aliyun.com/domestic/text/sign/add/qualification).
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	SignSource *int32 `json:"SignSource,omitempty" xml:"SignSource,omitempty"`
	// Signature type. Values:
	//
	// - **0**: Verification Code
	//
	// - **1**: General (Default)
	//
	// > It is recommended to use the default value: **General**.
	//
	// example:
	//
	// 1
	SignType *int32 `json:"SignType,omitempty" xml:"SignType,omitempty"`
	// Choose whether the applied signature is for self-use or third-party use.
	//
	// - false: Self-use (default)
	//
	// - true: Third-party use
	//
	// 	Notice: Please select self-use qualification ID when the signature is for self-use; choose third-party use qualification ID when it\\"s for third-party use.
	//
	// example:
	//
	// false
	ThirdParty *bool `json:"ThirdParty,omitempty" xml:"ThirdParty,omitempty"`
}

func (CreateSmsSignRequest) GoString

func (s CreateSmsSignRequest) GoString() string

func (*CreateSmsSignRequest) SetApplySceneContent

func (s *CreateSmsSignRequest) SetApplySceneContent(v string) *CreateSmsSignRequest

func (*CreateSmsSignRequest) SetMoreData

func (s *CreateSmsSignRequest) SetMoreData(v []*string) *CreateSmsSignRequest

func (*CreateSmsSignRequest) SetOwnerId

func (*CreateSmsSignRequest) SetQualificationId

func (s *CreateSmsSignRequest) SetQualificationId(v int64) *CreateSmsSignRequest

func (*CreateSmsSignRequest) SetRemark

func (*CreateSmsSignRequest) SetResourceOwnerAccount

func (s *CreateSmsSignRequest) SetResourceOwnerAccount(v string) *CreateSmsSignRequest

func (*CreateSmsSignRequest) SetResourceOwnerId

func (s *CreateSmsSignRequest) SetResourceOwnerId(v int64) *CreateSmsSignRequest

func (*CreateSmsSignRequest) SetSignName

func (*CreateSmsSignRequest) SetSignSource

func (s *CreateSmsSignRequest) SetSignSource(v int32) *CreateSmsSignRequest

func (*CreateSmsSignRequest) SetSignType

func (s *CreateSmsSignRequest) SetSignType(v int32) *CreateSmsSignRequest

func (*CreateSmsSignRequest) SetThirdParty

func (s *CreateSmsSignRequest) SetThirdParty(v bool) *CreateSmsSignRequest

func (CreateSmsSignRequest) String

func (s CreateSmsSignRequest) String() string

type CreateSmsSignResponse

type CreateSmsSignResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateSmsSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateSmsSignResponse) GoString

func (s CreateSmsSignResponse) GoString() string

func (*CreateSmsSignResponse) SetBody

func (*CreateSmsSignResponse) SetHeaders

func (*CreateSmsSignResponse) SetStatusCode

func (s *CreateSmsSignResponse) SetStatusCode(v int32) *CreateSmsSignResponse

func (CreateSmsSignResponse) String

func (s CreateSmsSignResponse) String() string

type CreateSmsSignResponseBody

type CreateSmsSignResponseBody struct {
	// Request status code.
	//
	// - OK indicates a successful request.
	//
	// - For other error codes, refer to the [Error Code List](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 number.
	//
	// This parameter is used by auditors when querying the audit. You will need to provide this work order number if you require expedited review.
	//
	// example:
	//
	// 2004415****
	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 for troubleshooting and issue localization.
	//
	// example:
	//
	// CCA2BCFF-2BA7-427C-90EE-AC6994748607
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Signature name.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (CreateSmsSignResponseBody) GoString

func (s CreateSmsSignResponseBody) GoString() string

func (*CreateSmsSignResponseBody) SetCode

func (*CreateSmsSignResponseBody) SetMessage

func (*CreateSmsSignResponseBody) SetOrderId

func (*CreateSmsSignResponseBody) SetRequestId

func (*CreateSmsSignResponseBody) SetSignName

func (CreateSmsSignResponseBody) String

func (s CreateSmsSignResponseBody) String() string

type CreateSmsSignShrinkRequest

type CreateSmsSignShrinkRequest struct {
	// Application scenarios, instructions as follows:
	//
	// - For registered websites, enter the domain name with HTTP or HTTPS that has been registered with the MIIT.
	//
	// - For launched apps, provide a display link from the app store with HTTP or HTTPS, ensuring the app is online.
	//
	// - For public accounts or mini-programs, input the full name, ensuring they are online.
	//
	// - For e-commerce platform store names, applicable only to enterprise users, provide a display link with HTTP or HTTPS for the store.
	//
	// example:
	//
	// http://www.aliyun.com/
	ApplySceneContent *string `json:"ApplySceneContent,omitempty" xml:"ApplySceneContent,omitempty"`
	// Additional information to supplement uploaded business proof documents or screenshots, which helps reviewers understand your business details.
	//
	// This parameter is optional; please fill it out based on your actual needs.
	MoreDataShrink *string `json:"MoreData,omitempty" xml:"MoreData,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Approved or under-review qualification ID.
	//
	// > - Before applying for an SMS signature, please first [Apply for Qualification](https://help.aliyun.com/zh/sms/user-guide/new-qualification?spm=a2c4g.11186623.0.0.718d187bbkpMRK).
	//
	// > - You can view the qualification ID on the [Qualification Management](https://dysms.console.aliyun.com/domestic/text/qualification) page.
	//
	// This parameter is required.
	//
	// example:
	//
	// 8563**
	QualificationId *int64 `json:"QualificationId,omitempty" xml:"QualificationId,omitempty"`
	// Explanation of the SMS signature scenario, with a maximum length of 200 characters.
	//
	// > The scenario explanation is one of the reference materials for signature review. Please provide a detailed description of the usage scenarios for your live services, along with links to verify these services such as website URLs with MIIT备案, app store display links, full names of public accounts or mini-programs, etc. For login scenarios, test account credentials are also required. A comprehensive application explanation enhances the efficiency of signature and template reviews. Refer to the **Application Scenario*	- column in the [Signature Source](https://help.aliyun.com/zh/sms/user-guide/signature-specifications-1?spm=a2c4g.11186623.0.i2#section-xup-k46-yi4) table for filling in SMS scenarios.
	//
	// example:
	//
	// SMS signature for the login scenario using verification code.
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Signature name. Please adhere to the [Signature Specifications](https://help.aliyun.com/zh/sms/user-guide/signature-specifications-1?spm=a2c4g.11186623.0.0.4f9710fder2gR7#section-0p8-qn8-mmy).
	//
	// > - Signature names are case-insensitive; e.g., 【Aliyun Communication】 and 【aliyun communication】 are considered identical.
	//
	// > - If your verification code signature and general signature names are the same, the system defaults to using the general signature for sending SMS messages.
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// Signature source. Values:
	//
	// - **0**: Full name or abbreviation of an enterprise or institution.
	//
	// - **1**: Full name or abbreviation of a MIIT-registered website.
	//
	// - **2**: Full name or abbreviation of an App.
	//
	// - **3**: Full name or abbreviation of an official account or mini-program.
	//
	// - **4**: Full name or abbreviation of an e-commerce platform store.
	//
	// - **5**: Full name or abbreviation of a trademark.
	//
	// For detailed information on signature sources, refer to [Signature Source](https://help.aliyun.com/zh/sms/user-guide/signature-specifications-1?spm=a2c4g.11186623.0.0.4f9710fder2gR7#section-xup-k46-yi4).
	//
	// > This interface does not support applying for signatures with sources as **Test or Learning*	- and **Trial Use**. If you need to apply for signatures with these sources, please go to the [SMS Service Console](https://dysms.console.aliyun.com/domestic/text/sign/add/qualification).
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	SignSource *int32 `json:"SignSource,omitempty" xml:"SignSource,omitempty"`
	// Signature type. Values:
	//
	// - **0**: Verification Code
	//
	// - **1**: General (Default)
	//
	// > It is recommended to use the default value: **General**.
	//
	// example:
	//
	// 1
	SignType *int32 `json:"SignType,omitempty" xml:"SignType,omitempty"`
	// Choose whether the applied signature is for self-use or third-party use.
	//
	// - false: Self-use (default)
	//
	// - true: Third-party use
	//
	// 	Notice: Please select self-use qualification ID when the signature is for self-use; choose third-party use qualification ID when it\\"s for third-party use.
	//
	// example:
	//
	// false
	ThirdParty *bool `json:"ThirdParty,omitempty" xml:"ThirdParty,omitempty"`
}

func (CreateSmsSignShrinkRequest) GoString

func (s CreateSmsSignShrinkRequest) GoString() string

func (*CreateSmsSignShrinkRequest) SetApplySceneContent

func (s *CreateSmsSignShrinkRequest) SetApplySceneContent(v string) *CreateSmsSignShrinkRequest

func (*CreateSmsSignShrinkRequest) SetMoreDataShrink

func (*CreateSmsSignShrinkRequest) SetOwnerId

func (*CreateSmsSignShrinkRequest) SetQualificationId

func (*CreateSmsSignShrinkRequest) SetRemark

func (*CreateSmsSignShrinkRequest) SetResourceOwnerAccount

func (s *CreateSmsSignShrinkRequest) SetResourceOwnerAccount(v string) *CreateSmsSignShrinkRequest

func (*CreateSmsSignShrinkRequest) SetResourceOwnerId

func (*CreateSmsSignShrinkRequest) SetSignName

func (*CreateSmsSignShrinkRequest) SetSignSource

func (*CreateSmsSignShrinkRequest) SetSignType

func (*CreateSmsSignShrinkRequest) SetThirdParty

func (CreateSmsSignShrinkRequest) String

type CreateSmsTemplateRequest

type CreateSmsTemplateRequest struct {
	// If there is an applicable scenario, you can fill it in.
	//
	// example:
	//
	// http://www.aliyun.com/
	ApplySceneContent *string `json:"ApplySceneContent,omitempty" xml:"ApplySceneContent,omitempty"`
	// International/Hong Kong, Macao, and Taiwan template type. When the **TemplateType*	- parameter is **3**, this parameter is required for international/Hong Kong, Macao, and Taiwan templates, with values:
	//
	// - **0**: Verification code.
	//
	// - **1**: SMS notification.
	//
	// - **2**: Promotional message.
	//
	// example:
	//
	// 0
	IntlType *int32 `json:"IntlType,omitempty" xml:"IntlType,omitempty"`
	// Additional materials you can upload, such as business proof documents or screenshots, to help reviewers understand your business details.
	//
	// This parameter is optional; please fill it in according to actual needs.
	MoreData []*string `json:"MoreData,omitempty" xml:"MoreData,omitempty" type:"Repeated"`
	OwnerId  *int64    `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The signature name that the template needs to be associated with. The associated SMS signature must have passed the review.
	//
	// This parameter is mandatory when the TemplateType parameter is **0**, **1**, or **2**.
	//
	// <notice>Associating a signature can expedite the review process. Note that this associated signature is unrelated to the signature selected when sending SMS messages.</notice>
	//
	// example:
	//
	// Aliyun
	RelatedSignName *string `json:"RelatedSignName,omitempty" xml:"RelatedSignName,omitempty"`
	// Please describe the business scenario where you use SMS or provide an online link to the scenario, along with a complete example of the SMS (with variable contents filled), as complete information helps increase the template approval rate. Failure to follow guidelines or leaving this field blank may affect the approval of your template.
	//
	// example:
	//
	// Request verification code SMS.
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Template content, up to 500 characters in length.
	//
	// Both the template content and variable content must comply with SMS specifications; otherwise, the template will fail the review. You can also view common template examples on the template application page. Using sample templates can enhance review efficiency and success rates. For variable specifications, see [TemplateContent Variable Parameter Filling Specifications](https://help.aliyun.com/zh/sms/templaterule-template-variable-parameter-filling-example).
	//
	// This parameter is required.
	//
	// example:
	//
	// You are applying for mobile registration. The verification code is: ${code}. It is valid for 5 minutes!
	TemplateContent *string `json:"TemplateContent,omitempty" xml:"TemplateContent,omitempty"`
	// Template name, up to 30 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// aliyunCode
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// Template variable rules.
	//
	// For filling in variable rules, refer to the [Sample Documentation](https://help.aliyun.com/zh/sms/templaterule-template-variable-parameter-filling-example).
	//
	// example:
	//
	// {"code":"characterWithNumber"}
	TemplateRule *string `json:"TemplateRule,omitempty" xml:"TemplateRule,omitempty"`
	// SMS type. Values:
	//
	// - **0**: Verification code.
	//
	// - **1**: SMS notification.
	//
	// - **2**: Promotional message.
	//
	// - **3**: International/Hong Kong, Macao, and Taiwan messages.
	//
	// > Only enterprise-verified users can apply for promotional messages and international/Hong Kong, Macao, and Taiwan messages. For details on the differences between personal and enterprise user rights, please refer to [Usage Instructions](https://help.aliyun.com/zh/sms/user-guide/usage-notes?spm=a2c4g.11186623.0.0.67447f576NJnE8).
	//
	// This parameter is required.
	//
	// example:
	//
	// 0
	TemplateType *int32 `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (CreateSmsTemplateRequest) GoString

func (s CreateSmsTemplateRequest) GoString() string

func (*CreateSmsTemplateRequest) SetApplySceneContent

func (s *CreateSmsTemplateRequest) SetApplySceneContent(v string) *CreateSmsTemplateRequest

func (*CreateSmsTemplateRequest) SetIntlType

func (*CreateSmsTemplateRequest) SetMoreData

func (*CreateSmsTemplateRequest) SetOwnerId

func (*CreateSmsTemplateRequest) SetRelatedSignName

func (s *CreateSmsTemplateRequest) SetRelatedSignName(v string) *CreateSmsTemplateRequest

func (*CreateSmsTemplateRequest) SetRemark

func (*CreateSmsTemplateRequest) SetResourceOwnerAccount

func (s *CreateSmsTemplateRequest) SetResourceOwnerAccount(v string) *CreateSmsTemplateRequest

func (*CreateSmsTemplateRequest) SetResourceOwnerId

func (s *CreateSmsTemplateRequest) SetResourceOwnerId(v int64) *CreateSmsTemplateRequest

func (*CreateSmsTemplateRequest) SetTemplateContent

func (s *CreateSmsTemplateRequest) SetTemplateContent(v string) *CreateSmsTemplateRequest

func (*CreateSmsTemplateRequest) SetTemplateName

func (*CreateSmsTemplateRequest) SetTemplateRule

func (*CreateSmsTemplateRequest) SetTemplateType

func (CreateSmsTemplateRequest) String

func (s CreateSmsTemplateRequest) String() string

type CreateSmsTemplateResponse

type CreateSmsTemplateResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateSmsTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateSmsTemplateResponse) GoString

func (s CreateSmsTemplateResponse) GoString() string

func (*CreateSmsTemplateResponse) SetBody

func (*CreateSmsTemplateResponse) SetHeaders

func (*CreateSmsTemplateResponse) SetStatusCode

func (CreateSmsTemplateResponse) String

func (s CreateSmsTemplateResponse) String() string

type CreateSmsTemplateResponseBody

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 (CreateSmsTemplateResponseBody) GoString

func (*CreateSmsTemplateResponseBody) SetCode

func (*CreateSmsTemplateResponseBody) SetMessage

func (*CreateSmsTemplateResponseBody) SetOrderId

func (*CreateSmsTemplateResponseBody) SetRequestId

func (*CreateSmsTemplateResponseBody) SetTemplateCode

func (*CreateSmsTemplateResponseBody) SetTemplateName

func (CreateSmsTemplateResponseBody) String

type CreateSmsTemplateShrinkRequest

type CreateSmsTemplateShrinkRequest struct {
	// If there is an applicable scenario, you can fill it in.
	//
	// example:
	//
	// http://www.aliyun.com/
	ApplySceneContent *string `json:"ApplySceneContent,omitempty" xml:"ApplySceneContent,omitempty"`
	// International/Hong Kong, Macao, and Taiwan template type. When the **TemplateType*	- parameter is **3**, this parameter is required for international/Hong Kong, Macao, and Taiwan templates, with values:
	//
	// - **0**: Verification code.
	//
	// - **1**: SMS notification.
	//
	// - **2**: Promotional message.
	//
	// example:
	//
	// 0
	IntlType *int32 `json:"IntlType,omitempty" xml:"IntlType,omitempty"`
	// Additional materials you can upload, such as business proof documents or screenshots, to help reviewers understand your business details.
	//
	// This parameter is optional; please fill it in according to actual needs.
	MoreDataShrink *string `json:"MoreData,omitempty" xml:"MoreData,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The signature name that the template needs to be associated with. The associated SMS signature must have passed the review.
	//
	// This parameter is mandatory when the TemplateType parameter is **0**, **1**, or **2**.
	//
	// <notice>Associating a signature can expedite the review process. Note that this associated signature is unrelated to the signature selected when sending SMS messages.</notice>
	//
	// example:
	//
	// Aliyun
	RelatedSignName *string `json:"RelatedSignName,omitempty" xml:"RelatedSignName,omitempty"`
	// Please describe the business scenario where you use SMS or provide an online link to the scenario, along with a complete example of the SMS (with variable contents filled), as complete information helps increase the template approval rate. Failure to follow guidelines or leaving this field blank may affect the approval of your template.
	//
	// example:
	//
	// Request verification code SMS.
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Template content, up to 500 characters in length.
	//
	// Both the template content and variable content must comply with SMS specifications; otherwise, the template will fail the review. You can also view common template examples on the template application page. Using sample templates can enhance review efficiency and success rates. For variable specifications, see [TemplateContent Variable Parameter Filling Specifications](https://help.aliyun.com/zh/sms/templaterule-template-variable-parameter-filling-example).
	//
	// This parameter is required.
	//
	// example:
	//
	// You are applying for mobile registration. The verification code is: ${code}. It is valid for 5 minutes!
	TemplateContent *string `json:"TemplateContent,omitempty" xml:"TemplateContent,omitempty"`
	// Template name, up to 30 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// aliyunCode
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// Template variable rules.
	//
	// For filling in variable rules, refer to the [Sample Documentation](https://help.aliyun.com/zh/sms/templaterule-template-variable-parameter-filling-example).
	//
	// example:
	//
	// {"code":"characterWithNumber"}
	TemplateRule *string `json:"TemplateRule,omitempty" xml:"TemplateRule,omitempty"`
	// SMS type. Values:
	//
	// - **0**: Verification code.
	//
	// - **1**: SMS notification.
	//
	// - **2**: Promotional message.
	//
	// - **3**: International/Hong Kong, Macao, and Taiwan messages.
	//
	// > Only enterprise-verified users can apply for promotional messages and international/Hong Kong, Macao, and Taiwan messages. For details on the differences between personal and enterprise user rights, please refer to [Usage Instructions](https://help.aliyun.com/zh/sms/user-guide/usage-notes?spm=a2c4g.11186623.0.0.67447f576NJnE8).
	//
	// This parameter is required.
	//
	// example:
	//
	// 0
	TemplateType *int32 `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (CreateSmsTemplateShrinkRequest) GoString

func (*CreateSmsTemplateShrinkRequest) SetApplySceneContent

func (*CreateSmsTemplateShrinkRequest) SetIntlType

func (*CreateSmsTemplateShrinkRequest) SetMoreDataShrink

func (*CreateSmsTemplateShrinkRequest) SetOwnerId

func (*CreateSmsTemplateShrinkRequest) SetRelatedSignName

func (*CreateSmsTemplateShrinkRequest) SetRemark

func (*CreateSmsTemplateShrinkRequest) SetResourceOwnerAccount

func (*CreateSmsTemplateShrinkRequest) SetResourceOwnerId

func (*CreateSmsTemplateShrinkRequest) SetTemplateContent

func (*CreateSmsTemplateShrinkRequest) SetTemplateName

func (*CreateSmsTemplateShrinkRequest) SetTemplateRule

func (*CreateSmsTemplateShrinkRequest) SetTemplateType

func (CreateSmsTemplateShrinkRequest) String

type DeleteExtCodeSignRequest added in v4.1.0

type DeleteExtCodeSignRequest struct {
	// 扩展码A3
	//
	// This parameter is required.
	//
	// example:
	//
	// 01
	ExtCode              *string `json:"ExtCode,omitempty" xml:"ExtCode,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 签名
	//
	// This parameter is required.
	//
	// example:
	//
	// 示例值
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (DeleteExtCodeSignRequest) GoString added in v4.1.0

func (s DeleteExtCodeSignRequest) GoString() string

func (*DeleteExtCodeSignRequest) SetExtCode added in v4.1.0

func (*DeleteExtCodeSignRequest) SetOwnerId added in v4.1.0

func (*DeleteExtCodeSignRequest) SetResourceOwnerAccount added in v4.1.0

func (s *DeleteExtCodeSignRequest) SetResourceOwnerAccount(v string) *DeleteExtCodeSignRequest

func (*DeleteExtCodeSignRequest) SetResourceOwnerId added in v4.1.0

func (s *DeleteExtCodeSignRequest) SetResourceOwnerId(v int64) *DeleteExtCodeSignRequest

func (*DeleteExtCodeSignRequest) SetSignName added in v4.1.0

func (DeleteExtCodeSignRequest) String added in v4.1.0

func (s DeleteExtCodeSignRequest) String() string

type DeleteExtCodeSignResponse added in v4.1.0

type DeleteExtCodeSignResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteExtCodeSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteExtCodeSignResponse) GoString added in v4.1.0

func (s DeleteExtCodeSignResponse) GoString() string

func (*DeleteExtCodeSignResponse) SetBody added in v4.1.0

func (*DeleteExtCodeSignResponse) SetHeaders added in v4.1.0

func (*DeleteExtCodeSignResponse) SetStatusCode added in v4.1.0

func (DeleteExtCodeSignResponse) String added in v4.1.0

func (s DeleteExtCodeSignResponse) String() string

type DeleteExtCodeSignResponseBody added in v4.1.0

type DeleteExtCodeSignResponseBody struct {
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// false
	Data *bool `json:"Data,omitempty" xml:"Data,omitempty"`
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 90E63D28-E31D-1EB2-8939-A9486641****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DeleteExtCodeSignResponseBody) GoString added in v4.1.0

func (*DeleteExtCodeSignResponseBody) SetAccessDeniedDetail added in v4.1.0

func (*DeleteExtCodeSignResponseBody) SetCode added in v4.1.0

func (*DeleteExtCodeSignResponseBody) SetData added in v4.1.0

func (*DeleteExtCodeSignResponseBody) SetMessage added in v4.1.0

func (*DeleteExtCodeSignResponseBody) SetRequestId added in v4.1.0

func (*DeleteExtCodeSignResponseBody) SetSuccess added in v4.1.0

func (DeleteExtCodeSignResponseBody) String added in v4.1.0

type DeleteShortUrlRequest

type DeleteShortUrlRequest struct {
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The source address. The address can be up to 1,000 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// https://www.****.com/product/sms
	SourceUrl *string `json:"SourceUrl,omitempty" xml:"SourceUrl,omitempty"`
}

func (DeleteShortUrlRequest) GoString

func (s DeleteShortUrlRequest) GoString() string

func (*DeleteShortUrlRequest) SetOwnerId

func (*DeleteShortUrlRequest) SetResourceOwnerAccount

func (s *DeleteShortUrlRequest) SetResourceOwnerAccount(v string) *DeleteShortUrlRequest

func (*DeleteShortUrlRequest) SetResourceOwnerId

func (s *DeleteShortUrlRequest) SetResourceOwnerId(v int64) *DeleteShortUrlRequest

func (*DeleteShortUrlRequest) SetSourceUrl

func (DeleteShortUrlRequest) String

func (s DeleteShortUrlRequest) String() string

type DeleteShortUrlResponse

type DeleteShortUrlResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteShortUrlResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteShortUrlResponse) GoString

func (s DeleteShortUrlResponse) GoString() string

func (*DeleteShortUrlResponse) SetBody

func (*DeleteShortUrlResponse) SetHeaders

func (*DeleteShortUrlResponse) SetStatusCode

func (DeleteShortUrlResponse) String

func (s DeleteShortUrlResponse) String() string

type DeleteShortUrlResponseBody

type DeleteShortUrlResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 819BE656-D2E0-4858-8B21-B2E477085AAF
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteShortUrlResponseBody) GoString

func (s DeleteShortUrlResponseBody) GoString() string

func (*DeleteShortUrlResponseBody) SetCode

func (*DeleteShortUrlResponseBody) SetMessage

func (*DeleteShortUrlResponseBody) SetRequestId

func (DeleteShortUrlResponseBody) String

type DeleteSmsSignRequest

type DeleteSmsSignRequest struct {
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The signature.
	//
	// > The signature must be submitted by the current Alibaba Cloud account, and has been approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (DeleteSmsSignRequest) GoString

func (s DeleteSmsSignRequest) GoString() string

func (*DeleteSmsSignRequest) SetOwnerId

func (*DeleteSmsSignRequest) SetResourceOwnerAccount

func (s *DeleteSmsSignRequest) SetResourceOwnerAccount(v string) *DeleteSmsSignRequest

func (*DeleteSmsSignRequest) SetResourceOwnerId

func (s *DeleteSmsSignRequest) SetResourceOwnerId(v int64) *DeleteSmsSignRequest

func (*DeleteSmsSignRequest) SetSignName

func (DeleteSmsSignRequest) String

func (s DeleteSmsSignRequest) String() string

type DeleteSmsSignResponse

type DeleteSmsSignResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteSmsSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteSmsSignResponse) GoString

func (s DeleteSmsSignResponse) GoString() string

func (*DeleteSmsSignResponse) SetBody

func (*DeleteSmsSignResponse) SetHeaders

func (*DeleteSmsSignResponse) SetStatusCode

func (s *DeleteSmsSignResponse) SetStatusCode(v int32) *DeleteSmsSignResponse

func (DeleteSmsSignResponse) String

func (s DeleteSmsSignResponse) String() string

type DeleteSmsSignResponseBody

type DeleteSmsSignResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8D****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The signature.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (DeleteSmsSignResponseBody) GoString

func (s DeleteSmsSignResponseBody) GoString() string

func (*DeleteSmsSignResponseBody) SetCode

func (*DeleteSmsSignResponseBody) SetMessage

func (*DeleteSmsSignResponseBody) SetRequestId

func (*DeleteSmsSignResponseBody) SetSignName

func (DeleteSmsSignResponseBody) String

func (s DeleteSmsSignResponseBody) String() string

type DeleteSmsTemplateRequest

type DeleteSmsTemplateRequest struct {
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The code of the message template.
	//
	// You can log on to the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm) and obtain the message template code on the **Message Templates*	- tab. You can also obtain the message template code by calling the [AddSmsTemplate](https://help.aliyun.com/document_detail/121208.html) operation.
	//
	// This parameter is required.
	//
	// example:
	//
	// SMS_152550****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (DeleteSmsTemplateRequest) GoString

func (s DeleteSmsTemplateRequest) GoString() string

func (*DeleteSmsTemplateRequest) SetOwnerId

func (*DeleteSmsTemplateRequest) SetResourceOwnerAccount

func (s *DeleteSmsTemplateRequest) SetResourceOwnerAccount(v string) *DeleteSmsTemplateRequest

func (*DeleteSmsTemplateRequest) SetResourceOwnerId

func (s *DeleteSmsTemplateRequest) SetResourceOwnerId(v int64) *DeleteSmsTemplateRequest

func (*DeleteSmsTemplateRequest) SetTemplateCode

func (DeleteSmsTemplateRequest) String

func (s DeleteSmsTemplateRequest) String() string

type DeleteSmsTemplateResponse

type DeleteSmsTemplateResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteSmsTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteSmsTemplateResponse) GoString

func (s DeleteSmsTemplateResponse) GoString() string

func (*DeleteSmsTemplateResponse) SetBody

func (*DeleteSmsTemplateResponse) SetHeaders

func (*DeleteSmsTemplateResponse) SetStatusCode

func (DeleteSmsTemplateResponse) String

func (s DeleteSmsTemplateResponse) String() string

type DeleteSmsTemplateResponseBody

type DeleteSmsTemplateResponseBody struct {
	// The response 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// CCA2BCFF-2BA7-427C-90EE-AC6994748607
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The code of the message template.
	//
	// example:
	//
	// SMS_20375****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (DeleteSmsTemplateResponseBody) GoString

func (*DeleteSmsTemplateResponseBody) SetCode

func (*DeleteSmsTemplateResponseBody) SetMessage

func (*DeleteSmsTemplateResponseBody) SetRequestId

func (*DeleteSmsTemplateResponseBody) SetTemplateCode

func (DeleteSmsTemplateResponseBody) String

type GetCardSmsDetailsRequest added in v4.1.0

type GetCardSmsDetailsRequest struct {
	// Card SMS sending ID, which is the BizCardId field in the response when calling SendCardSms or SendBatchCardSms.
	//
	// example:
	//
	// 123456^0
	BizCardId *string `json:"BizCardId,omitempty" xml:"BizCardId,omitempty"`
	// Digital SMS sending ID, which is the BizDigitalId field in the response when calling SendCardSms or SendBatchCardSms.
	//
	// example:
	//
	// 12346^0
	BizDigitId *string `json:"BizDigitId,omitempty" xml:"BizDigitId,omitempty"`
	// Text SMS sending ID, which is the BizSmsId field in the response when calling SendCardSms or SendBatchCardSms.
	//
	// example:
	//
	// 1234576^0
	BizSmsId *string `json:"BizSmsId,omitempty" xml:"BizSmsId,omitempty"`
	// For paginated viewing of sending records, specify the current page number of the sending records.
	//
	// example:
	//
	// 1
	CurrentPage *int64 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	OwnerId     *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// For paginated viewing of sending records, specify the number of card SMS records to display per page.
	//
	// The value range is 1~50.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// Domestic phone number that received the SMS. Format: 11-digit phone number, for example, 1390000****.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1390000****
	PhoneNumber          *string `json:"PhoneNumber,omitempty" xml:"PhoneNumber,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Card SMS sending date, supports querying records from the last 30 days.
	//
	// Format: yyyyMMdd, for example, 20240112.
	//
	// This parameter is required.
	//
	// example:
	//
	// 20240112
	SendDate *string `json:"SendDate,omitempty" xml:"SendDate,omitempty"`
}

func (GetCardSmsDetailsRequest) GoString added in v4.1.0

func (s GetCardSmsDetailsRequest) GoString() string

func (*GetCardSmsDetailsRequest) SetBizCardId added in v4.1.0

func (*GetCardSmsDetailsRequest) SetBizDigitId added in v4.1.0

func (*GetCardSmsDetailsRequest) SetBizSmsId added in v4.1.0

func (*GetCardSmsDetailsRequest) SetCurrentPage added in v4.1.0

func (*GetCardSmsDetailsRequest) SetOwnerId added in v4.1.0

func (*GetCardSmsDetailsRequest) SetPageSize added in v4.1.0

func (*GetCardSmsDetailsRequest) SetPhoneNumber added in v4.1.0

func (*GetCardSmsDetailsRequest) SetResourceOwnerAccount added in v4.1.0

func (s *GetCardSmsDetailsRequest) SetResourceOwnerAccount(v string) *GetCardSmsDetailsRequest

func (*GetCardSmsDetailsRequest) SetResourceOwnerId added in v4.1.0

func (s *GetCardSmsDetailsRequest) SetResourceOwnerId(v int64) *GetCardSmsDetailsRequest

func (*GetCardSmsDetailsRequest) SetSendDate added in v4.1.0

func (GetCardSmsDetailsRequest) String added in v4.1.0

func (s GetCardSmsDetailsRequest) String() string

type GetCardSmsDetailsResponse added in v4.1.0

type GetCardSmsDetailsResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetCardSmsDetailsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetCardSmsDetailsResponse) GoString added in v4.1.0

func (s GetCardSmsDetailsResponse) GoString() string

func (*GetCardSmsDetailsResponse) SetBody added in v4.1.0

func (*GetCardSmsDetailsResponse) SetHeaders added in v4.1.0

func (*GetCardSmsDetailsResponse) SetStatusCode added in v4.1.0

func (GetCardSmsDetailsResponse) String added in v4.1.0

func (s GetCardSmsDetailsResponse) String() string

type GetCardSmsDetailsResponseBody added in v4.1.0

type GetCardSmsDetailsResponseBody struct {
	// Access denied detail; this field is returned only if the RAM check fails.
	//
	// example:
	//
	// 无
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// Card SMS sending result
	CardSendDetailDTO *GetCardSmsDetailsResponseBodyCardSendDetailDTO `json:"CardSendDetailDTO,omitempty" xml:"CardSendDetailDTO,omitempty" type:"Struct"`
	// Request status code.
	//
	// 	- OK indicates a successful request.
	//
	// 	- For other error codes, see [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"`
	// Indicates whether the API call was successful. Values:
	//
	// - **true*	- - **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetCardSmsDetailsResponseBody) GoString added in v4.1.0

func (*GetCardSmsDetailsResponseBody) SetAccessDeniedDetail added in v4.1.0

func (*GetCardSmsDetailsResponseBody) SetCardSendDetailDTO added in v4.1.0

func (*GetCardSmsDetailsResponseBody) SetCode added in v4.1.0

func (*GetCardSmsDetailsResponseBody) SetMessage added in v4.1.0

func (*GetCardSmsDetailsResponseBody) SetSuccess added in v4.1.0

func (GetCardSmsDetailsResponseBody) String added in v4.1.0

type GetCardSmsDetailsResponseBodyCardSendDetailDTO added in v4.1.0

type GetCardSmsDetailsResponseBodyCardSendDetailDTO struct {
	// Current page number
	//
	// example:
	//
	// 1
	CurrentPage *int64 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	// Page size
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// List of card SMS sending records
	Records []*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords `json:"Records,omitempty" xml:"Records,omitempty" type:"Repeated"`
	// Total count
	//
	// example:
	//
	// 10
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (GetCardSmsDetailsResponseBodyCardSendDetailDTO) GoString added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTO) SetCurrentPage added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTO) SetPageSize added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTO) SetRecords added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTO) SetTotalCount added in v4.1.0

func (GetCardSmsDetailsResponseBodyCardSendDetailDTO) String added in v4.1.0

type GetCardSmsDetailsResponseBodyCardSendDetailDTORecords added in v4.1.0

type GetCardSmsDetailsResponseBodyCardSendDetailDTORecords struct {
	// Error code for sending
	//
	// example:
	//
	// Success
	ErrCode *string `json:"ErrCode,omitempty" xml:"ErrCode,omitempty"`
	// Customer-transmitted outId
	//
	// example:
	//
	// 12345678
	OutId *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	// Phone number that received the SMS
	//
	// example:
	//
	// 156****9080
	PhoneNumber *string `json:"PhoneNumber,omitempty" xml:"PhoneNumber,omitempty"`
	// Receive date
	//
	// example:
	//
	// 2024-09-27 11:26:35
	ReceiveDate *string `json:"ReceiveDate,omitempty" xml:"ReceiveDate,omitempty"`
	// Receive SMS type
	//
	// example:
	//
	// CARD_SMS
	ReceiveType *string `json:"ReceiveType,omitempty" xml:"ReceiveType,omitempty"`
	// Render date
	//
	// example:
	//
	// 2024-09-27 12:13:39
	RenderDate *string `json:"RenderDate,omitempty" xml:"RenderDate,omitempty"`
	// Render status. 0: Not rendered; 1: Rendered successfully; 3: Not rendered
	//
	// example:
	//
	// 1
	RenderStatus *int64 `json:"RenderStatus,omitempty" xml:"RenderStatus,omitempty"`
	// Time when the SMS was sent
	//
	// example:
	//
	// 2024-09-27 11:26:32
	SendDate *string `json:"SendDate,omitempty" xml:"SendDate,omitempty"`
	// Sending status. 1: Sending; 2: Send failed; 3: Sent successfully; 4: Addressing failed
	//
	// example:
	//
	// 3
	SendStatus *int64 `json:"SendStatus,omitempty" xml:"SendStatus,omitempty"`
	// SMS content. Only applicable for text messages.
	//
	// example:
	//
	// 您收到一条短信消息
	SmsContent *string `json:"SmsContent,omitempty" xml:"SmsContent,omitempty"`
	// Template code
	//
	// example:
	//
	// CARD_SMS_6***
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) GoString added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetErrCode added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetOutId added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetPhoneNumber added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetReceiveDate added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetReceiveType added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetRenderDate added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetRenderStatus added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetSendDate added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetSendStatus added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetSmsContent added in v4.1.0

func (*GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) SetTemplateCode added in v4.1.0

func (GetCardSmsDetailsResponseBodyCardSendDetailDTORecords) String added in v4.1.0

type GetCardSmsLinkRequest

type GetCardSmsLinkRequest struct {
	// The code type of the URLs.
	//
	// 	- **1**: group texting
	//
	// 	- **2**: personalization
	//
	// example:
	//
	// 2
	CardCodeType *int32 `json:"CardCodeType,omitempty" xml:"CardCodeType,omitempty"`
	// The type of the short URLs.
	//
	// 	- 1: standard short code.
	//
	// 	- 2: custom short code.
	//
	// > If the **CardLinkType*	- is not specified, standard short codes are generated. If you need to generate custom short codes, contact Alibaba Cloud SMS technical support.
	//
	// example:
	//
	// 1
	CardLinkType *int32 `json:"CardLinkType,omitempty" xml:"CardLinkType,omitempty"`
	// 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.
	//
	// > Make sure that the message template has been approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// CARD_SMS_****
	CardTemplateCode *string `json:"CardTemplateCode,omitempty" xml:"CardTemplateCode,omitempty"`
	// The variables of the message template.
	//
	// example:
	//
	// [{},{}]
	CardTemplateParamJson *string `json:"CardTemplateParamJson,omitempty" xml:"CardTemplateParamJson,omitempty"`
	// The custom short code. It can contain 4 to 8 digits or letters.
	//
	// > If the CardLinkType parameter is set to 2, the CustomShortCodeJson parameter is required.
	//
	// example:
	//
	// abCde
	CustomShortCodeJson *string `json:"CustomShortCodeJson,omitempty" xml:"CustomShortCodeJson,omitempty"`
	// The original domain name. You must submit domain names for approval in advance.
	//
	// >
	//
	// 	- If the **CardLinkType*	- parameter is set to **2**, the **Domain*	- parameter is required.
	//
	// 	- The **Domain*	- parameter cannot exceed 100 characters in length. If the parameter is not specified, a default domain name is used.
	//
	// example:
	//
	// xxx.com
	Domain *string `json:"Domain,omitempty" xml:"Domain,omitempty"`
	// The extension field.
	//
	// example:
	//
	// BC20220608102511660860762****
	OutId *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	// The mobile phone numbers of recipients, custom identifiers, or system identifiers.
	//
	// >
	//
	// 	- A maximum of 10,000 mobile phone numbers are supported.
	//
	// 	- You can enter custom identifier. Each identifier can be a maximum of 60 characters in length.
	//
	// 	- You can apply for a maximum of 10 OPPO templates at a time.
	//
	// example:
	//
	// [\\"1390000****
	//
	// \\",\\"1370000****
	//
	// \\"]
	PhoneNumberJson *string `json:"PhoneNumberJson,omitempty" xml:"PhoneNumberJson,omitempty"`
	// The signature. You can view the template code in the **Signature*	- column on the **Signaturess*	- tab of the **Go China*	- page in the Alibaba Cloud SMS console.
	//
	// > The signatures must be approved and correspond to the mobile numbers in sequence.
	//
	// This parameter is required.
	//
	// example:
	//
	// [\\"aliyun\\", \\"aliyun2\\"]
	SignNameJson *string `json:"SignNameJson,omitempty" xml:"SignNameJson,omitempty"`
}

func (GetCardSmsLinkRequest) GoString

func (s GetCardSmsLinkRequest) GoString() string

func (*GetCardSmsLinkRequest) SetCardCodeType

func (s *GetCardSmsLinkRequest) SetCardCodeType(v int32) *GetCardSmsLinkRequest

func (*GetCardSmsLinkRequest) SetCardLinkType

func (s *GetCardSmsLinkRequest) SetCardLinkType(v int32) *GetCardSmsLinkRequest

func (*GetCardSmsLinkRequest) SetCardTemplateCode

func (s *GetCardSmsLinkRequest) SetCardTemplateCode(v string) *GetCardSmsLinkRequest

func (*GetCardSmsLinkRequest) SetCardTemplateParamJson

func (s *GetCardSmsLinkRequest) SetCardTemplateParamJson(v string) *GetCardSmsLinkRequest

func (*GetCardSmsLinkRequest) SetCustomShortCodeJson

func (s *GetCardSmsLinkRequest) SetCustomShortCodeJson(v string) *GetCardSmsLinkRequest

func (*GetCardSmsLinkRequest) SetDomain

func (*GetCardSmsLinkRequest) SetOutId

func (*GetCardSmsLinkRequest) SetPhoneNumberJson

func (s *GetCardSmsLinkRequest) SetPhoneNumberJson(v string) *GetCardSmsLinkRequest

func (*GetCardSmsLinkRequest) SetSignNameJson

func (s *GetCardSmsLinkRequest) SetSignNameJson(v string) *GetCardSmsLinkRequest

func (GetCardSmsLinkRequest) String

func (s GetCardSmsLinkRequest) String() string

type GetCardSmsLinkResponse

type GetCardSmsLinkResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetCardSmsLinkResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetCardSmsLinkResponse) GoString

func (s GetCardSmsLinkResponse) GoString() string

func (*GetCardSmsLinkResponse) SetBody

func (*GetCardSmsLinkResponse) SetHeaders

func (*GetCardSmsLinkResponse) SetStatusCode

func (GetCardSmsLinkResponse) String

func (s GetCardSmsLinkResponse) String() string

type GetCardSmsLinkResponseBody

type GetCardSmsLinkResponseBody struct {
	// The HTTP status code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *GetCardSmsLinkResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// CC89A90C-978F-46AC-B80D-54738371E7CA
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetCardSmsLinkResponseBody) GoString

func (s GetCardSmsLinkResponseBody) GoString() string

func (*GetCardSmsLinkResponseBody) SetCode

func (*GetCardSmsLinkResponseBody) SetData

func (*GetCardSmsLinkResponseBody) SetRequestId

func (*GetCardSmsLinkResponseBody) SetSuccess

func (GetCardSmsLinkResponseBody) String

type GetCardSmsLinkResponseBodyData

type GetCardSmsLinkResponseBodyData struct {
	// The mobile phone numbers that support card messages.
	//
	// example:
	//
	// [\\"1390000****\\",\\"1370000****\\"]
	CardPhoneNumbers *string `json:"CardPhoneNumbers,omitempty" xml:"CardPhoneNumbers,omitempty"`
	// The signatures must correspond to the mobile numbers and short URLs in sequence.
	//
	// example:
	//
	// ["aliyun","aliyun2"]
	CardSignNames *string `json:"CardSignNames,omitempty" xml:"CardSignNames,omitempty"`
	// The short URLs.
	//
	// example:
	//
	// [\\"mw2m.cn/LAaGGa\\",\\"mw2m.cn/LAAaes\\"]
	CardSmsLinks *string `json:"CardSmsLinks,omitempty" xml:"CardSmsLinks,omitempty"`
	// The review status of the card message template.
	//
	// 	- **0**: pending approval
	//
	// 	- **1**: approved
	//
	// 	- **2**: rejected
	//
	// > Unapproved card messages are rolled back.
	//
	// example:
	//
	// 0
	CardTmpState *int32 `json:"CardTmpState,omitempty" xml:"CardTmpState,omitempty"`
	// The mobile phone numbers that do not support card messages.
	//
	// example:
	//
	// 1390000****
	NotMediaMobiles *string `json:"NotMediaMobiles,omitempty" xml:"NotMediaMobiles,omitempty"`
}

func (GetCardSmsLinkResponseBodyData) GoString

func (*GetCardSmsLinkResponseBodyData) SetCardPhoneNumbers

func (*GetCardSmsLinkResponseBodyData) SetCardSignNames

func (*GetCardSmsLinkResponseBodyData) SetCardTmpState

func (*GetCardSmsLinkResponseBodyData) SetNotMediaMobiles

func (GetCardSmsLinkResponseBodyData) String

type GetMediaResourceIdRequest

type GetMediaResourceIdRequest struct {
	// The extended fields.
	//
	// > If you set the ResourceType parameter to **2**, this parameter is required.
	//
	// example:
	//
	// {\\"img_rate\\":\\"oneToOne\\"}
	ExtendInfo *string `json:"ExtendInfo,omitempty" xml:"ExtendInfo,omitempty"`
	// The size of the resource. Unit: bytes.
	//
	// This parameter is required.
	//
	// example:
	//
	// 12
	FileSize *int64 `json:"FileSize,omitempty" xml:"FileSize,omitempty"`
	// The description of the resource.
	//
	// example:
	//
	// remark
	Memo *string `json:"Memo,omitempty" xml:"Memo,omitempty"`
	// The address of the resource.
	//
	// This parameter is required.
	//
	// example:
	//
	// oss://alicom-fc-media/1947741454322274/alicom-fc-media/pic/202205191526575398603697152.png
	OssKey *string `json:"OssKey,omitempty" xml:"OssKey,omitempty"`
	// The type of the resource.
	//
	// 	- **1**: text.
	//
	// 	- **2**: image. A small image cannot exceed 100 KB in size, and a large image cannot exceed 2 MB in size. The image must be clear. Supported format: JPG, JPEG, and PNG.
	//
	// 	- **3**: audio.
	//
	// 	- **4**: video. Supported format: MP4.
	//
	// >
	//
	// 	- If you set the ResourceType parameter to 2, the **img_rate*	- required is required. Valid values:
	//
	// 	- 1:1
	//
	// 	- 16:9
	//
	// 	- 3:1
	//
	// 	- 48:65
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	ResourceType *int32 `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (GetMediaResourceIdRequest) GoString

func (s GetMediaResourceIdRequest) GoString() string

func (*GetMediaResourceIdRequest) SetExtendInfo

func (*GetMediaResourceIdRequest) SetFileSize

func (*GetMediaResourceIdRequest) SetMemo

func (*GetMediaResourceIdRequest) SetOssKey

func (*GetMediaResourceIdRequest) SetResourceType

func (GetMediaResourceIdRequest) String

func (s GetMediaResourceIdRequest) String() string

type GetMediaResourceIdResponse

type GetMediaResourceIdResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetMediaResourceIdResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetMediaResourceIdResponse) GoString

func (s GetMediaResourceIdResponse) GoString() string

func (*GetMediaResourceIdResponse) SetBody

func (*GetMediaResourceIdResponse) SetHeaders

func (*GetMediaResourceIdResponse) SetStatusCode

func (GetMediaResourceIdResponse) String

type GetMediaResourceIdResponseBody

type GetMediaResourceIdResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *GetMediaResourceIdResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// F07CF237-F6E3-5F77-B91B-F9B7C5DE84AB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request was successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetMediaResourceIdResponseBody) GoString

func (*GetMediaResourceIdResponseBody) SetCode

func (*GetMediaResourceIdResponseBody) SetRequestId

func (*GetMediaResourceIdResponseBody) SetSuccess

func (GetMediaResourceIdResponseBody) String

type GetMediaResourceIdResponseBodyData

type GetMediaResourceIdResponseBodyData struct {
	// The download URL of the resource.
	//
	// example:
	//
	// http://test-example.com/download.jpg
	ResUrlDownload *string `json:"ResUrlDownload,omitempty" xml:"ResUrlDownload,omitempty"`
	// The resource ID.
	//
	// example:
	//
	// SMS_14571****
	ResourceId *int64 `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
}

func (GetMediaResourceIdResponseBodyData) GoString

func (*GetMediaResourceIdResponseBodyData) SetResUrlDownload

func (*GetMediaResourceIdResponseBodyData) SetResourceId

func (GetMediaResourceIdResponseBodyData) String

type GetOSSInfoForCardTemplateResponse

type GetOSSInfoForCardTemplateResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetOSSInfoForCardTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetOSSInfoForCardTemplateResponse) GoString

func (*GetOSSInfoForCardTemplateResponse) SetHeaders

func (*GetOSSInfoForCardTemplateResponse) SetStatusCode

func (GetOSSInfoForCardTemplateResponse) String

type GetOSSInfoForCardTemplateResponseBody

type GetOSSInfoForCardTemplateResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *GetOSSInfoForCardTemplateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// A90E4451-FED7-49D2-87C8-00700A8C4D0D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetOSSInfoForCardTemplateResponseBody) GoString

func (*GetOSSInfoForCardTemplateResponseBody) SetCode

func (*GetOSSInfoForCardTemplateResponseBody) SetRequestId

func (*GetOSSInfoForCardTemplateResponseBody) SetSuccess

func (GetOSSInfoForCardTemplateResponseBody) String

type GetOSSInfoForCardTemplateResponseBodyData

type GetOSSInfoForCardTemplateResponseBodyData struct {
	// The AccessKey ID.
	//
	// example:
	//
	// LTAIxetqt1Dg****
	AccessKeyId *string `json:"AccessKeyId,omitempty" xml:"AccessKeyId,omitempty"`
	// The ID of the Alibaba Cloud account.
	//
	// example:
	//
	// 599333677478****
	AliUid *string `json:"AliUid,omitempty" xml:"AliUid,omitempty"`
	// The name of the OSS bucket.
	//
	// example:
	//
	// alicom-cardsms-resources
	Bucket *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"`
	// The timeout period.
	//
	// example:
	//
	// 1634209418
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// The hostname.
	//
	// example:
	//
	// https://alicom-cardsms-resources.oss-cn-zhangjiakou.aliyuncs.com
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// The signature policy.
	//
	// example:
	//
	// eyJxxx0=
	Policy *string `json:"Policy,omitempty" xml:"Policy,omitempty"`
	// The signature.
	//
	// example:
	//
	// Aliyun
	Signature *string `json:"Signature,omitempty" xml:"Signature,omitempty"`
	// The path of the policy.
	//
	// example:
	//
	// 1631792777
	StartPath *string `json:"StartPath,omitempty" xml:"StartPath,omitempty"`
}

func (GetOSSInfoForCardTemplateResponseBodyData) GoString

func (*GetOSSInfoForCardTemplateResponseBodyData) SetAccessKeyId

func (*GetOSSInfoForCardTemplateResponseBodyData) SetAliUid

func (*GetOSSInfoForCardTemplateResponseBodyData) SetBucket

func (*GetOSSInfoForCardTemplateResponseBodyData) SetExpireTime

func (*GetOSSInfoForCardTemplateResponseBodyData) SetHost

func (*GetOSSInfoForCardTemplateResponseBodyData) SetPolicy

func (*GetOSSInfoForCardTemplateResponseBodyData) SetSignature

func (*GetOSSInfoForCardTemplateResponseBodyData) SetStartPath

func (GetOSSInfoForCardTemplateResponseBodyData) String

type GetOSSInfoForUploadFileRequest

type GetOSSInfoForUploadFileRequest struct {
	// Business type, default value is **fcMediaSms**.
	//
	// When creating signatures and templates, and uploading **additional materials**, this value is **fcMediaSms**.
	//
	// example:
	//
	// fcMediaSms
	BizType              *string `json:"BizType,omitempty" xml:"BizType,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (GetOSSInfoForUploadFileRequest) GoString

func (*GetOSSInfoForUploadFileRequest) SetBizType

func (*GetOSSInfoForUploadFileRequest) SetOwnerId

func (*GetOSSInfoForUploadFileRequest) SetResourceOwnerAccount

func (*GetOSSInfoForUploadFileRequest) SetResourceOwnerId

func (GetOSSInfoForUploadFileRequest) String

type GetOSSInfoForUploadFileResponse

type GetOSSInfoForUploadFileResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetOSSInfoForUploadFileResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetOSSInfoForUploadFileResponse) GoString

func (*GetOSSInfoForUploadFileResponse) SetHeaders

func (*GetOSSInfoForUploadFileResponse) SetStatusCode

func (GetOSSInfoForUploadFileResponse) String

type GetOSSInfoForUploadFileResponseBody

type GetOSSInfoForUploadFileResponseBody struct {
	// Request status code.
	//
	// - OK return represents a successful request.
	//
	// - For other error codes, please refer to the [Error Code List](https://help.aliyun.com/document_detail/101346.htm).
	//
	// 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"`
	// Return result.
	Model *GetOSSInfoForUploadFileResponseBodyModel `json:"Model,omitempty" xml:"Model,omitempty" type:"Struct"`
	// The ID of this call request, which is a unique identifier generated by Alibaba Cloud for the request, can be used for troubleshooting and issue定位.
	//
	// example:
	//
	// A90E4451-FED7-49D2-87C8-00700EDCFD0D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates success. Values:
	//
	// - **true**
	//
	// - **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetOSSInfoForUploadFileResponseBody) GoString

func (*GetOSSInfoForUploadFileResponseBody) SetCode

func (*GetOSSInfoForUploadFileResponseBody) SetMessage

func (*GetOSSInfoForUploadFileResponseBody) SetRequestId

func (*GetOSSInfoForUploadFileResponseBody) SetSuccess

func (GetOSSInfoForUploadFileResponseBody) String

type GetOSSInfoForUploadFileResponseBodyModel

type GetOSSInfoForUploadFileResponseBodyModel struct {
	// AccessKey ID used for signing.
	//
	// example:
	//
	// LTAIxetqt1Dg****
	AccessKeyId *string `json:"AccessKeyId,omitempty" xml:"AccessKeyId,omitempty"`
	// Expiration time.
	//
	// example:
	//
	// 1719297445
	ExpireTime *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// Host address.
	//
	// example:
	//
	// https://alicom-fc-media.oss-cn-zhangjiakou.aliyuncs.com
	Host *string `json:"Host,omitempty" xml:"Host,omitempty"`
	// Signature policy.
	//
	// example:
	//
	// eyJleHBpcmF0aW9uIjoiMjAyN***Ni0yNVQwNjozNzoyNS45NzBaI**iY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJzdGFydHMtd2l0***sIiRrZXkiLCIiXV19
	Policy *string `json:"Policy,omitempty" xml:"Policy,omitempty"`
	// Signature information calculated based on **AccessKey Secret*	- and **Policy**. When calling the OSS API, OSS verifies this signature information to confirm the legitimacy of the Post request.
	//
	// example:
	//
	// BXnwCWPrhVb*****aoZHZfli5KE=
	Signature *string `json:"Signature,omitempty" xml:"Signature,omitempty"`
	// Policy path.
	//
	// example:
	//
	// 123456
	StartPath *string `json:"StartPath,omitempty" xml:"StartPath,omitempty"`
}

func (GetOSSInfoForUploadFileResponseBodyModel) GoString

func (*GetOSSInfoForUploadFileResponseBodyModel) SetAccessKeyId

func (*GetOSSInfoForUploadFileResponseBodyModel) SetExpireTime

func (*GetOSSInfoForUploadFileResponseBodyModel) SetHost

func (*GetOSSInfoForUploadFileResponseBodyModel) SetPolicy

func (*GetOSSInfoForUploadFileResponseBodyModel) SetSignature

func (*GetOSSInfoForUploadFileResponseBodyModel) SetStartPath

func (GetOSSInfoForUploadFileResponseBodyModel) String

type GetSmsSignRequest

type GetSmsSignRequest struct {
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Signature name. Must be an SMS signature already applied for by this account.
	//
	// - Obtain from the return parameters after calling the [CreateSmsSign](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-createsmssign?spm) API.
	//
	// - View the signature on the [Signature Management](https://dysms.console.aliyun.com/domestic/text/sign) page.
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (GetSmsSignRequest) GoString

func (s GetSmsSignRequest) GoString() string

func (*GetSmsSignRequest) SetOwnerId

func (s *GetSmsSignRequest) SetOwnerId(v int64) *GetSmsSignRequest

func (*GetSmsSignRequest) SetResourceOwnerAccount

func (s *GetSmsSignRequest) SetResourceOwnerAccount(v string) *GetSmsSignRequest

func (*GetSmsSignRequest) SetResourceOwnerId

func (s *GetSmsSignRequest) SetResourceOwnerId(v int64) *GetSmsSignRequest

func (*GetSmsSignRequest) SetSignName

func (s *GetSmsSignRequest) SetSignName(v string) *GetSmsSignRequest

func (GetSmsSignRequest) String

func (s GetSmsSignRequest) String() string

type GetSmsSignResponse

type GetSmsSignResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetSmsSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetSmsSignResponse) GoString

func (s GetSmsSignResponse) GoString() string

func (*GetSmsSignResponse) SetBody

func (*GetSmsSignResponse) SetHeaders

func (s *GetSmsSignResponse) SetHeaders(v map[string]*string) *GetSmsSignResponse

func (*GetSmsSignResponse) SetStatusCode

func (s *GetSmsSignResponse) SetStatusCode(v int32) *GetSmsSignResponse

func (GetSmsSignResponse) String

func (s GetSmsSignResponse) String() string

type GetSmsSignResponseBody

type GetSmsSignResponseBody struct {
	// Content of application scenarios.
	//
	// example:
	//
	// http://www.aliyun.com/
	ApplyScene *string `json:"ApplyScene,omitempty" xml:"ApplyScene,omitempty"`
	// Audit information.
	AuditInfo *GetSmsSignResponseBodyAuditInfo `json:"AuditInfo,omitempty" xml:"AuditInfo,omitempty" type:"Struct"`
	// Request status code.
	//
	// - OK indicates a successful request.
	//
	// - For other error codes, see [API Error Codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Creation date and time of the SMS signature.
	//
	// example:
	//
	// 2024-06-03 10:02:34
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// 更多资料信息,补充上传业务证明文件或业务截图文件列表。
	FileUrlList []*string `json:"FileUrlList,omitempty" xml:"FileUrlList,omitempty" type:"Repeated"`
	// Description of the status code.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Work order number.
	//
	// Used by reviewers when querying the review. You need to provide this work order number if you require expedited review.
	//
	// example:
	//
	// 20044156924
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// Credential ID, the credential ID associated when applying for the signature.
	//
	// example:
	//
	// 2004393****
	QualificationId *int64 `json:"QualificationId,omitempty" xml:"QualificationId,omitempty"`
	RegisterResult  *int32 `json:"RegisterResult,omitempty" xml:"RegisterResult,omitempty"`
	// Explanation of the SMS signature scenario, with a maximum length of 200 characters.
	//
	// example:
	//
	// Send verification code text message during login.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The ID of this call request, which is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting and issue localization.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// SMS signature code.
	//
	// example:
	//
	// SIGN_100000077042023_17174665*****_ZM2kG
	SignCode *string `json:"SignCode,omitempty" xml:"SignCode,omitempty"`
	// SMS signature name.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// Signature review status. Values:
	//
	// - **0**: Under review.
	//
	// - **1**: Approved.
	//
	// - **2**: Review failed, please check the Reason parameter for the failure cause.
	//
	// - **10**: Review canceled.
	//
	// example:
	//
	// 2
	SignStatus *int64 `json:"SignStatus,omitempty" xml:"SignStatus,omitempty"`
	// Signature tag indicating whether the signature is user-defined, system-provided, test, or trial. Values:
	//
	// - 2: User-defined signature
	//
	// - 3: System-provided signature
	//
	// - 4: Test signature
	//
	// - 5: Trial signature
	//
	// example:
	//
	// 2
	SignTag *string `json:"SignTag,omitempty" xml:"SignTag,omitempty"`
	// scenarios for using signatures.
	//
	// example:
	//
	// App.
	SignUsage *string `json:"SignUsage,omitempty" xml:"SignUsage,omitempty"`
	// Signature usage indication—self-use or third-party use.
	//
	// - false: Self-use (default)
	//
	// - true: Third-party use
	//
	// example:
	//
	// false
	ThirdParty *bool `json:"ThirdParty,omitempty" xml:"ThirdParty,omitempty"`
}

func (GetSmsSignResponseBody) GoString

func (s GetSmsSignResponseBody) GoString() string

func (*GetSmsSignResponseBody) SetApplyScene

func (*GetSmsSignResponseBody) SetAuditInfo

func (*GetSmsSignResponseBody) SetCode

func (*GetSmsSignResponseBody) SetCreateDate

func (*GetSmsSignResponseBody) SetFileUrlList

func (s *GetSmsSignResponseBody) SetFileUrlList(v []*string) *GetSmsSignResponseBody

func (*GetSmsSignResponseBody) SetMessage

func (*GetSmsSignResponseBody) SetOrderId

func (*GetSmsSignResponseBody) SetQualificationId

func (s *GetSmsSignResponseBody) SetQualificationId(v int64) *GetSmsSignResponseBody

func (*GetSmsSignResponseBody) SetRegisterResult added in v4.1.1

func (s *GetSmsSignResponseBody) SetRegisterResult(v int32) *GetSmsSignResponseBody

func (*GetSmsSignResponseBody) SetRemark

func (*GetSmsSignResponseBody) SetRequestId

func (*GetSmsSignResponseBody) SetSignCode

func (*GetSmsSignResponseBody) SetSignName

func (*GetSmsSignResponseBody) SetSignStatus

func (*GetSmsSignResponseBody) SetSignTag

func (*GetSmsSignResponseBody) SetSignUsage

func (*GetSmsSignResponseBody) SetThirdParty

func (s *GetSmsSignResponseBody) SetThirdParty(v bool) *GetSmsSignResponseBody

func (GetSmsSignResponseBody) String

func (s GetSmsSignResponseBody) String() string

type GetSmsSignResponseBodyAuditInfo

type GetSmsSignResponseBodyAuditInfo struct {
	// Audit date and time.
	//
	// example:
	//
	// 2024-06-03 12:02:34
	AuditDate *string `json:"AuditDate,omitempty" xml:"AuditDate,omitempty"`
	// Reasons for not passing the review.
	//
	// example:
	//
	// reason for rejection.
	RejectInfo *string `json:"RejectInfo,omitempty" xml:"RejectInfo,omitempty"`
}

func (GetSmsSignResponseBodyAuditInfo) GoString

func (*GetSmsSignResponseBodyAuditInfo) SetAuditDate

func (*GetSmsSignResponseBodyAuditInfo) SetRejectInfo

func (GetSmsSignResponseBodyAuditInfo) String

type GetSmsTemplateRequest

type GetSmsTemplateRequest struct {
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// SMS template code.
	//
	// - Obtain the SMS template code from the return parameters of the [CreateSmsTemplate](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-createsmstemplate?spm) API.
	//
	// - View the SMS template code on the [Template Management](https://dysms.console.aliyun.com/domestic/text/template) page.
	//
	// This parameter is required.
	//
	// example:
	//
	// SMS_20375****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (GetSmsTemplateRequest) GoString

func (s GetSmsTemplateRequest) GoString() string

func (*GetSmsTemplateRequest) SetOwnerId

func (*GetSmsTemplateRequest) SetResourceOwnerAccount

func (s *GetSmsTemplateRequest) SetResourceOwnerAccount(v string) *GetSmsTemplateRequest

func (*GetSmsTemplateRequest) SetResourceOwnerId

func (s *GetSmsTemplateRequest) SetResourceOwnerId(v int64) *GetSmsTemplateRequest

func (*GetSmsTemplateRequest) SetTemplateCode

func (s *GetSmsTemplateRequest) SetTemplateCode(v string) *GetSmsTemplateRequest

func (GetSmsTemplateRequest) String

func (s GetSmsTemplateRequest) String() string

type GetSmsTemplateResponse

type GetSmsTemplateResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetSmsTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetSmsTemplateResponse) GoString

func (s GetSmsTemplateResponse) GoString() string

func (*GetSmsTemplateResponse) SetBody

func (*GetSmsTemplateResponse) SetHeaders

func (*GetSmsTemplateResponse) SetStatusCode

func (GetSmsTemplateResponse) String

func (s GetSmsTemplateResponse) String() string

type GetSmsTemplateResponseBody

type GetSmsTemplateResponseBody struct {
	// Application scenario content.
	//
	// example:
	//
	// http://www.aliyun.com/
	ApplyScene *string `json:"ApplyScene,omitempty" xml:"ApplyScene,omitempty"`
	// Audit information.
	AuditInfo *GetSmsTemplateResponseBodyAuditInfo `json:"AuditInfo,omitempty" xml:"AuditInfo,omitempty" type:"Struct"`
	// Request status code.
	//
	// 	- OK indicates a successful request.
	//
	// 	- For other error codes, please refer to [API Error Codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The time when the SMS template was created.
	//
	// example:
	//
	// 2024-06-03 10:02:34
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// File information, compatible with signatures created by the [AddSmsSign](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-addsmstemplate?spm) API.
	FileUrlList *GetSmsTemplateResponseBodyFileUrlList `json:"FileUrlList,omitempty" xml:"FileUrlList,omitempty" type:"Struct"`
	// International/Hong Kong, Macao, and Taiwan template type. When the **TemplateType*	- parameter is **3**, this parameter is required for international/Hong Kong, Macao, and Taiwan templates, with values:
	//
	// - **0**: Verification code.
	//
	// - **1**: SMS notification.
	//
	// - **2**: Promotional SMS.
	//
	// example:
	//
	// 0
	IntlType *int32 `json:"IntlType,omitempty" xml:"IntlType,omitempty"`
	// Description of the status code.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Additional documentation information, supplementing uploaded business proof files or operational screenshots file list.
	MoreDataFileUrlList *GetSmsTemplateResponseBodyMoreDataFileUrlList `json:"MoreDataFileUrlList,omitempty" xml:"MoreDataFileUrlList,omitempty" type:"Struct"`
	// Work order number.
	//
	// This parameter is used by auditors when querying the audit. You need to provide this work order number when requesting expedited review.
	//
	// example:
	//
	// 2003019****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The SMS signature associated with the template when applied.
	//
	// example:
	//
	// 阿里云
	RelatedSignName *string `json:"RelatedSignName,omitempty" xml:"RelatedSignName,omitempty"`
	// Explanation for the SMS template application, which is one of the reference information for template review.
	//
	// example:
	//
	// 申请验证码模板
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The ID of this call request, which is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting and issue定位.
	//
	// example:
	//
	// 819BE656-D2E0-4858-8B21-B2E47708****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// SMS template code.
	//
	// example:
	//
	// SMS_20375****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// Content of the SMS template.
	//
	// example:
	//
	// 您正在申请手机注册,验证码为:${code},5分钟内有效!
	TemplateContent *string `json:"TemplateContent,omitempty" xml:"TemplateContent,omitempty"`
	// Name of the SMS template.
	//
	// example:
	//
	// 验证码
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// Template review status. Return values:
	//
	// - **0**: Under review.
	//
	// - **1**: Approved.
	//
	// - **2**: Not approved, with reasons for failure returned. Please refer to [Handling Suggestions for Failed SMS Reviews](https://help.aliyun.com/zh/sms/user-guide/causes-of-application-failures-and-suggestions?spm=a2c4g.11186623.0.0.41fd339f3bPSCQ), invoke the [UpdateSmsTemplate](https://help.aliyun.com/zh/sms/developer-reference/api-dysmsapi-2017-05-25-updatesmstemplate?spm) API or modify the SMS template on the [Template Management](https://dysms.console.aliyun.com/domestic/text/template) page.
	//
	// - **10**: Review canceled.
	//
	// example:
	//
	// 2
	TemplateStatus *string `json:"TemplateStatus,omitempty" xml:"TemplateStatus,omitempty"`
	// Template identifier, indicating whether the template is user-defined or system-provided. Values:
	//
	// - **2**: User-defined template.
	//
	// - **3**: System-provided template.
	//
	// example:
	//
	// 2
	TemplateTag *int32 `json:"TemplateTag,omitempty" xml:"TemplateTag,omitempty"`
	// SMS type. Values:
	//
	// - **0**: Verification code.
	//
	// - **1**: SMS notification.
	//
	// - **2**: Promotional SMS.
	//
	// - **3**: International/Hong Kong, Macao, and Taiwan messages.
	//
	// > Only enterprise-certified users can apply for promotional SMS and international/Hong Kong, Macao, and Taiwan messages. For details on the differences between personal and enterprise user rights, please refer to [Usage Notes](https://help.aliyun.com/zh/sms/user-guide/usage-notes?spm=a2c4g.11186623.0.0.67447f576NJnE8).
	//
	// example:
	//
	// 0
	TemplateType *string `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
	// Template variable rules.
	//
	// For detailed rules of template variables, refer to the [Example Document](https://help.aliyun.com/zh/sms/templaterule-template-variable-parameter-filling-example).
	//
	// example:
	//
	// {"code":"characterWithNumber"}
	VariableAttribute *string `json:"VariableAttribute,omitempty" xml:"VariableAttribute,omitempty"`
}

func (GetSmsTemplateResponseBody) GoString

func (s GetSmsTemplateResponseBody) GoString() string

func (*GetSmsTemplateResponseBody) SetApplyScene

func (*GetSmsTemplateResponseBody) SetAuditInfo

func (*GetSmsTemplateResponseBody) SetCode

func (*GetSmsTemplateResponseBody) SetCreateDate

func (*GetSmsTemplateResponseBody) SetFileUrlList

func (*GetSmsTemplateResponseBody) SetIntlType

func (*GetSmsTemplateResponseBody) SetMessage

func (*GetSmsTemplateResponseBody) SetOrderId

func (*GetSmsTemplateResponseBody) SetRelatedSignName

func (*GetSmsTemplateResponseBody) SetRemark

func (*GetSmsTemplateResponseBody) SetRequestId

func (*GetSmsTemplateResponseBody) SetTemplateCode

func (*GetSmsTemplateResponseBody) SetTemplateContent

func (*GetSmsTemplateResponseBody) SetTemplateName

func (*GetSmsTemplateResponseBody) SetTemplateStatus

func (*GetSmsTemplateResponseBody) SetTemplateTag

func (*GetSmsTemplateResponseBody) SetTemplateType

func (*GetSmsTemplateResponseBody) SetVariableAttribute

func (s *GetSmsTemplateResponseBody) SetVariableAttribute(v string) *GetSmsTemplateResponseBody

func (GetSmsTemplateResponseBody) String

type GetSmsTemplateResponseBodyAuditInfo

type GetSmsTemplateResponseBodyAuditInfo struct {
	// Audit date and time.
	//
	// example:
	//
	// 2024-06-03 11:20:34
	AuditDate *string `json:"AuditDate,omitempty" xml:"AuditDate,omitempty"`
	// Reasons for failed audit.
	//
	// example:
	//
	// 模板内容中包含错别字。
	RejectInfo *string `json:"RejectInfo,omitempty" xml:"RejectInfo,omitempty"`
}

func (GetSmsTemplateResponseBodyAuditInfo) GoString

func (*GetSmsTemplateResponseBodyAuditInfo) SetAuditDate

func (*GetSmsTemplateResponseBodyAuditInfo) SetRejectInfo

func (GetSmsTemplateResponseBodyAuditInfo) String

type GetSmsTemplateResponseBodyFileUrlList

type GetSmsTemplateResponseBodyFileUrlList struct {
	FileUrl []*string `json:"FileUrl,omitempty" xml:"FileUrl,omitempty" type:"Repeated"`
}

func (GetSmsTemplateResponseBodyFileUrlList) GoString

func (*GetSmsTemplateResponseBodyFileUrlList) SetFileUrl

func (GetSmsTemplateResponseBodyFileUrlList) String

type GetSmsTemplateResponseBodyMoreDataFileUrlList

type GetSmsTemplateResponseBodyMoreDataFileUrlList struct {
	MoreDataFileUrl []*string `json:"MoreDataFileUrl,omitempty" xml:"MoreDataFileUrl,omitempty" type:"Repeated"`
}

func (GetSmsTemplateResponseBodyMoreDataFileUrlList) GoString

func (*GetSmsTemplateResponseBodyMoreDataFileUrlList) SetMoreDataFileUrl

func (GetSmsTemplateResponseBodyMoreDataFileUrlList) String

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The token used to query the next page.
	//
	// example:
	//
	// 23432453245
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerId   *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of entries per page.
	//
	// example:
	//
	// 20
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The name of the cloud service. Set the value to **dysms**.
	//
	// example:
	//
	// dysms
	ProdCode *string `json:"ProdCode,omitempty" xml:"ProdCode,omitempty"`
	// The region ID. Set the value to **cn-hangzhou**.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The code of the message template. Specify either the Tag or the ResourceId parameter.
	//
	// example:
	//
	// SMS_23423423
	ResourceId           []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	ResourceOwnerAccount *string   `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64    `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The type of the resource. Set the value to TEMPLATE.
	//
	// This parameter is required.
	//
	// example:
	//
	// TEMPLATE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag list. Specify either the Tag or the ResourceId parameter. You can specify a maximum of 20 tags.
	Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetNextToken

func (*ListTagResourcesRequest) SetOwnerId

func (*ListTagResourcesRequest) SetPageSize

func (*ListTagResourcesRequest) SetProdCode

func (*ListTagResourcesRequest) SetRegionId

func (*ListTagResourcesRequest) SetResourceId

func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceOwnerAccount

func (s *ListTagResourcesRequest) SetResourceOwnerAccount(v string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceOwnerId

func (s *ListTagResourcesRequest) SetResourceOwnerId(v int64) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType

func (*ListTagResourcesRequest) SetTag

func (ListTagResourcesRequest) String

func (s ListTagResourcesRequest) String() string

type ListTagResourcesRequestTag

type ListTagResourcesRequestTag struct {
	// The key of the tag.
	//
	// example:
	//
	// TestKey
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	//
	// example:
	//
	// TestValue
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagResourcesRequestTag) GoString

func (s ListTagResourcesRequestTag) GoString() string

func (*ListTagResourcesRequestTag) SetKey

func (*ListTagResourcesRequestTag) SetValue

func (ListTagResourcesRequestTag) String

type ListTagResourcesResponse

type ListTagResourcesResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagResourcesResponse) GoString

func (s ListTagResourcesResponse) GoString() string

func (*ListTagResourcesResponse) SetBody

func (*ListTagResourcesResponse) SetHeaders

func (*ListTagResourcesResponse) SetStatusCode

func (ListTagResourcesResponse) String

func (s ListTagResourcesResponse) String() string

type ListTagResourcesResponseBody

type ListTagResourcesResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The token used to query the next page.
	//
	// example:
	//
	// "23432453245"
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	//
	// example:
	//
	// A90E4451-FED7-49D2-87C8-00700A8C4D0D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The list of tags.
	TagResources *ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Struct"`
}

func (ListTagResourcesResponseBody) GoString

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetCode

func (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetRequestId

func (ListTagResourcesResponseBody) String

type ListTagResourcesResponseBodyTagResources

type ListTagResourcesResponseBodyTagResources struct {
	TagResource []*ListTagResourcesResponseBodyTagResourcesTagResource `json:"TagResource,omitempty" xml:"TagResource,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBodyTagResources) GoString

func (ListTagResourcesResponseBodyTagResources) String

type ListTagResourcesResponseBodyTagResourcesTagResource

type ListTagResourcesResponseBodyTagResourcesTagResource struct {
	// The code of the message template.
	//
	// example:
	//
	// SMS_23423****
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of resource.
	//
	// example:
	//
	// ALIYUN::DYSMS::TEMPLATE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag key.
	//
	// example:
	//
	// TestKey
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value.
	//
	// example:
	//
	// TestValue
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListTagResourcesResponseBodyTagResourcesTagResource) GoString

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceId

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceType

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetTagKey

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetTagValue

func (ListTagResourcesResponseBodyTagResourcesTagResource) String

type ModifySmsSignRequest

type ModifySmsSignRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The scenario description of your released services. Provide the information of your services, such as a website URL, a domain name with an ICP filing, an app download URL, or the name of your WeChat official account or mini program. For sign-in scenarios, you must also provide an account and password for tests. A detailed description can improve the review efficiency of signatures and templates.
	//
	// > The description can be up to 200 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// This is the abbreviation of our company.
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The list of signature files.
	//
	// This parameter is required.
	SignFileList []*ModifySmsSignRequestSignFileList `json:"SignFileList,omitempty" xml:"SignFileList,omitempty" type:"Repeated"`
	// The signature.
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// The source of the signature. Valid values:
	//
	// 	- **0**: full name or abbreviation of an enterprise or institution.
	//
	// 	- **1**: full name or abbreviation of a website with Ministry of Industry and Information Technology (MIIT) filing.
	//
	// 	- **2**: full name or abbreviation of an app.
	//
	// 	- **3**: full name or abbreviation of a WeChat official account or applet.
	//
	// 	- **4**: full name or abbreviation of an e-commerce store.
	//
	// 	- **5**: full name or abbreviation of a trademark.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	SignSource *int32 `json:"SignSource,omitempty" xml:"SignSource,omitempty"`
	// The type of the signature. Valid values:
	//
	// 	- **0**: verification-code signature
	//
	// 	- **1**: general-purpose signature
	//
	// example:
	//
	// 1
	SignType *int32 `json:"SignType,omitempty" xml:"SignType,omitempty"`
}

func (ModifySmsSignRequest) GoString

func (s ModifySmsSignRequest) GoString() string

func (*ModifySmsSignRequest) SetOwnerId

func (*ModifySmsSignRequest) SetRemark

func (*ModifySmsSignRequest) SetResourceOwnerAccount

func (s *ModifySmsSignRequest) SetResourceOwnerAccount(v string) *ModifySmsSignRequest

func (*ModifySmsSignRequest) SetResourceOwnerId

func (s *ModifySmsSignRequest) SetResourceOwnerId(v int64) *ModifySmsSignRequest

func (*ModifySmsSignRequest) SetSignFileList

func (*ModifySmsSignRequest) SetSignName

func (*ModifySmsSignRequest) SetSignSource

func (s *ModifySmsSignRequest) SetSignSource(v int32) *ModifySmsSignRequest

func (*ModifySmsSignRequest) SetSignType

func (s *ModifySmsSignRequest) SetSignType(v int32) *ModifySmsSignRequest

func (ModifySmsSignRequest) String

func (s ModifySmsSignRequest) String() string

type ModifySmsSignRequestSignFileList

type ModifySmsSignRequestSignFileList struct {
	// The base64-encoded string of the signed files. The size of the image cannot exceed 2 MB.
	//
	// In some scenarios, documents are required to prove your identity. For more information, see [Signature specifications](https://help.aliyun.com/document_detail/108076.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// R0lGODlhHAAmAKIHAKqqqsvLy0hISObm5vf394uLiwAA
	FileContents *string `json:"FileContents,omitempty" xml:"FileContents,omitempty"`
	// The format of the documents. You can upload multiple images. JPG, PNG, GIF, and JPEG are supported.
	//
	// In some scenarios, documents are required to prove your identity. For more information, see [Signature specifications](https://help.aliyun.com/document_detail/108076.html).
	//
	// > If the signature is used for other purposes or the signature source is an enterprise or public institution, you must upload some documents and an authorization letter. For more information, see [Documents](https://help.aliyun.com/document_detail/108076.html) and [Letter of authorization](https://help.aliyun.com/document_detail/56741.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// jpg
	FileSuffix *string `json:"FileSuffix,omitempty" xml:"FileSuffix,omitempty"`
}

func (ModifySmsSignRequestSignFileList) GoString

func (*ModifySmsSignRequestSignFileList) SetFileContents

func (*ModifySmsSignRequestSignFileList) SetFileSuffix

func (ModifySmsSignRequestSignFileList) String

type ModifySmsSignResponse

type ModifySmsSignResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifySmsSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifySmsSignResponse) GoString

func (s ModifySmsSignResponse) GoString() string

func (*ModifySmsSignResponse) SetBody

func (*ModifySmsSignResponse) SetHeaders

func (*ModifySmsSignResponse) SetStatusCode

func (s *ModifySmsSignResponse) SetStatusCode(v int32) *ModifySmsSignResponse

func (ModifySmsSignResponse) String

func (s ModifySmsSignResponse) String() string

type ModifySmsSignResponseBody

type ModifySmsSignResponseBody struct {
	// The response 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The signature.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (ModifySmsSignResponseBody) GoString

func (s ModifySmsSignResponseBody) GoString() string

func (*ModifySmsSignResponseBody) SetCode

func (*ModifySmsSignResponseBody) SetMessage

func (*ModifySmsSignResponseBody) SetRequestId

func (*ModifySmsSignResponseBody) SetSignName

func (ModifySmsSignResponseBody) String

func (s ModifySmsSignResponseBody) String() string

type ModifySmsTemplateRequest

type ModifySmsTemplateRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The description of the message template. It is one of the reference information for template review. The description cannot exceed 100 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// Modify the parameters of the template.
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The code of the message template.
	//
	// You can log on to the [Short Message Service (SMS) console](https://dysms.console.aliyun.com/dysms.htm), click **Go China*	- or **Go Globe*	- in the left-side navigation pane, and then view the template code on the **Templates*	- tab. You can also call the [AddSmsTemplate](https://help.aliyun.com/document_detail/121208.html) operation to obtain the template code.
	//
	// This parameter is required.
	//
	// example:
	//
	// SMS_15255****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// The content of the template. The content must be 1 to 500 characters in length.
	//
	// > When you modify a template, design the template content based on the review comments.
	//
	// This parameter is required.
	//
	// example:
	//
	// You are applying for mobile registration. The verification code is: ${code}, valid for 5 minutes!
	TemplateContent *string `json:"TemplateContent,omitempty" xml:"TemplateContent,omitempty"`
	// The name of the template. The name must be 1 to 30 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// aliyun verification code
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The type of the message. Valid values:
	//
	// 	- **0**: verification code
	//
	// 	- **1**: text message
	//
	// 	- **2**: promotional message
	//
	// 	- **3**: message sent to countries or regions outside the Chinese mainland
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	TemplateType *int32 `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (ModifySmsTemplateRequest) GoString

func (s ModifySmsTemplateRequest) GoString() string

func (*ModifySmsTemplateRequest) SetOwnerId

func (*ModifySmsTemplateRequest) SetRemark

func (*ModifySmsTemplateRequest) SetResourceOwnerAccount

func (s *ModifySmsTemplateRequest) SetResourceOwnerAccount(v string) *ModifySmsTemplateRequest

func (*ModifySmsTemplateRequest) SetResourceOwnerId

func (s *ModifySmsTemplateRequest) SetResourceOwnerId(v int64) *ModifySmsTemplateRequest

func (*ModifySmsTemplateRequest) SetTemplateCode

func (*ModifySmsTemplateRequest) SetTemplateContent

func (s *ModifySmsTemplateRequest) SetTemplateContent(v string) *ModifySmsTemplateRequest

func (*ModifySmsTemplateRequest) SetTemplateName

func (*ModifySmsTemplateRequest) SetTemplateType

func (ModifySmsTemplateRequest) String

func (s ModifySmsTemplateRequest) String() string

type ModifySmsTemplateResponse

type ModifySmsTemplateResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifySmsTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifySmsTemplateResponse) GoString

func (s ModifySmsTemplateResponse) GoString() string

func (*ModifySmsTemplateResponse) SetBody

func (*ModifySmsTemplateResponse) SetHeaders

func (*ModifySmsTemplateResponse) SetStatusCode

func (ModifySmsTemplateResponse) String

func (s ModifySmsTemplateResponse) String() string

type ModifySmsTemplateResponseBody

type ModifySmsTemplateResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The code of the message template.
	//
	// example:
	//
	// SMS_15255****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (ModifySmsTemplateResponseBody) GoString

func (*ModifySmsTemplateResponseBody) SetCode

func (*ModifySmsTemplateResponseBody) SetMessage

func (*ModifySmsTemplateResponseBody) SetRequestId

func (*ModifySmsTemplateResponseBody) SetTemplateCode

func (ModifySmsTemplateResponseBody) String

type QueryCardSmsTemplateReportRequest

type QueryCardSmsTemplateReportRequest struct {
	// The end of the time range to query. Specify the time in the yyyy-MM-dd HH:mm:ss format.
	//
	// example:
	//
	// 2020-10-11 00:00:01
	EndDate *string `json:"EndDate,omitempty" xml:"EndDate,omitempty"`
	// The beginning of the time range to query. Specify the time in the yyyy-MM-dd HH:mm:ss format.
	//
	// example:
	//
	// 2020-10-10 00:00:01
	StartDate *string `json:"StartDate,omitempty" xml:"StartDate,omitempty"`
	// The array of message templates.
	//
	// This parameter is required.
	TemplateCodes []*string `json:"TemplateCodes,omitempty" xml:"TemplateCodes,omitempty" type:"Repeated"`
}

func (QueryCardSmsTemplateReportRequest) GoString

func (*QueryCardSmsTemplateReportRequest) SetEndDate

func (*QueryCardSmsTemplateReportRequest) SetStartDate

func (*QueryCardSmsTemplateReportRequest) SetTemplateCodes

func (QueryCardSmsTemplateReportRequest) String

type QueryCardSmsTemplateReportResponse

type QueryCardSmsTemplateReportResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryCardSmsTemplateReportResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QueryCardSmsTemplateReportResponse) GoString

func (*QueryCardSmsTemplateReportResponse) SetHeaders

func (*QueryCardSmsTemplateReportResponse) SetStatusCode

func (QueryCardSmsTemplateReportResponse) String

type QueryCardSmsTemplateReportResponseBody

type QueryCardSmsTemplateReportResponseBody struct {
	// The HTTP status code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *QueryCardSmsTemplateReportResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// CC89A90C-978F-46AC-B80D-54738371E7CA
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (QueryCardSmsTemplateReportResponseBody) GoString

func (*QueryCardSmsTemplateReportResponseBody) SetCode

func (*QueryCardSmsTemplateReportResponseBody) SetRequestId

func (*QueryCardSmsTemplateReportResponseBody) SetSuccess

func (QueryCardSmsTemplateReportResponseBody) String

type QueryCardSmsTemplateReportResponseBodyData

type QueryCardSmsTemplateReportResponseBodyData struct {
	// The details of the data returned.
	Model []map[string]interface{} `json:"model,omitempty" xml:"model,omitempty" type:"Repeated"`
}

func (QueryCardSmsTemplateReportResponseBodyData) GoString

func (*QueryCardSmsTemplateReportResponseBodyData) SetModel

func (QueryCardSmsTemplateReportResponseBodyData) String

type QueryCardSmsTemplateRequest

type QueryCardSmsTemplateRequest struct {
	// 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.
	//
	// > Make sure that the message template has been approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// CARD_SMS_4139
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (QueryCardSmsTemplateRequest) GoString

func (s QueryCardSmsTemplateRequest) GoString() string

func (*QueryCardSmsTemplateRequest) SetTemplateCode

func (QueryCardSmsTemplateRequest) String

type QueryCardSmsTemplateResponse

type QueryCardSmsTemplateResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryCardSmsTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QueryCardSmsTemplateResponse) GoString

func (s QueryCardSmsTemplateResponse) GoString() string

func (*QueryCardSmsTemplateResponse) SetBody

func (*QueryCardSmsTemplateResponse) SetHeaders

func (*QueryCardSmsTemplateResponse) SetStatusCode

func (QueryCardSmsTemplateResponse) String

type QueryCardSmsTemplateResponseBody

type QueryCardSmsTemplateResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *QueryCardSmsTemplateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (QueryCardSmsTemplateResponseBody) GoString

func (*QueryCardSmsTemplateResponseBody) SetCode

func (*QueryCardSmsTemplateResponseBody) SetRequestId

func (*QueryCardSmsTemplateResponseBody) SetSuccess

func (QueryCardSmsTemplateResponseBody) String

type QueryCardSmsTemplateResponseBodyData

type QueryCardSmsTemplateResponseBodyData struct {
	// The array of objects.
	Templates []map[string]interface{} `json:"Templates,omitempty" xml:"Templates,omitempty" type:"Repeated"`
}

func (QueryCardSmsTemplateResponseBodyData) GoString

func (*QueryCardSmsTemplateResponseBodyData) SetTemplates

func (QueryCardSmsTemplateResponseBodyData) String

type QueryExtCodeSignRequest added in v4.1.0

type QueryExtCodeSignRequest struct {
	// 扩展码A3
	//
	// example:
	//
	// 01
	ExtCode *string `json:"ExtCode,omitempty" xml:"ExtCode,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// example:
	//
	// 1
	PageNo *int64 `json:"PageNo,omitempty" xml:"PageNo,omitempty"`
	// example:
	//
	// 20
	PageSize             *int64  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 签名
	//
	// example:
	//
	// 示例值示例值
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (QueryExtCodeSignRequest) GoString added in v4.1.0

func (s QueryExtCodeSignRequest) GoString() string

func (*QueryExtCodeSignRequest) SetExtCode added in v4.1.0

func (*QueryExtCodeSignRequest) SetOwnerId added in v4.1.0

func (*QueryExtCodeSignRequest) SetPageNo added in v4.1.0

func (*QueryExtCodeSignRequest) SetPageSize added in v4.1.0

func (*QueryExtCodeSignRequest) SetResourceOwnerAccount added in v4.1.0

func (s *QueryExtCodeSignRequest) SetResourceOwnerAccount(v string) *QueryExtCodeSignRequest

func (*QueryExtCodeSignRequest) SetResourceOwnerId added in v4.1.0

func (s *QueryExtCodeSignRequest) SetResourceOwnerId(v int64) *QueryExtCodeSignRequest

func (*QueryExtCodeSignRequest) SetSignName added in v4.1.0

func (QueryExtCodeSignRequest) String added in v4.1.0

func (s QueryExtCodeSignRequest) String() string

type QueryExtCodeSignResponse added in v4.1.0

type QueryExtCodeSignResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryExtCodeSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QueryExtCodeSignResponse) GoString added in v4.1.0

func (s QueryExtCodeSignResponse) GoString() string

func (*QueryExtCodeSignResponse) SetBody added in v4.1.0

func (*QueryExtCodeSignResponse) SetHeaders added in v4.1.0

func (*QueryExtCodeSignResponse) SetStatusCode added in v4.1.0

func (QueryExtCodeSignResponse) String added in v4.1.0

func (s QueryExtCodeSignResponse) String() string

type QueryExtCodeSignResponseBody added in v4.1.0

type QueryExtCodeSignResponseBody struct {
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// example:
	//
	// OK
	Code *string                           `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *QueryExtCodeSignResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 90E63D28-E31D-1EB2-8939-A9486641****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (QueryExtCodeSignResponseBody) GoString added in v4.1.0

func (s QueryExtCodeSignResponseBody) GoString() string

func (*QueryExtCodeSignResponseBody) SetAccessDeniedDetail added in v4.1.0

func (*QueryExtCodeSignResponseBody) SetCode added in v4.1.0

func (*QueryExtCodeSignResponseBody) SetData added in v4.1.0

func (*QueryExtCodeSignResponseBody) SetMessage added in v4.1.0

func (*QueryExtCodeSignResponseBody) SetRequestId added in v4.1.0

func (*QueryExtCodeSignResponseBody) SetSuccess added in v4.1.0

func (QueryExtCodeSignResponseBody) String added in v4.1.0

type QueryExtCodeSignResponseBodyData added in v4.1.0

type QueryExtCodeSignResponseBodyData struct {
	List []*QueryExtCodeSignResponseBodyDataList `json:"List,omitempty" xml:"List,omitempty" type:"Repeated"`
	// example:
	//
	// 1
	PageNo *int64 `json:"PageNo,omitempty" xml:"PageNo,omitempty"`
	// example:
	//
	// 20
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// example:
	//
	// 5
	Total *int64 `json:"Total,omitempty" xml:"Total,omitempty"`
}

func (QueryExtCodeSignResponseBodyData) GoString added in v4.1.0

func (*QueryExtCodeSignResponseBodyData) SetList added in v4.1.0

func (*QueryExtCodeSignResponseBodyData) SetPageNo added in v4.1.0

func (*QueryExtCodeSignResponseBodyData) SetPageSize added in v4.1.0

func (*QueryExtCodeSignResponseBodyData) SetTotal added in v4.1.0

func (QueryExtCodeSignResponseBodyData) String added in v4.1.0

type QueryExtCodeSignResponseBodyDataList added in v4.1.0

type QueryExtCodeSignResponseBodyDataList struct {
	// 是否可回收
	//
	// example:
	//
	// 1
	Active *int64 `json:"Active,omitempty" xml:"Active,omitempty"`
	// 扩展码A3
	//
	// example:
	//
	// 01
	ExtCode *string `json:"ExtCode,omitempty" xml:"ExtCode,omitempty"`
	// 近1个月发送成功条数(只读)
	//
	// example:
	//
	// 69
	SendCount *int64 `json:"SendCount,omitempty" xml:"SendCount,omitempty"`
	// 签名
	//
	// example:
	//
	// 示例值示例值
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// 来源
	//
	// example:
	//
	// 示例值示例值示例值
	Source *string `json:"Source,omitempty" xml:"Source,omitempty"`
}

func (QueryExtCodeSignResponseBodyDataList) GoString added in v4.1.0

func (*QueryExtCodeSignResponseBodyDataList) SetActive added in v4.1.0

func (*QueryExtCodeSignResponseBodyDataList) SetExtCode added in v4.1.0

func (*QueryExtCodeSignResponseBodyDataList) SetSendCount added in v4.1.0

func (*QueryExtCodeSignResponseBodyDataList) SetSignName added in v4.1.0

func (*QueryExtCodeSignResponseBodyDataList) SetSource added in v4.1.0

func (QueryExtCodeSignResponseBodyDataList) String added in v4.1.0

type QueryMobilesCardSupportRequest

type QueryMobilesCardSupportRequest struct {
	// The list of mobile phone numbers.
	//
	// This parameter is required.
	Mobiles []map[string]interface{} `json:"Mobiles,omitempty" xml:"Mobiles,omitempty" type:"Repeated"`
	// 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.
	//
	// > Make sure that the message template has been approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// CARD_SMS_0000
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (QueryMobilesCardSupportRequest) GoString

func (*QueryMobilesCardSupportRequest) SetMobiles

func (s *QueryMobilesCardSupportRequest) SetMobiles(v []map[string]interface{}) *QueryMobilesCardSupportRequest

func (*QueryMobilesCardSupportRequest) SetTemplateCode

func (QueryMobilesCardSupportRequest) String

type QueryMobilesCardSupportResponse

type QueryMobilesCardSupportResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryMobilesCardSupportResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QueryMobilesCardSupportResponse) GoString

func (*QueryMobilesCardSupportResponse) SetHeaders

func (*QueryMobilesCardSupportResponse) SetStatusCode

func (QueryMobilesCardSupportResponse) String

type QueryMobilesCardSupportResponseBody

type QueryMobilesCardSupportResponseBody struct {
	// The HTTP status code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *QueryMobilesCardSupportResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// 08C17DFE-2E10-54F4-BAFB-7180039CC217
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (QueryMobilesCardSupportResponseBody) GoString

func (*QueryMobilesCardSupportResponseBody) SetCode

func (*QueryMobilesCardSupportResponseBody) SetRequestId

func (*QueryMobilesCardSupportResponseBody) SetSuccess

func (QueryMobilesCardSupportResponseBody) String

type QueryMobilesCardSupportResponseBodyData

type QueryMobilesCardSupportResponseBodyData struct {
	// The list of returned results.
	QueryResult []*QueryMobilesCardSupportResponseBodyDataQueryResult `json:"QueryResult,omitempty" xml:"QueryResult,omitempty" type:"Repeated"`
}

func (QueryMobilesCardSupportResponseBodyData) GoString

func (QueryMobilesCardSupportResponseBodyData) String

type QueryMobilesCardSupportResponseBodyDataQueryResult

type QueryMobilesCardSupportResponseBodyDataQueryResult struct {
	// The mobile phone number.
	//
	// example:
	//
	// 1380000****
	Mobile *string `json:"Mobile,omitempty" xml:"Mobile,omitempty"`
	// Indicates whether the mobile phone number supports card messages. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Support *bool `json:"Support,omitempty" xml:"Support,omitempty"`
}

func (QueryMobilesCardSupportResponseBodyDataQueryResult) GoString

func (*QueryMobilesCardSupportResponseBodyDataQueryResult) SetMobile

func (*QueryMobilesCardSupportResponseBodyDataQueryResult) SetSupport

func (QueryMobilesCardSupportResponseBodyDataQueryResult) String

type QueryMobilesCardSupportShrinkRequest

type QueryMobilesCardSupportShrinkRequest struct {
	// The list of mobile phone numbers.
	//
	// This parameter is required.
	MobilesShrink *string `json:"Mobiles,omitempty" xml:"Mobiles,omitempty"`
	// 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.
	//
	// > Make sure that the message template has been approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// CARD_SMS_0000
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (QueryMobilesCardSupportShrinkRequest) GoString

func (*QueryMobilesCardSupportShrinkRequest) SetMobilesShrink

func (*QueryMobilesCardSupportShrinkRequest) SetTemplateCode

func (QueryMobilesCardSupportShrinkRequest) String

type QueryPageSmartShortUrlLogRequest

type QueryPageSmartShortUrlLogRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 20181225
	CreateDateEnd *int64 `json:"CreateDateEnd,omitempty" xml:"CreateDateEnd,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 20181225
	CreateDateStart *int64 `json:"CreateDateStart,omitempty" xml:"CreateDateStart,omitempty"`
	OwnerId         *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 1
	PageNo *int64 `json:"PageNo,omitempty" xml:"PageNo,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// example:
	//
	// 1390000****
	PhoneNumber          *string `json:"PhoneNumber,omitempty" xml:"PhoneNumber,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// example:
	//
	// http://ays.cn/****
	ShortUrl *string `json:"ShortUrl,omitempty" xml:"ShortUrl,omitempty"`
}

func (QueryPageSmartShortUrlLogRequest) GoString

func (*QueryPageSmartShortUrlLogRequest) SetCreateDateEnd

func (*QueryPageSmartShortUrlLogRequest) SetCreateDateStart

func (*QueryPageSmartShortUrlLogRequest) SetOwnerId

func (*QueryPageSmartShortUrlLogRequest) SetPageNo

func (*QueryPageSmartShortUrlLogRequest) SetPageSize

func (*QueryPageSmartShortUrlLogRequest) SetPhoneNumber

func (*QueryPageSmartShortUrlLogRequest) SetResourceOwnerAccount

func (*QueryPageSmartShortUrlLogRequest) SetResourceOwnerId

func (*QueryPageSmartShortUrlLogRequest) SetShortUrl

func (QueryPageSmartShortUrlLogRequest) String

type QueryPageSmartShortUrlLogResponse

type QueryPageSmartShortUrlLogResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryPageSmartShortUrlLogResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QueryPageSmartShortUrlLogResponse) GoString

func (*QueryPageSmartShortUrlLogResponse) SetHeaders

func (*QueryPageSmartShortUrlLogResponse) SetStatusCode

func (QueryPageSmartShortUrlLogResponse) String

type QueryPageSmartShortUrlLogResponseBody

type QueryPageSmartShortUrlLogResponseBody struct {
	// example:
	//
	// 示例值示例值
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// 示例值示例值
	Message *string                                     `json:"Message,omitempty" xml:"Message,omitempty"`
	Model   *QueryPageSmartShortUrlLogResponseBodyModel `json:"Model,omitempty" xml:"Model,omitempty" type:"Struct"`
	// example:
	//
	// 示例值示例值
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (QueryPageSmartShortUrlLogResponseBody) GoString

func (*QueryPageSmartShortUrlLogResponseBody) SetCode

func (*QueryPageSmartShortUrlLogResponseBody) SetMessage

func (*QueryPageSmartShortUrlLogResponseBody) SetRequestId

func (*QueryPageSmartShortUrlLogResponseBody) SetSuccess

func (QueryPageSmartShortUrlLogResponseBody) String

type QueryPageSmartShortUrlLogResponseBodyModel

type QueryPageSmartShortUrlLogResponseBodyModel struct {
	List []*QueryPageSmartShortUrlLogResponseBodyModelList `json:"List,omitempty" xml:"List,omitempty" type:"Repeated"`
	// example:
	//
	// 74
	PageNo *int64 `json:"PageNo,omitempty" xml:"PageNo,omitempty"`
	// example:
	//
	// 15
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// example:
	//
	// 66
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
	// example:
	//
	// 86
	TotalPage *int64 `json:"TotalPage,omitempty" xml:"TotalPage,omitempty"`
}

func (QueryPageSmartShortUrlLogResponseBodyModel) GoString

func (*QueryPageSmartShortUrlLogResponseBodyModel) SetPageNo

func (*QueryPageSmartShortUrlLogResponseBodyModel) SetPageSize

func (*QueryPageSmartShortUrlLogResponseBodyModel) SetTotalCount

func (*QueryPageSmartShortUrlLogResponseBodyModel) SetTotalPage

func (QueryPageSmartShortUrlLogResponseBodyModel) String

type QueryPageSmartShortUrlLogResponseBodyModelList

type QueryPageSmartShortUrlLogResponseBodyModelList struct {
	// example:
	//
	// 87
	ClickState *int64 `json:"ClickState,omitempty" xml:"ClickState,omitempty"`
	// example:
	//
	// 51
	ClickTime *int64 `json:"ClickTime,omitempty" xml:"ClickTime,omitempty"`
	// example:
	//
	// 64
	CreateTime *int64 `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// example:
	//
	// 示例值示例值
	PhoneNumber *string `json:"PhoneNumber,omitempty" xml:"PhoneNumber,omitempty"`
	// example:
	//
	// 示例值示例值示例值
	ShortName *string `json:"ShortName,omitempty" xml:"ShortName,omitempty"`
	// example:
	//
	// 示例值示例值示例值
	ShortUrl *string `json:"ShortUrl,omitempty" xml:"ShortUrl,omitempty"`
}

func (QueryPageSmartShortUrlLogResponseBodyModelList) GoString

func (*QueryPageSmartShortUrlLogResponseBodyModelList) SetClickState

func (*QueryPageSmartShortUrlLogResponseBodyModelList) SetClickTime

func (*QueryPageSmartShortUrlLogResponseBodyModelList) SetCreateTime

func (*QueryPageSmartShortUrlLogResponseBodyModelList) SetPhoneNumber

func (*QueryPageSmartShortUrlLogResponseBodyModelList) SetShortName

func (*QueryPageSmartShortUrlLogResponseBodyModelList) SetShortUrl

func (QueryPageSmartShortUrlLogResponseBodyModelList) String

type QuerySendDetailsRequest

type QuerySendDetailsRequest struct {
	// The ID of the delivery receipt. The delivery receipt ID is the value of the BizId parameter that is returned when you call the SendSms or SendBatchSms operation.
	//
	// example:
	//
	// 134523^435****
	BizId *string `json:"BizId,omitempty" xml:"BizId,omitempty"`
	// The page number of the first page.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	CurrentPage *int64 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	OwnerId     *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of items displayed per page.
	//
	// Valid values: 1 to 50.
	//
	// This parameter is required.
	//
	// example:
	//
	// 10
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The mobile numbers of the recipients. Format:
	//
	// 	- If you send messages in the Chinese mainland, specify an 11-digit mobile number, for example, 1390000\\*\\*\\*\\*.
	//
	// 	- If you send messages to countries or regions outside the Chinese mainland, specify this parameter in the \\<Area code>\\<Mobile number> format. Example: 8520000\\*\\*\\*\\*.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1390000****
	PhoneNumber          *string `json:"PhoneNumber,omitempty" xml:"PhoneNumber,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The date when the message was sent. You can query messages that were sent within the last 30 days.
	//
	// Format: yyyyMMdd. Example: 20181225.
	//
	// This parameter is required.
	//
	// example:
	//
	// 20181228
	SendDate *string `json:"SendDate,omitempty" xml:"SendDate,omitempty"`
}

func (QuerySendDetailsRequest) GoString

func (s QuerySendDetailsRequest) GoString() string

func (*QuerySendDetailsRequest) SetBizId

func (*QuerySendDetailsRequest) SetCurrentPage

func (*QuerySendDetailsRequest) SetOwnerId

func (*QuerySendDetailsRequest) SetPageSize

func (*QuerySendDetailsRequest) SetPhoneNumber

func (*QuerySendDetailsRequest) SetResourceOwnerAccount

func (s *QuerySendDetailsRequest) SetResourceOwnerAccount(v string) *QuerySendDetailsRequest

func (*QuerySendDetailsRequest) SetResourceOwnerId

func (s *QuerySendDetailsRequest) SetResourceOwnerId(v int64) *QuerySendDetailsRequest

func (*QuerySendDetailsRequest) SetSendDate

func (QuerySendDetailsRequest) String

func (s QuerySendDetailsRequest) String() string

type QuerySendDetailsResponse

type QuerySendDetailsResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QuerySendDetailsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QuerySendDetailsResponse) GoString

func (s QuerySendDetailsResponse) GoString() string

func (*QuerySendDetailsResponse) SetBody

func (*QuerySendDetailsResponse) SetHeaders

func (*QuerySendDetailsResponse) SetStatusCode

func (QuerySendDetailsResponse) String

func (s QuerySendDetailsResponse) String() string

type QuerySendDetailsResponseBody

type QuerySendDetailsResponseBody struct {
	// The response code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 819BE656-D2E0-4858-8B21-B2E477085AAF
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The details of the message.
	SmsSendDetailDTOs *QuerySendDetailsResponseBodySmsSendDetailDTOs `json:"SmsSendDetailDTOs,omitempty" xml:"SmsSendDetailDTOs,omitempty" type:"Struct"`
	// The number of sent messages.
	//
	// example:
	//
	// 1
	TotalCount *string `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (QuerySendDetailsResponseBody) GoString

func (s QuerySendDetailsResponseBody) GoString() string

func (*QuerySendDetailsResponseBody) SetCode

func (*QuerySendDetailsResponseBody) SetMessage

func (*QuerySendDetailsResponseBody) SetRequestId

func (*QuerySendDetailsResponseBody) SetTotalCount

func (QuerySendDetailsResponseBody) String

type QuerySendDetailsResponseBodySmsSendDetailDTOs

type QuerySendDetailsResponseBodySmsSendDetailDTOs struct {
	SmsSendDetailDTO []*QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO `json:"SmsSendDetailDTO,omitempty" xml:"SmsSendDetailDTO,omitempty" type:"Repeated"`
}

func (QuerySendDetailsResponseBodySmsSendDetailDTOs) GoString

func (QuerySendDetailsResponseBodySmsSendDetailDTOs) String

type QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO

type QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO struct {
	// The content of the message.
	//
	// example:
	//
	// 【Aliyun】This is a test message.
	Content *string `json:"Content,omitempty" xml:"Content,omitempty"`
	// The status code returned by the carrier.
	//
	// 	- If the message is delivered, "DELIVERED" is returned.
	//
	// 	- For information about the error codes that may be returned if the message is not delivered, see [error codes](https://help.aliyun.com/document_detail/101347.html).
	//
	// example:
	//
	// DELIVERED
	ErrCode *string `json:"ErrCode,omitempty" xml:"ErrCode,omitempty"`
	// The extended field.
	//
	// example:
	//
	// 123
	OutId *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	// The mobile numbers of the recipients.
	//
	// example:
	//
	// 1390000****
	PhoneNum *string `json:"PhoneNum,omitempty" xml:"PhoneNum,omitempty"`
	// The date and time when the message was received.
	//
	// example:
	//
	// 2019-01-08 16:44:13
	ReceiveDate *string `json:"ReceiveDate,omitempty" xml:"ReceiveDate,omitempty"`
	// The date and time when the message was sent.
	//
	// example:
	//
	// 2019-01-08 16:44:10
	SendDate *string `json:"SendDate,omitempty" xml:"SendDate,omitempty"`
	// The delivery status of the message. Valid values:
	//
	// 	- **1**: The message has not received a delivery receipt yet.
	//
	// 	- **2**: The message failed to be delivered.
	//
	// 	- **3**: The message was delivered.
	//
	// example:
	//
	// 3
	SendStatus *int64 `json:"SendStatus,omitempty" xml:"SendStatus,omitempty"`
	// The ID of the message template.
	//
	// example:
	//
	// SMS_12231****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO) GoString

func (*QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO) SetContent

func (*QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO) SetErrCode

func (*QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO) SetOutId

func (*QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO) SetPhoneNum

func (*QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO) SetReceiveDate

func (*QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO) SetSendDate

func (*QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO) SetSendStatus

func (*QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO) SetTemplateCode

func (QuerySendDetailsResponseBodySmsSendDetailDTOsSmsSendDetailDTO) String

type QuerySendStatisticsRequest

type QuerySendStatisticsRequest struct {
	// The end of the time range to query. Format: yyyyMMdd. Example: 20181225.
	//
	// This parameter is required.
	//
	// example:
	//
	// 20201003
	EndDate *string `json:"EndDate,omitempty" xml:"EndDate,omitempty"`
	// The site from where the message is sent. Valid values:
	//
	// 	- **1**: China site
	//
	// 	- **2**: international site
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	IsGlobe *int32 `json:"IsGlobe,omitempty" xml:"IsGlobe,omitempty"`
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Default value: **1**.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	PageIndex *int32 `json:"PageIndex,omitempty" xml:"PageIndex,omitempty"`
	// The number of entries to return on each page. Valid values: **1 to 50**.
	//
	// This parameter is required.
	//
	// example:
	//
	// 10
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The signature.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// The beginning of the time range to query. Format: yyyyMMdd. Example: 20181225.
	//
	// This parameter is required.
	//
	// example:
	//
	// 20201002
	StartDate *string `json:"StartDate,omitempty" xml:"StartDate,omitempty"`
	// The type of the message template. Valid values: Valid values:
	//
	// 	- **0**: verification code
	//
	// 	- **1**: notification
	//
	// 	- **2**: promotional message (Enterprise users only)
	//
	// 	- **3**: international purpose (Enterprise users only)
	//
	// 	- **7**: digital message
	//
	// example:
	//
	// 0
	TemplateType *int32 `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (QuerySendStatisticsRequest) GoString

func (s QuerySendStatisticsRequest) GoString() string

func (*QuerySendStatisticsRequest) SetEndDate

func (*QuerySendStatisticsRequest) SetIsGlobe

func (*QuerySendStatisticsRequest) SetOwnerId

func (*QuerySendStatisticsRequest) SetPageIndex

func (*QuerySendStatisticsRequest) SetPageSize

func (*QuerySendStatisticsRequest) SetResourceOwnerAccount

func (s *QuerySendStatisticsRequest) SetResourceOwnerAccount(v string) *QuerySendStatisticsRequest

func (*QuerySendStatisticsRequest) SetResourceOwnerId

func (*QuerySendStatisticsRequest) SetSignName

func (*QuerySendStatisticsRequest) SetStartDate

func (*QuerySendStatisticsRequest) SetTemplateType

func (QuerySendStatisticsRequest) String

type QuerySendStatisticsResponse

type QuerySendStatisticsResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QuerySendStatisticsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QuerySendStatisticsResponse) GoString

func (s QuerySendStatisticsResponse) GoString() string

func (*QuerySendStatisticsResponse) SetBody

func (*QuerySendStatisticsResponse) SetHeaders

func (*QuerySendStatisticsResponse) SetStatusCode

func (QuerySendStatisticsResponse) String

type QuerySendStatisticsResponseBody

type QuerySendStatisticsResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *QuerySendStatisticsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 819BE656-D2E0-4858-8B21-B2E47708****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (QuerySendStatisticsResponseBody) GoString

func (*QuerySendStatisticsResponseBody) SetCode

func (*QuerySendStatisticsResponseBody) SetMessage

func (*QuerySendStatisticsResponseBody) SetRequestId

func (QuerySendStatisticsResponseBody) String

type QuerySendStatisticsResponseBodyData

type QuerySendStatisticsResponseBodyData struct {
	// The details of the data returned.
	TargetList []*QuerySendStatisticsResponseBodyDataTargetList `json:"TargetList,omitempty" xml:"TargetList,omitempty" type:"Repeated"`
	// The total number of entries returned.
	//
	// example:
	//
	// 20
	TotalSize *int64 `json:"TotalSize,omitempty" xml:"TotalSize,omitempty"`
}

func (QuerySendStatisticsResponseBodyData) GoString

func (*QuerySendStatisticsResponseBodyData) SetTotalSize

func (QuerySendStatisticsResponseBodyData) String

type QuerySendStatisticsResponseBodyDataTargetList

type QuerySendStatisticsResponseBodyDataTargetList struct {
	// The number of messages without a delivery receipt.
	//
	// example:
	//
	// 1
	NoRespondedCount *int64 `json:"NoRespondedCount,omitempty" xml:"NoRespondedCount,omitempty"`
	// The number of messages with a delivery receipt that indicates a failure.
	//
	// example:
	//
	// 2
	RespondedFailCount *int64 `json:"RespondedFailCount,omitempty" xml:"RespondedFailCount,omitempty"`
	// The number of messages with a delivery receipt that indicates a success.
	//
	// example:
	//
	// 17
	RespondedSuccessCount *int64 `json:"RespondedSuccessCount,omitempty" xml:"RespondedSuccessCount,omitempty"`
	// The date when the message is sent. Format: yyyyMMdd. Example: 20181225.
	//
	// example:
	//
	// 20201010
	SendDate *string `json:"SendDate,omitempty" xml:"SendDate,omitempty"`
	// The number of delivered messages.
	//
	// example:
	//
	// 20
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (QuerySendStatisticsResponseBodyDataTargetList) GoString

func (*QuerySendStatisticsResponseBodyDataTargetList) SetNoRespondedCount

func (*QuerySendStatisticsResponseBodyDataTargetList) SetRespondedFailCount

func (*QuerySendStatisticsResponseBodyDataTargetList) SetRespondedSuccessCount

func (*QuerySendStatisticsResponseBodyDataTargetList) SetSendDate

func (*QuerySendStatisticsResponseBodyDataTargetList) SetTotalCount

func (QuerySendStatisticsResponseBodyDataTargetList) String

type QueryShortUrlRequest

type QueryShortUrlRequest struct {
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The short URL. You can query the short URL by calling the [AddShortUrl](https://help.aliyun.com/document_detail/186774.html) operation.
	//
	// This parameter is required.
	//
	// example:
	//
	// http://****.cn/6y8uy7
	ShortUrl *string `json:"ShortUrl,omitempty" xml:"ShortUrl,omitempty"`
}

func (QueryShortUrlRequest) GoString

func (s QueryShortUrlRequest) GoString() string

func (*QueryShortUrlRequest) SetOwnerId

func (*QueryShortUrlRequest) SetResourceOwnerAccount

func (s *QueryShortUrlRequest) SetResourceOwnerAccount(v string) *QueryShortUrlRequest

func (*QueryShortUrlRequest) SetResourceOwnerId

func (s *QueryShortUrlRequest) SetResourceOwnerId(v int64) *QueryShortUrlRequest

func (*QueryShortUrlRequest) SetShortUrl

func (QueryShortUrlRequest) String

func (s QueryShortUrlRequest) String() string

type QueryShortUrlResponse

type QueryShortUrlResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QueryShortUrlResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QueryShortUrlResponse) GoString

func (s QueryShortUrlResponse) GoString() string

func (*QueryShortUrlResponse) SetBody

func (*QueryShortUrlResponse) SetHeaders

func (*QueryShortUrlResponse) SetStatusCode

func (s *QueryShortUrlResponse) SetStatusCode(v int32) *QueryShortUrlResponse

func (QueryShortUrlResponse) String

func (s QueryShortUrlResponse) String() string

type QueryShortUrlResponseBody

type QueryShortUrlResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The details of the short URL.
	Data *QueryShortUrlResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 819BE656-D2E0-4858-8B21-B2E477085AAF
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (QueryShortUrlResponseBody) GoString

func (s QueryShortUrlResponseBody) GoString() string

func (*QueryShortUrlResponseBody) SetCode

func (*QueryShortUrlResponseBody) SetData

func (*QueryShortUrlResponseBody) SetMessage

func (*QueryShortUrlResponseBody) SetRequestId

func (QueryShortUrlResponseBody) String

func (s QueryShortUrlResponseBody) String() string

type QueryShortUrlResponseBodyData

type QueryShortUrlResponseBodyData struct {
	// The time when the short URL was created.
	//
	// example:
	//
	// 2019-01-08 16:44:13
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The time when the short URL expires.
	//
	// example:
	//
	// 2019-01-22 11:21:11
	ExpireDate *string `json:"ExpireDate,omitempty" xml:"ExpireDate,omitempty"`
	// The PV.
	//
	// example:
	//
	// 300
	PageViewCount *string `json:"PageViewCount,omitempty" xml:"PageViewCount,omitempty"`
	// The short URL.
	//
	// example:
	//
	// http://****.cn/6y8uy7
	ShortUrl *string `json:"ShortUrl,omitempty" xml:"ShortUrl,omitempty"`
	// The service name of the short URL.
	//
	// example:
	//
	// The Alibaba Cloud Short Link service.
	ShortUrlName *string `json:"ShortUrlName,omitempty" xml:"ShortUrlName,omitempty"`
	// The status of the short URL. Valid values:
	//
	// 	- **expired**
	//
	// 	- **effective**
	//
	// 	- **audit**
	//
	// 	- **reject**
	//
	// example:
	//
	// expired
	ShortUrlStatus *string `json:"ShortUrlStatus,omitempty" xml:"ShortUrlStatus,omitempty"`
	// The source address.
	//
	// example:
	//
	// https://www.****.com/product/sms
	SourceUrl *string `json:"SourceUrl,omitempty" xml:"SourceUrl,omitempty"`
	// The UV.
	//
	// example:
	//
	// 23
	UniqueVisitorCount *string `json:"UniqueVisitorCount,omitempty" xml:"UniqueVisitorCount,omitempty"`
}

func (QueryShortUrlResponseBodyData) GoString

func (*QueryShortUrlResponseBodyData) SetCreateDate

func (*QueryShortUrlResponseBodyData) SetExpireDate

func (*QueryShortUrlResponseBodyData) SetPageViewCount

func (*QueryShortUrlResponseBodyData) SetShortUrl

func (*QueryShortUrlResponseBodyData) SetShortUrlName

func (*QueryShortUrlResponseBodyData) SetShortUrlStatus

func (*QueryShortUrlResponseBodyData) SetSourceUrl

func (*QueryShortUrlResponseBodyData) SetUniqueVisitorCount

func (QueryShortUrlResponseBodyData) String

type QuerySmsSignListRequest

type QuerySmsSignListRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageIndex *int32 `json:"PageIndex,omitempty" xml:"PageIndex,omitempty"`
	// The number of signatures per page. Valid values: **1 to 50**.
	//
	// example:
	//
	// 10
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (QuerySmsSignListRequest) GoString

func (s QuerySmsSignListRequest) GoString() string

func (*QuerySmsSignListRequest) SetOwnerId

func (*QuerySmsSignListRequest) SetPageIndex

func (*QuerySmsSignListRequest) SetPageSize

func (*QuerySmsSignListRequest) SetResourceOwnerAccount

func (s *QuerySmsSignListRequest) SetResourceOwnerAccount(v string) *QuerySmsSignListRequest

func (*QuerySmsSignListRequest) SetResourceOwnerId

func (s *QuerySmsSignListRequest) SetResourceOwnerId(v int64) *QuerySmsSignListRequest

func (QuerySmsSignListRequest) String

func (s QuerySmsSignListRequest) String() string

type QuerySmsSignListResponse

type QuerySmsSignListResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QuerySmsSignListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QuerySmsSignListResponse) GoString

func (s QuerySmsSignListResponse) GoString() string

func (*QuerySmsSignListResponse) SetBody

func (*QuerySmsSignListResponse) SetHeaders

func (*QuerySmsSignListResponse) SetStatusCode

func (QuerySmsSignListResponse) String

func (s QuerySmsSignListResponse) String() string

type QuerySmsSignListResponseBody

type QuerySmsSignListResponseBody struct {
	// The HTTP status code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The number of signatures per page. Valid values: **1 to 50**.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 819BE656-D2E0-4858-8B21-B2E47708****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The queried message signatures.
	SmsSignList []*QuerySmsSignListResponseBodySmsSignList `json:"SmsSignList,omitempty" xml:"SmsSignList,omitempty" type:"Repeated"`
	// The total number of signatures.
	//
	// example:
	//
	// 100
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (QuerySmsSignListResponseBody) GoString

func (s QuerySmsSignListResponseBody) GoString() string

func (*QuerySmsSignListResponseBody) SetCode

func (*QuerySmsSignListResponseBody) SetCurrentPage

func (*QuerySmsSignListResponseBody) SetMessage

func (*QuerySmsSignListResponseBody) SetPageSize

func (*QuerySmsSignListResponseBody) SetRequestId

func (*QuerySmsSignListResponseBody) SetSmsSignList

func (*QuerySmsSignListResponseBody) SetTotalCount

func (QuerySmsSignListResponseBody) String

type QuerySmsSignListResponseBodySmsSignList

type QuerySmsSignListResponseBodySmsSignList struct {
	// The approval status of the signature. Valid values:
	//
	// 	- **AUDIT_STATE_INIT**: The signature is pending approval.
	//
	// 	- **AUDIT_STATE_PASS**: The signature is approved.
	//
	// 	- **AUDIT_STATE_NOT_PASS**: The signature is rejected. You can view the reason in the Reason response parameter.
	//
	// 	- **AUDIT_STATE_CANCEL**: The approval is canceled.
	//
	// example:
	//
	// AUDIT_STATE_NOT_PASS
	AuditStatus *string `json:"AuditStatus,omitempty" xml:"AuditStatus,omitempty"`
	// The type of the signature scenario. The return value ends with "type". Valid values:
	//
	// 	- Verification code type
	//
	// 	- General-purpose type
	//
	// example:
	//
	// Verification code type
	BusinessType *string `json:"BusinessType,omitempty" xml:"BusinessType,omitempty"`
	// The time when the signature was created. Format: yyyy-MM-dd HH:mm:ss.
	//
	// example:
	//
	// 2020-01-08 16:44:13
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The ticket ID.
	//
	// example:
	//
	// 236****5
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The approval remarks.
	//
	// 	- If the value of AuditStatus is **AUDIT_STATE_PASS*	- or **AUDIT_STATE_INIT**, the value of Reason is No Approval Remarks.
	//
	// 	- If the value of AuditStatus is **AUDIT_STATE_NOT_PASS**, the reason why the signature is rejected is returned.
	Reason *QuerySmsSignListResponseBodySmsSignListReason `json:"Reason,omitempty" xml:"Reason,omitempty" type:"Struct"`
	// The name of the signature.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (QuerySmsSignListResponseBodySmsSignList) GoString

func (*QuerySmsSignListResponseBodySmsSignList) SetAuditStatus

func (*QuerySmsSignListResponseBodySmsSignList) SetBusinessType

func (*QuerySmsSignListResponseBodySmsSignList) SetCreateDate

func (*QuerySmsSignListResponseBodySmsSignList) SetOrderId

func (*QuerySmsSignListResponseBodySmsSignList) SetSignName

func (QuerySmsSignListResponseBodySmsSignList) String

type QuerySmsSignListResponseBodySmsSignListReason

type QuerySmsSignListResponseBodySmsSignListReason struct {
	// The time when the signature was rejected. Format: yyyy-MM-dd HH:mm:ss.
	//
	// example:
	//
	// 2020-01-08 19:02:13
	RejectDate *string `json:"RejectDate,omitempty" xml:"RejectDate,omitempty"`
	// The reason why the signature was rejected.
	//
	// example:
	//
	// The document cannot verify the authenticity of the information. Please upload it again.
	RejectInfo *string `json:"RejectInfo,omitempty" xml:"RejectInfo,omitempty"`
	// The remarks about the rejection.
	//
	// example:
	//
	// The document cannot verify the authenticity of the information. Please upload it again.
	RejectSubInfo *string `json:"RejectSubInfo,omitempty" xml:"RejectSubInfo,omitempty"`
}

func (QuerySmsSignListResponseBodySmsSignListReason) GoString

func (*QuerySmsSignListResponseBodySmsSignListReason) SetRejectDate

func (*QuerySmsSignListResponseBodySmsSignListReason) SetRejectInfo

func (*QuerySmsSignListResponseBodySmsSignListReason) SetRejectSubInfo

func (QuerySmsSignListResponseBodySmsSignListReason) String

type QuerySmsSignRequest

type QuerySmsSignRequest struct {
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The signature.
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (QuerySmsSignRequest) GoString

func (s QuerySmsSignRequest) GoString() string

func (*QuerySmsSignRequest) SetOwnerId

func (s *QuerySmsSignRequest) SetOwnerId(v int64) *QuerySmsSignRequest

func (*QuerySmsSignRequest) SetResourceOwnerAccount

func (s *QuerySmsSignRequest) SetResourceOwnerAccount(v string) *QuerySmsSignRequest

func (*QuerySmsSignRequest) SetResourceOwnerId

func (s *QuerySmsSignRequest) SetResourceOwnerId(v int64) *QuerySmsSignRequest

func (*QuerySmsSignRequest) SetSignName

func (s *QuerySmsSignRequest) SetSignName(v string) *QuerySmsSignRequest

func (QuerySmsSignRequest) String

func (s QuerySmsSignRequest) String() string

type QuerySmsSignResponse

type QuerySmsSignResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QuerySmsSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QuerySmsSignResponse) GoString

func (s QuerySmsSignResponse) GoString() string

func (*QuerySmsSignResponse) SetBody

func (*QuerySmsSignResponse) SetHeaders

func (s *QuerySmsSignResponse) SetHeaders(v map[string]*string) *QuerySmsSignResponse

func (*QuerySmsSignResponse) SetStatusCode

func (s *QuerySmsSignResponse) SetStatusCode(v int32) *QuerySmsSignResponse

func (QuerySmsSignResponse) String

func (s QuerySmsSignResponse) String() string

type QuerySmsSignResponseBody

type QuerySmsSignResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The date and time when the signature was created.
	//
	// example:
	//
	// 2019-01-08 16:44:13
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The remarks of the review. Valid values:
	//
	// 	- If the signature is in the **Approved*	- or **Pending Approval*	- state, No Remarks is returned.
	//
	// 	- If the signature is in the **Not Approved*	- state, the reason why the signature is rejected is returned.
	//
	// example:
	//
	// The document cannot verify the authenticity of the information. Please upload it again.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// The request ID.
	//
	// example:
	//
	// CC89A90C-978F-46AC-B80D-54738371E7CA
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The signature.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// The status of the signature. Valid values:
	//
	// 	- **0**: The signature is pending approval.
	//
	// 	- **1**: The signature is approved.
	//
	// 	- **2**: The signature is rejected. The Reason parameter indicates the reason why the signature is rejected.
	//
	// 	- **10**: The signature is cancelled.
	//
	// example:
	//
	// 1
	SignStatus *int32 `json:"SignStatus,omitempty" xml:"SignStatus,omitempty"`
}

func (QuerySmsSignResponseBody) GoString

func (s QuerySmsSignResponseBody) GoString() string

func (*QuerySmsSignResponseBody) SetCode

func (*QuerySmsSignResponseBody) SetCreateDate

func (*QuerySmsSignResponseBody) SetMessage

func (*QuerySmsSignResponseBody) SetReason

func (*QuerySmsSignResponseBody) SetRequestId

func (*QuerySmsSignResponseBody) SetSignName

func (*QuerySmsSignResponseBody) SetSignStatus

func (QuerySmsSignResponseBody) String

func (s QuerySmsSignResponseBody) String() string

type QuerySmsTemplateListRequest

type QuerySmsTemplateListRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	PageIndex *int32 `json:"PageIndex,omitempty" xml:"PageIndex,omitempty"`
	// The number of templates per page. Valid values: **1 to 50**.
	//
	// example:
	//
	// 10
	PageSize             *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (QuerySmsTemplateListRequest) GoString

func (s QuerySmsTemplateListRequest) GoString() string

func (*QuerySmsTemplateListRequest) SetOwnerId

func (*QuerySmsTemplateListRequest) SetPageIndex

func (*QuerySmsTemplateListRequest) SetPageSize

func (*QuerySmsTemplateListRequest) SetResourceOwnerAccount

func (s *QuerySmsTemplateListRequest) SetResourceOwnerAccount(v string) *QuerySmsTemplateListRequest

func (*QuerySmsTemplateListRequest) SetResourceOwnerId

func (QuerySmsTemplateListRequest) String

type QuerySmsTemplateListResponse

type QuerySmsTemplateListResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QuerySmsTemplateListResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QuerySmsTemplateListResponse) GoString

func (s QuerySmsTemplateListResponse) GoString() string

func (*QuerySmsTemplateListResponse) SetBody

func (*QuerySmsTemplateListResponse) SetHeaders

func (*QuerySmsTemplateListResponse) SetStatusCode

func (QuerySmsTemplateListResponse) String

type QuerySmsTemplateListResponseBody

type QuerySmsTemplateListResponseBody struct {
	// The HTTP status code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The page number. Default value: **1**.
	//
	// example:
	//
	// 1
	CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The number of templates per page. Valid values: **1 to 50**.
	//
	// example:
	//
	// 10
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 819BE656-D2E0-4858-8B21-B2E47708****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The queried message templates.
	SmsTemplateList []*QuerySmsTemplateListResponseBodySmsTemplateList `json:"SmsTemplateList,omitempty" xml:"SmsTemplateList,omitempty" type:"Repeated"`
	// The total number of templates.
	//
	// example:
	//
	// 100
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (QuerySmsTemplateListResponseBody) GoString

func (*QuerySmsTemplateListResponseBody) SetCode

func (*QuerySmsTemplateListResponseBody) SetCurrentPage

func (*QuerySmsTemplateListResponseBody) SetMessage

func (*QuerySmsTemplateListResponseBody) SetPageSize

func (*QuerySmsTemplateListResponseBody) SetRequestId

func (*QuerySmsTemplateListResponseBody) SetTotalCount

func (QuerySmsTemplateListResponseBody) String

type QuerySmsTemplateListResponseBodySmsTemplateList

type QuerySmsTemplateListResponseBodySmsTemplateList struct {
	// The approval status of the message template. Valid values:
	//
	// 	- **AUDIT_STATE_INIT**: The message template is pending approval.
	//
	// 	- **AUDIT_STATE_PASS**: The message template is approved.
	//
	// 	- **AUDIT_STATE_NOT_PASS**: The message template is rejected. You can view the reason in the Reason response parameter.
	//
	// 	- **AUDIT_STATE_CANCEL*	- or **AUDIT_SATE_CANCEL**: The approval is canceled.
	//
	// example:
	//
	// AUDIT_STATE_PASS
	AuditStatus *string `json:"AuditStatus,omitempty" xml:"AuditStatus,omitempty"`
	// The time when the message template was created. The time is in the yyyy-MM-dd HH:mm:ss format.
	//
	// example:
	//
	// 2020-06-04 11:42:17
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The ticket ID.
	//
	// example:
	//
	// 2361****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The type of the message template. We recommend that you specify this parameter. Valid values:
	//
	// 	- **0**: verification code
	//
	// 	- **1**: notification message
	//
	// 	- **2**: promotional message
	//
	// 	- **3**: message sent to countries or regions outside the Chinese mainland
	//
	// 	- **7**: digital message
	//
	// > The template type is the same as the value of the TemplateType parameter in the AddSmsTemplate and ModifySmsTemplate operations.
	//
	// example:
	//
	// 0
	OuterTemplateType *int32 `json:"OuterTemplateType,omitempty" xml:"OuterTemplateType,omitempty"`
	// The approval remarks.
	//
	// 	- If the value of AuditStatus is **AUDIT_STATE_PASS*	- or **AUDIT_STATE_INIT**, the value of Reason is No Approval Remarks.
	//
	// 	- If the value of AuditStatus is **AUDIT_STATE_NOT_PASS**, the reason why the message template is rejected is returned.
	Reason *QuerySmsTemplateListResponseBodySmsTemplateListReason `json:"Reason,omitempty" xml:"Reason,omitempty" type:"Struct"`
	// The code of the message template.
	//
	// You can log on to the [Short Message Service (SMS) console](https://dysms.console.aliyun.com/dysms.htm), click **Go China*	- or **Go Globe*	- in the left-side navigation pane, and then view the template code on the **Templates*	- tab. You can also call the [AddSmsTemplate](https://help.aliyun.com/document_detail/121208.html) operation to obtain the template code.
	//
	// example:
	//
	// SMS_1525***
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// The content of the message template.
	//
	// example:
	//
	// 123456789
	TemplateContent *string `json:"TemplateContent,omitempty" xml:"TemplateContent,omitempty"`
	// The name of the message template.
	//
	// example:
	//
	// aliyun verification code
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The type of the message template. Valid values:
	//
	// 	- **0**: notification message
	//
	// 	- **1**: promotional message
	//
	// 	- **2**: verification code
	//
	// 	- **6**: message sent to countries or regions outside the Chinese mainland
	//
	// 	- **7**: digital message
	//
	// example:
	//
	// 7
	TemplateType *int32 `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (QuerySmsTemplateListResponseBodySmsTemplateList) GoString

func (*QuerySmsTemplateListResponseBodySmsTemplateList) SetAuditStatus

func (*QuerySmsTemplateListResponseBodySmsTemplateList) SetCreateDate

func (*QuerySmsTemplateListResponseBodySmsTemplateList) SetOrderId

func (*QuerySmsTemplateListResponseBodySmsTemplateList) SetOuterTemplateType

func (*QuerySmsTemplateListResponseBodySmsTemplateList) SetTemplateCode

func (*QuerySmsTemplateListResponseBodySmsTemplateList) SetTemplateContent

func (*QuerySmsTemplateListResponseBodySmsTemplateList) SetTemplateName

func (*QuerySmsTemplateListResponseBodySmsTemplateList) SetTemplateType

func (QuerySmsTemplateListResponseBodySmsTemplateList) String

type QuerySmsTemplateListResponseBodySmsTemplateListReason

type QuerySmsTemplateListResponseBodySmsTemplateListReason struct {
	// The time when the message template was rejected. Format: yyyy-MM-dd HH:mm:ss.
	//
	// example:
	//
	// 2020-06-04 16:01:17
	RejectDate *string `json:"RejectDate,omitempty" xml:"RejectDate,omitempty"`
	// The reason why the message template was rejected.
	//
	// example:
	//
	// The document cannot verify the authenticity of the information. Please upload it again.
	RejectInfo *string `json:"RejectInfo,omitempty" xml:"RejectInfo,omitempty"`
	// The remarks about the rejection.
	//
	// example:
	//
	// The document cannot verify the authenticity of the information. Please upload it again.
	RejectSubInfo *string `json:"RejectSubInfo,omitempty" xml:"RejectSubInfo,omitempty"`
}

func (QuerySmsTemplateListResponseBodySmsTemplateListReason) GoString

func (*QuerySmsTemplateListResponseBodySmsTemplateListReason) SetRejectDate

func (*QuerySmsTemplateListResponseBodySmsTemplateListReason) SetRejectInfo

func (*QuerySmsTemplateListResponseBodySmsTemplateListReason) SetRejectSubInfo

func (QuerySmsTemplateListResponseBodySmsTemplateListReason) String

type QuerySmsTemplateRequest

type QuerySmsTemplateRequest struct {
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The code of the message template.
	//
	// You can log on to the [Short Message Service (SMS) console](https://dysms.console.aliyun.com/dysms.htm), click **Go China*	- or **Go Globe*	- in the left-side navigation pane, and then view the template code on the **Templates*	- tab. You can also call the [AddSmsTemplate](https://help.aliyun.com/document_detail/121208.html) operation to obtain the template code.
	//
	// This parameter is required.
	//
	// example:
	//
	// SMS_1525***
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (QuerySmsTemplateRequest) GoString

func (s QuerySmsTemplateRequest) GoString() string

func (*QuerySmsTemplateRequest) SetOwnerId

func (*QuerySmsTemplateRequest) SetResourceOwnerAccount

func (s *QuerySmsTemplateRequest) SetResourceOwnerAccount(v string) *QuerySmsTemplateRequest

func (*QuerySmsTemplateRequest) SetResourceOwnerId

func (s *QuerySmsTemplateRequest) SetResourceOwnerId(v int64) *QuerySmsTemplateRequest

func (*QuerySmsTemplateRequest) SetTemplateCode

func (QuerySmsTemplateRequest) String

func (s QuerySmsTemplateRequest) String() string

type QuerySmsTemplateResponse

type QuerySmsTemplateResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *QuerySmsTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (QuerySmsTemplateResponse) GoString

func (s QuerySmsTemplateResponse) GoString() string

func (*QuerySmsTemplateResponse) SetBody

func (*QuerySmsTemplateResponse) SetHeaders

func (*QuerySmsTemplateResponse) SetStatusCode

func (QuerySmsTemplateResponse) String

func (s QuerySmsTemplateResponse) String() string

type QuerySmsTemplateResponseBody

type QuerySmsTemplateResponseBody struct {
	// The HTTP status code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The time when the message template was created.
	//
	// example:
	//
	// 2019-06-04 11:42:17
	CreateDate *string `json:"CreateDate,omitempty" xml:"CreateDate,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The approval remarks.
	//
	// 	- If the value of AuditStatus is **AUDIT_STATE_PASS*	- or **AUDIT_STATE_INIT**, the value of Reason is No Approval Remarks.
	//
	// 	- If the value of AuditStatus is **AUDIT_STATE_NOT_PASS**, the reason why the message template is rejected is returned.
	//
	// example:
	//
	// The document cannot verify the authenticity of the information. Please upload it again.
	Reason *string `json:"Reason,omitempty" xml:"Reason,omitempty"`
	// The request ID.
	//
	// example:
	//
	// 0A974B78-02BF-4C79-ADF3-90CFBA1B55B1
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The code of the message template.
	//
	// example:
	//
	// SMS_16703****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// The content of the message template.
	//
	// example:
	//
	// You are applying for mobile registration. The verification code is: ${code}, valid for 5 minutes!
	TemplateContent *string `json:"TemplateContent,omitempty" xml:"TemplateContent,omitempty"`
	// The name of the message template.
	//
	// example:
	//
	// aliyun verification code
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// The approval status of the message template. Valid values:
	//
	// 	- **0**: The message template is pending approval.
	//
	// 	- **1**: The message template is approved.
	//
	// 	- **AUDIT_STATE_NOT_PASS**: The message template is rejected. You can view the reason in the Reason response parameter.
	//
	// 	- **10**: The approval is canceled.
	//
	// example:
	//
	// 1
	TemplateStatus *int32 `json:"TemplateStatus,omitempty" xml:"TemplateStatus,omitempty"`
	// The type of the message. Valid values:
	//
	// 	- **0**: verification code
	//
	// 	- **1**: notification message
	//
	// 	- **2**: promotional message
	//
	// 	- **3**: message sent to countries or regions outside the Chinese mainland
	//
	// example:
	//
	// 1
	TemplateType *int32 `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (QuerySmsTemplateResponseBody) GoString

func (s QuerySmsTemplateResponseBody) GoString() string

func (*QuerySmsTemplateResponseBody) SetCode

func (*QuerySmsTemplateResponseBody) SetCreateDate

func (*QuerySmsTemplateResponseBody) SetMessage

func (*QuerySmsTemplateResponseBody) SetReason

func (*QuerySmsTemplateResponseBody) SetRequestId

func (*QuerySmsTemplateResponseBody) SetTemplateCode

func (*QuerySmsTemplateResponseBody) SetTemplateContent

func (*QuerySmsTemplateResponseBody) SetTemplateName

func (*QuerySmsTemplateResponseBody) SetTemplateStatus

func (*QuerySmsTemplateResponseBody) SetTemplateType

func (QuerySmsTemplateResponseBody) String

type SendBatchCardSmsRequest

type SendBatchCardSmsRequest struct {
	// 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.
	//
	// > Make sure that the message template has been approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// CARD_SMS_3245
	CardTemplateCode *string `json:"CardTemplateCode,omitempty" xml:"CardTemplateCode,omitempty"`
	// The variables of the card message template.
	//
	// example:
	//
	// [{\\"customurl\\":\\"http://www.alibaba.com\\",\\"dyncParams\\":\\"{\\\\\\"a\\\\\\":\\\\\\"hello\\\\\\",\\\\\\"b\\\\\\":\\\\\\"world\\\\\\"}\\"}]
	CardTemplateParamJson *string `json:"CardTemplateParamJson,omitempty" xml:"CardTemplateParamJson,omitempty"`
	// The code of the digital message template that applies when the card message is rolled back. 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.
	//
	// > Make sure that the message template has been approved.
	//
	// example:
	//
	// DIGITAL_SMS_234080176
	DigitalTemplateCode *string `json:"DigitalTemplateCode,omitempty" xml:"DigitalTemplateCode,omitempty"`
	// The variables of the digital message template.
	//
	// example:
	//
	// [{"a":1,"b":2},{"a":9,"b":8}]
	DigitalTemplateParamJson *string `json:"DigitalTemplateParamJson,omitempty" xml:"DigitalTemplateParamJson,omitempty"`
	// The rollback type. Valid values:
	//
	// 	- **SMS**: text message
	//
	// 	- **DIGITALSMS**: digital message
	//
	// 	- **NONE**: none
	//
	// This parameter is required.
	//
	// example:
	//
	// SMS
	FallbackType *string `json:"FallbackType,omitempty" xml:"FallbackType,omitempty"`
	// The ID that is reserved for the caller of the operation.
	//
	// example:
	//
	// 16545681783595370
	OutId *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	// The mobile numbers of the recipients.
	//
	// This parameter is required.
	//
	// example:
	//
	// [\\"1390000****\\",\\"1370000****\\"]"
	PhoneNumberJson *string `json:"PhoneNumberJson,omitempty" xml:"PhoneNumberJson,omitempty"`
	// The signature. You can view the template code in the **Signature*	- column on the **Signaturess*	- tab of the **Go China*	- page in the Alibaba Cloud SMS console.
	//
	// > The signatures must be approved and correspond to the mobile numbers in sequence.
	//
	// This parameter is required.
	//
	// example:
	//
	// [\\"aliyun\\",\\"aliyuncode\\"]
	SignNameJson *string `json:"SignNameJson,omitempty" xml:"SignNameJson,omitempty"`
	// The code of the text message template that applies when the card message is rolled back. 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.
	//
	// > Make sure that the message template has been approved.
	//
	// example:
	//
	// SMS_234251075
	SmsTemplateCode *string `json:"SmsTemplateCode,omitempty" xml:"SmsTemplateCode,omitempty"`
	// The variables of the text message template.
	//
	// example:
	//
	// [{"a":1,"b":2},{"a":9,"b":8}]
	SmsTemplateParamJson *string `json:"SmsTemplateParamJson,omitempty" xml:"SmsTemplateParamJson,omitempty"`
	// The extension code of the upstream message.
	//
	// example:
	//
	// [\\"6\\",\\"6\\"]
	SmsUpExtendCodeJson *string `json:"SmsUpExtendCodeJson,omitempty" xml:"SmsUpExtendCodeJson,omitempty"`
	// The code of the message template.
	//
	// You can log on to the [Alibaba Cloud console](https://dysms.console.aliyun.com/dysms.htm?spm=5176.12818093.categories-n-products.ddysms.3b2816d0xml2NA#/overview), click **Go China*	- or **Go Globe*	- in the left-side navigation pane, and then view the **template code*	- on the **Templates*	- tab.
	//
	// > You must specify a message template that is created in the SMS console and approved by Alibaba Cloud. If you send messages to countries or regions outside the Chinese mainland, use the corresponding message templates.
	//
	// example:
	//
	// SMS_20375****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// The value of the variable in the message template.
	//
	// > If you need to add line breaks to the JSON template, make sure that the format is valid. In addition, the sequence of variable values must be the same as that of the mobile numbers and signatures.
	//
	// example:
	//
	// [{"name":"TemplateParamJson"},{"name":"TemplateParamJson"}]
	TemplateParamJson *string `json:"TemplateParamJson,omitempty" xml:"TemplateParamJson,omitempty"`
}

func (SendBatchCardSmsRequest) GoString

func (s SendBatchCardSmsRequest) GoString() string

func (*SendBatchCardSmsRequest) SetCardTemplateCode

func (s *SendBatchCardSmsRequest) SetCardTemplateCode(v string) *SendBatchCardSmsRequest

func (*SendBatchCardSmsRequest) SetCardTemplateParamJson

func (s *SendBatchCardSmsRequest) SetCardTemplateParamJson(v string) *SendBatchCardSmsRequest

func (*SendBatchCardSmsRequest) SetDigitalTemplateCode

func (s *SendBatchCardSmsRequest) SetDigitalTemplateCode(v string) *SendBatchCardSmsRequest

func (*SendBatchCardSmsRequest) SetDigitalTemplateParamJson

func (s *SendBatchCardSmsRequest) SetDigitalTemplateParamJson(v string) *SendBatchCardSmsRequest

func (*SendBatchCardSmsRequest) SetFallbackType

func (*SendBatchCardSmsRequest) SetOutId

func (*SendBatchCardSmsRequest) SetPhoneNumberJson

func (s *SendBatchCardSmsRequest) SetPhoneNumberJson(v string) *SendBatchCardSmsRequest

func (*SendBatchCardSmsRequest) SetSignNameJson

func (*SendBatchCardSmsRequest) SetSmsTemplateCode

func (s *SendBatchCardSmsRequest) SetSmsTemplateCode(v string) *SendBatchCardSmsRequest

func (*SendBatchCardSmsRequest) SetSmsTemplateParamJson

func (s *SendBatchCardSmsRequest) SetSmsTemplateParamJson(v string) *SendBatchCardSmsRequest

func (*SendBatchCardSmsRequest) SetSmsUpExtendCodeJson

func (s *SendBatchCardSmsRequest) SetSmsUpExtendCodeJson(v string) *SendBatchCardSmsRequest

func (*SendBatchCardSmsRequest) SetTemplateCode

func (*SendBatchCardSmsRequest) SetTemplateParamJson

func (s *SendBatchCardSmsRequest) SetTemplateParamJson(v string) *SendBatchCardSmsRequest

func (SendBatchCardSmsRequest) String

func (s SendBatchCardSmsRequest) String() string

type SendBatchCardSmsResponse

type SendBatchCardSmsResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SendBatchCardSmsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SendBatchCardSmsResponse) GoString

func (s SendBatchCardSmsResponse) GoString() string

func (*SendBatchCardSmsResponse) SetBody

func (*SendBatchCardSmsResponse) SetHeaders

func (*SendBatchCardSmsResponse) SetStatusCode

func (SendBatchCardSmsResponse) String

func (s SendBatchCardSmsResponse) String() string

type SendBatchCardSmsResponseBody

type SendBatchCardSmsResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *SendBatchCardSmsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// A90E4451-FED7-49D2-87C8-00700A8C4D0D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (SendBatchCardSmsResponseBody) GoString

func (s SendBatchCardSmsResponseBody) GoString() string

func (*SendBatchCardSmsResponseBody) SetCode

func (*SendBatchCardSmsResponseBody) SetData

func (*SendBatchCardSmsResponseBody) SetRequestId

func (*SendBatchCardSmsResponseBody) SetSuccess

func (SendBatchCardSmsResponseBody) String

type SendBatchCardSmsResponseBodyData

type SendBatchCardSmsResponseBodyData struct {
	// The ID of the card message.
	//
	// example:
	//
	// 123
	BizCardId *string `json:"BizCardId,omitempty" xml:"BizCardId,omitempty"`
	// The ID of the digital message.
	//
	// example:
	//
	// 3214
	BizDigitalId *string `json:"BizDigitalId,omitempty" xml:"BizDigitalId,omitempty"`
	// The ID of the text message.
	//
	// example:
	//
	// 3256
	BizSmsId *string `json:"BizSmsId,omitempty" xml:"BizSmsId,omitempty"`
	// The review status of the card message template.
	//
	// 	- **0**: pending approval
	//
	// 	- **1**: approved
	//
	// 	- **2**: rejected
	//
	// > Unapproved card messages are rolled back.
	//
	// example:
	//
	// 0
	CardTmpState *int32 `json:"CardTmpState,omitempty" xml:"CardTmpState,omitempty"`
	// The mobile phone number from which the card message is sent.
	//
	// example:
	//
	// 1390000****
	MediaMobiles *string `json:"MediaMobiles,omitempty" xml:"MediaMobiles,omitempty"`
	// The mobile phone number whose card message is rolled back.
	//
	// example:
	//
	// 1390000****
	NotMediaMobiles *string `json:"NotMediaMobiles,omitempty" xml:"NotMediaMobiles,omitempty"`
}

func (SendBatchCardSmsResponseBodyData) GoString

func (*SendBatchCardSmsResponseBodyData) SetBizCardId

func (*SendBatchCardSmsResponseBodyData) SetBizDigitalId

func (*SendBatchCardSmsResponseBodyData) SetBizSmsId

func (*SendBatchCardSmsResponseBodyData) SetCardTmpState

func (*SendBatchCardSmsResponseBodyData) SetMediaMobiles

func (*SendBatchCardSmsResponseBodyData) SetNotMediaMobiles

func (SendBatchCardSmsResponseBodyData) String

type SendBatchSmsRequest

type SendBatchSmsRequest struct {
	// The extension field of the external record. The value is a string that contains no more than 256 characters.
	//
	// > The parameter is optional.
	//
	// example:
	//
	// abcdefg
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The mobile number of the recipient. Format:
	//
	// 	- Message delivery to the Chinese mainland: +/+86/0086/86 or an 11-digit mobile number without a prefix. Example: 1590000\\*\\*\\*\\*.
	//
	// 	- Message delivery to countries or regions outside the Chinese mainland: Dialing code + Mobile number. Example: 852000012\\*\\*\\*\\*.
	//
	// > We recommend that you call the SendSms operation to send verification codes.
	//
	// This parameter is required.
	//
	// example:
	//
	// ["1590000****","1350000****"]
	PhoneNumberJson      *string `json:"PhoneNumberJson,omitempty" xml:"PhoneNumberJson,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The signature.
	//
	// Log on to the Alibaba Cloud SMS console. In the left-side navigation pane, click **Go Globe*	- or **Go China**. You can view the signature in the **Signature*	- column on the **Signatures*	- tab.
	//
	// > The signatures must be approved and correspond to the mobile numbers in sequence.
	//
	// This parameter is required.
	//
	// example:
	//
	// ["Aliyun","Alibaba"]
	SignNameJson *string `json:"SignNameJson,omitempty" xml:"SignNameJson,omitempty"`
	// The extension code of the MO message. Format: JSON array.
	//
	// > The parameter is optional.
	//
	// example:
	//
	// ["90999","90998"]
	SmsUpExtendCodeJson *string `json:"SmsUpExtendCodeJson,omitempty" xml:"SmsUpExtendCodeJson,omitempty"`
	// The code of the message template.
	//
	// Log on to the Alibaba Cloud SMS console. In the left-side navigation pane, click **Go Globe*	- or **Go China**. You can view the message template in the **Template Code*	- column on the **Message Templates*	- tab.
	//
	// > The message templates must be created on the Go Globe page and approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// SMS_15255****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// The value of the variable in the message template.
	//
	// > If you need to add line breaks to the JSON template, make sure that the format is valid. In addition, the sequence of variable values must be the same as that of the mobile numbers and signatures.
	//
	// example:
	//
	// [{"name":"TemplateParamJson"},{"name":"TemplateParamJson"}]
	TemplateParamJson *string `json:"TemplateParamJson,omitempty" xml:"TemplateParamJson,omitempty"`
}

func (SendBatchSmsRequest) GoString

func (s SendBatchSmsRequest) GoString() string

func (*SendBatchSmsRequest) SetOutId

func (*SendBatchSmsRequest) SetOwnerId

func (s *SendBatchSmsRequest) SetOwnerId(v int64) *SendBatchSmsRequest

func (*SendBatchSmsRequest) SetPhoneNumberJson

func (s *SendBatchSmsRequest) SetPhoneNumberJson(v string) *SendBatchSmsRequest

func (*SendBatchSmsRequest) SetResourceOwnerAccount

func (s *SendBatchSmsRequest) SetResourceOwnerAccount(v string) *SendBatchSmsRequest

func (*SendBatchSmsRequest) SetResourceOwnerId

func (s *SendBatchSmsRequest) SetResourceOwnerId(v int64) *SendBatchSmsRequest

func (*SendBatchSmsRequest) SetSignNameJson

func (s *SendBatchSmsRequest) SetSignNameJson(v string) *SendBatchSmsRequest

func (*SendBatchSmsRequest) SetSmsUpExtendCodeJson

func (s *SendBatchSmsRequest) SetSmsUpExtendCodeJson(v string) *SendBatchSmsRequest

func (*SendBatchSmsRequest) SetTemplateCode

func (s *SendBatchSmsRequest) SetTemplateCode(v string) *SendBatchSmsRequest

func (*SendBatchSmsRequest) SetTemplateParamJson

func (s *SendBatchSmsRequest) SetTemplateParamJson(v string) *SendBatchSmsRequest

func (SendBatchSmsRequest) String

func (s SendBatchSmsRequest) String() string

type SendBatchSmsResponse

type SendBatchSmsResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SendBatchSmsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SendBatchSmsResponse) GoString

func (s SendBatchSmsResponse) GoString() string

func (*SendBatchSmsResponse) SetBody

func (*SendBatchSmsResponse) SetHeaders

func (s *SendBatchSmsResponse) SetHeaders(v map[string]*string) *SendBatchSmsResponse

func (*SendBatchSmsResponse) SetStatusCode

func (s *SendBatchSmsResponse) SetStatusCode(v int32) *SendBatchSmsResponse

func (SendBatchSmsResponse) String

func (s SendBatchSmsResponse) String() string

type SendBatchSmsResponseBody

type SendBatchSmsResponseBody struct {
	// The ID of the delivery receipt. You can use one of the following methods to query the delivery status of a message based on the ID.
	//
	// 	- Call the [QuerySendDetails](https://help.aliyun.com/document_detail/102352.html) operation.
	//
	// 	- Log on to the [Alibaba Cloud SMS console](https://dysms.console.aliyun.com/dysms.htm#/overview). In the left-side navigation pane, choose **Analytics*	- > **Delivery Report**.
	//
	// example:
	//
	// 9006197469364984400
	BizId *string `json:"BizId,omitempty" xml:"BizId,omitempty"`
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8D230E
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SendBatchSmsResponseBody) GoString

func (s SendBatchSmsResponseBody) GoString() string

func (*SendBatchSmsResponseBody) SetBizId

func (*SendBatchSmsResponseBody) SetCode

func (*SendBatchSmsResponseBody) SetMessage

func (*SendBatchSmsResponseBody) SetRequestId

func (SendBatchSmsResponseBody) String

func (s SendBatchSmsResponseBody) String() string

type SendCardSmsRequest

type SendCardSmsRequest struct {
	// The objects of the message template.
	//
	// This parameter is required.
	CardObjects []*SendCardSmsRequestCardObjects `json:"CardObjects,omitempty" xml:"CardObjects,omitempty" type:"Repeated"`
	// 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.
	//
	// > Make sure that the message template has been approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// CARD_SMS_70
	CardTemplateCode *string `json:"CardTemplateCode,omitempty" xml:"CardTemplateCode,omitempty"`
	// The code of the digital message template that applies when the card message is rolled back. 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.
	//
	// > Make sure that the message template has been approved.
	//
	// example:
	//
	// SMS_003
	DigitalTemplateCode *string `json:"DigitalTemplateCode,omitempty" xml:"DigitalTemplateCode,omitempty"`
	// The variables of the digital message template.
	//
	// > If you need to add line breaks to the JSON template, make sure that the format is valid.
	//
	// example:
	//
	// {\\"msg\\",\\"xxxd\\"}
	DigitalTemplateParam *string `json:"DigitalTemplateParam,omitempty" xml:"DigitalTemplateParam,omitempty"`
	// The rollback type. Valid values:
	//
	// 	- **SMS**: text message
	//
	// 	- **DIGITALSMS**: digital message
	//
	// 	- **NONE**: none
	//
	// This parameter is required.
	//
	// example:
	//
	// SMS
	FallbackType *string `json:"FallbackType,omitempty" xml:"FallbackType,omitempty"`
	// The ID that is reserved for the caller of the operation.
	//
	// example:
	//
	// 38d76c9b-4a9a-4c89-afae-61fd8e0e****
	OutId *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	// The signature. You can view the template code in the **Signature*	- column on the **Signaturess*	- tab of the **Go China*	- page in the Alibaba Cloud SMS console.
	//
	// > The signature must be approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// The code of the text message template that applies when the card message is rolled back. 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.
	//
	// > Make sure that the message template has been approved. If you set the **FallbackType*	- parameter to **SMS**, this parameter is required.
	//
	// example:
	//
	// SIER_TEST_01
	SmsTemplateCode *string `json:"SmsTemplateCode,omitempty" xml:"SmsTemplateCode,omitempty"`
	// The variables of the text message template.
	//
	// > If you need to add line breaks to the JSON template, make sure that the format is valid.
	//
	// example:
	//
	// {\\"uri\\":\\"Zg11tZ\\"}
	SmsTemplateParam *string `json:"SmsTemplateParam,omitempty" xml:"SmsTemplateParam,omitempty"`
	// The extension code of the upstream message. Upstream messages are messages sent to the communication service provider. Upstream messages are used to customize a service, complete an inquiry, or send a request. You are charged for sending upstream messages based on the billing standards of the service provider.
	//
	// > If you do not need upstream messages, ignore this parameter.
	//
	// example:
	//
	// 1
	SmsUpExtendCode *string `json:"SmsUpExtendCode,omitempty" xml:"SmsUpExtendCode,omitempty"`
	// The code of the text message template.
	//
	// Log on to the Alibaba Cloud SMS console. In the left-side navigation pane, click **Go Globe*	- or **Go China**. You can view the message template in the **Template Code*	- column on the **Message Templates*	- tab.
	//
	// > The message templates must be created on the Go Globe page and approved.
	//
	// example:
	//
	// SMS_2322****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// The variables of the message template. Format: JSON.
	//
	// > If you need to add line breaks to the JSON template, make sure that the format is valid.
	//
	// example:
	//
	// {
	//
	//       \\"code\\": \\"1111\\"
	//
	// }
	TemplateParam *string `json:"TemplateParam,omitempty" xml:"TemplateParam,omitempty"`
}

func (SendCardSmsRequest) GoString

func (s SendCardSmsRequest) GoString() string

func (*SendCardSmsRequest) SetCardObjects

func (*SendCardSmsRequest) SetCardTemplateCode

func (s *SendCardSmsRequest) SetCardTemplateCode(v string) *SendCardSmsRequest

func (*SendCardSmsRequest) SetDigitalTemplateCode

func (s *SendCardSmsRequest) SetDigitalTemplateCode(v string) *SendCardSmsRequest

func (*SendCardSmsRequest) SetDigitalTemplateParam

func (s *SendCardSmsRequest) SetDigitalTemplateParam(v string) *SendCardSmsRequest

func (*SendCardSmsRequest) SetFallbackType

func (s *SendCardSmsRequest) SetFallbackType(v string) *SendCardSmsRequest

func (*SendCardSmsRequest) SetOutId

func (*SendCardSmsRequest) SetSignName

func (s *SendCardSmsRequest) SetSignName(v string) *SendCardSmsRequest

func (*SendCardSmsRequest) SetSmsTemplateCode

func (s *SendCardSmsRequest) SetSmsTemplateCode(v string) *SendCardSmsRequest

func (*SendCardSmsRequest) SetSmsTemplateParam

func (s *SendCardSmsRequest) SetSmsTemplateParam(v string) *SendCardSmsRequest

func (*SendCardSmsRequest) SetSmsUpExtendCode

func (s *SendCardSmsRequest) SetSmsUpExtendCode(v string) *SendCardSmsRequest

func (*SendCardSmsRequest) SetTemplateCode

func (s *SendCardSmsRequest) SetTemplateCode(v string) *SendCardSmsRequest

func (*SendCardSmsRequest) SetTemplateParam

func (s *SendCardSmsRequest) SetTemplateParam(v string) *SendCardSmsRequest

func (SendCardSmsRequest) String

func (s SendCardSmsRequest) String() string

type SendCardSmsRequestCardObjects

type SendCardSmsRequestCardObjects struct {
	// The URL to which the message is redirected if the message fails to be rendered.
	//
	// example:
	//
	// https://alibaba.com
	CustomUrl *string `json:"customUrl,omitempty" xml:"customUrl,omitempty"`
	// The variables. Special characters, such as $ and {}, do not need to be entered.
	//
	// example:
	//
	// {\\"param3\\":\\"three\\",\\"param1\\":\\"one\\",\\"param2\\":\\"two\\"}
	DyncParams *string `json:"dyncParams,omitempty" xml:"dyncParams,omitempty"`
	// The mobile phone number.
	//
	// example:
	//
	// 1390000****
	Mobile *string `json:"mobile,omitempty" xml:"mobile,omitempty"`
}

func (SendCardSmsRequestCardObjects) GoString

func (*SendCardSmsRequestCardObjects) SetCustomUrl

func (*SendCardSmsRequestCardObjects) SetDyncParams

func (*SendCardSmsRequestCardObjects) SetMobile

func (SendCardSmsRequestCardObjects) String

type SendCardSmsResponse

type SendCardSmsResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SendCardSmsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SendCardSmsResponse) GoString

func (s SendCardSmsResponse) GoString() string

func (*SendCardSmsResponse) SetBody

func (*SendCardSmsResponse) SetHeaders

func (s *SendCardSmsResponse) SetHeaders(v map[string]*string) *SendCardSmsResponse

func (*SendCardSmsResponse) SetStatusCode

func (s *SendCardSmsResponse) SetStatusCode(v int32) *SendCardSmsResponse

func (SendCardSmsResponse) String

func (s SendCardSmsResponse) String() string

type SendCardSmsResponseBody

type SendCardSmsResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *SendCardSmsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8D28D0
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request was successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (SendCardSmsResponseBody) GoString

func (s SendCardSmsResponseBody) GoString() string

func (*SendCardSmsResponseBody) SetCode

func (*SendCardSmsResponseBody) SetData

func (*SendCardSmsResponseBody) SetRequestId

func (*SendCardSmsResponseBody) SetSuccess

func (SendCardSmsResponseBody) String

func (s SendCardSmsResponseBody) String() string

type SendCardSmsResponseBodyData

type SendCardSmsResponseBodyData struct {
	// The ID of the card message.
	//
	// example:
	//
	// 123
	BizCardId *string `json:"BizCardId,omitempty" xml:"BizCardId,omitempty"`
	// The ID of the digital message.
	//
	// example:
	//
	// 232
	BizDigitalId *string `json:"BizDigitalId,omitempty" xml:"BizDigitalId,omitempty"`
	// The ID of the text message.
	//
	// example:
	//
	// 524
	BizSmsId *string `json:"BizSmsId,omitempty" xml:"BizSmsId,omitempty"`
	// The review status of the card message template.
	//
	// 	- **0**: pending approval
	//
	// 	- **1**: approved
	//
	// 	- **2**: rejected
	//
	// > Unapproved card messages are rolled back.
	//
	// example:
	//
	// 0
	CardTmpState *int32 `json:"CardTmpState,omitempty" xml:"CardTmpState,omitempty"`
	// The mobile phone number from which the card message is sent.
	//
	// example:
	//
	// 1390000****
	MediaMobiles *string `json:"MediaMobiles,omitempty" xml:"MediaMobiles,omitempty"`
	// The mobile phone number whose card message is rolled back.
	//
	// example:
	//
	// 1390000****
	NotMediaMobiles *string `json:"NotMediaMobiles,omitempty" xml:"NotMediaMobiles,omitempty"`
}

func (SendCardSmsResponseBodyData) GoString

func (s SendCardSmsResponseBodyData) GoString() string

func (*SendCardSmsResponseBodyData) SetBizCardId

func (*SendCardSmsResponseBodyData) SetBizDigitalId

func (*SendCardSmsResponseBodyData) SetBizSmsId

func (*SendCardSmsResponseBodyData) SetCardTmpState

func (*SendCardSmsResponseBodyData) SetMediaMobiles

func (*SendCardSmsResponseBodyData) SetNotMediaMobiles

func (SendCardSmsResponseBodyData) String

type SendSmsRequest

type SendSmsRequest struct {
	// The extension field.
	//
	// > You can ignore this parameter if you do not have special requirements.
	//
	// example:
	//
	// abcdefgh
	OutId   *string `json:"OutId,omitempty" xml:"OutId,omitempty"`
	OwnerId *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The mobile numbers of the recipients. Format:
	//
	// 	- If you send messages to the Chinese mainland, specify mobile numbers that are prefixed with +, +86, 0086, or 86, or 11-digit mobile numbers without prefixes. Example: 1390000\\*\\*\\*\\*.
	//
	// 	- If you send messages to countries or regions outside the Chinese mainland, specify this parameter in the \\<Area code>\\<Mobile number> format. Example: 852000012\\*\\*\\*\\*.
	//
	// You can send messages to multiple mobile numbers, separate the mobile numbers with commas (,). You can specify up to 1,000 mobile numbers in each request. Compared with sending messages to a single mobile number, sending messages to multiple mobile numbers requires longer response time.
	//
	// > We recommend that you send one verification code message to a mobile number in each request.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1390000****
	PhoneNumbers         *string `json:"PhoneNumbers,omitempty" xml:"PhoneNumbers,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The signature.
	//
	// You can log on to the [Short Message Service (SMS) console](https://dysms.console.aliyun.com/dysms.htm?spm=5176.12818093.categories-n-products.ddysms.3b2816d0xml2NA#/overview), click **Go China*	- or **Go Globe*	- in the left-side navigation pane, and then view the signature on the **Signatures*	- tab.
	//
	// > You must specify a signature that is created in the SMS console and approved by Alibaba Cloud. For more information about SMS signature specifications, see [SMS signature specifications](https://help.aliyun.com/document_detail/108076.html).
	//
	// This parameter is required.
	//
	// example:
	//
	// Aliyun
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// The extension code of the upstream message. Upstream messages are messages sent to the communication service provider. Upstream messages are used to customize a service, complete an inquiry, or send a request. You are charged for sending upstream messages based on the billing standards of the service provider.
	//
	// > The extension code is automatically generated by the system when the signature is generated. You do not need to specify the extension code. You can ignore this parameter if you do not have special requirements.
	//
	// example:
	//
	// 90999
	SmsUpExtendCode *string `json:"SmsUpExtendCode,omitempty" xml:"SmsUpExtendCode,omitempty"`
	// The code of the message template.
	//
	// You can log on to the [Short Message Service (SMS) console](https://dysms.console.aliyun.com/dysms.htm?spm=5176.12818093.categories-n-products.ddysms.3b2816d0xml2NA#/overview), click **Go China*	- or **Go Globe*	- in the left-side navigation pane, and then view the **template code*	- on the **Templates*	- tab.
	//
	// > You must specify a message template that is created in the SMS console and approved by Alibaba Cloud. If you send messages to countries or regions outside the Chinese mainland, use the corresponding message templates.
	//
	// This parameter is required.
	//
	// example:
	//
	// SMS_15305****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// The value of the variable in the message template. You can specify multiple parameter values. Example:{"name":"Sam","number":"1390000\\*\\*\\*\\*"}.
	//
	// >
	//
	// 	- If line breaks are required in JSON-formatted data, they must meet the relevant requirements that are specified in the standard JSON protocol.
	//
	// 	- For more information about template variables, see [SMS template specifications](https://help.aliyun.com/document_detail/108253.html).
	//
	// example:
	//
	// {"code":"1111"}
	TemplateParam *string `json:"TemplateParam,omitempty" xml:"TemplateParam,omitempty"`
}

func (SendSmsRequest) GoString

func (s SendSmsRequest) GoString() string

func (*SendSmsRequest) SetOutId

func (s *SendSmsRequest) SetOutId(v string) *SendSmsRequest

func (*SendSmsRequest) SetOwnerId

func (s *SendSmsRequest) SetOwnerId(v int64) *SendSmsRequest

func (*SendSmsRequest) SetPhoneNumbers

func (s *SendSmsRequest) SetPhoneNumbers(v string) *SendSmsRequest

func (*SendSmsRequest) SetResourceOwnerAccount

func (s *SendSmsRequest) SetResourceOwnerAccount(v string) *SendSmsRequest

func (*SendSmsRequest) SetResourceOwnerId

func (s *SendSmsRequest) SetResourceOwnerId(v int64) *SendSmsRequest

func (*SendSmsRequest) SetSignName

func (s *SendSmsRequest) SetSignName(v string) *SendSmsRequest

func (*SendSmsRequest) SetSmsUpExtendCode

func (s *SendSmsRequest) SetSmsUpExtendCode(v string) *SendSmsRequest

func (*SendSmsRequest) SetTemplateCode

func (s *SendSmsRequest) SetTemplateCode(v string) *SendSmsRequest

func (*SendSmsRequest) SetTemplateParam

func (s *SendSmsRequest) SetTemplateParam(v string) *SendSmsRequest

func (SendSmsRequest) String

func (s SendSmsRequest) String() string

type SendSmsResponse

type SendSmsResponse struct {
	Headers    map[string]*string   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SendSmsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SendSmsResponse) GoString

func (s SendSmsResponse) GoString() string

func (*SendSmsResponse) SetBody

func (*SendSmsResponse) SetHeaders

func (s *SendSmsResponse) SetHeaders(v map[string]*string) *SendSmsResponse

func (*SendSmsResponse) SetStatusCode

func (s *SendSmsResponse) SetStatusCode(v int32) *SendSmsResponse

func (SendSmsResponse) String

func (s SendSmsResponse) String() string

type SendSmsResponseBody

type SendSmsResponseBody struct {
	// The ID of the delivery receipt.
	//
	// You can call the [QuerySendDetails](~~QuerySendDetails~~) operation to query the delivery status based on the receipt ID.
	//
	// example:
	//
	// 9006197469364984****
	BizId *string `json:"BizId,omitempty" xml:"BizId,omitempty"`
	// The HTTP status code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8DE990
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SendSmsResponseBody) GoString

func (s SendSmsResponseBody) GoString() string

func (*SendSmsResponseBody) SetBizId

func (*SendSmsResponseBody) SetCode

func (*SendSmsResponseBody) SetMessage

func (*SendSmsResponseBody) SetRequestId

func (s *SendSmsResponseBody) SetRequestId(v string) *SendSmsResponseBody

func (SendSmsResponseBody) String

func (s SendSmsResponseBody) String() string

type SmsConversionIntlRequest

type SmsConversionIntlRequest struct {
	// The time when the OTP message was delivered. The value is a UNIX timestamp. Unit: milliseconds.
	//
	// 	- If you leave the parameter empty, the current timestamp is specified by default.
	//
	// 	- If you specify the parameter, the timestamp must be greater than the message sending time and less than the current timestamp.
	//
	// example:
	//
	// 1349055900000
	ConversionTime *int64 `json:"ConversionTime,omitempty" xml:"ConversionTime,omitempty"`
	// Specifies whether customers replied to the OTP message. Valid values: true and false.
	//
	// This parameter is required.
	//
	// example:
	//
	// true
	Delivered *bool `json:"Delivered,omitempty" xml:"Delivered,omitempty"`
	// The ID of the message.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1008030300****
	MessageId            *string `json:"MessageId,omitempty" xml:"MessageId,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (SmsConversionIntlRequest) GoString

func (s SmsConversionIntlRequest) GoString() string

func (*SmsConversionIntlRequest) SetConversionTime

func (s *SmsConversionIntlRequest) SetConversionTime(v int64) *SmsConversionIntlRequest

func (*SmsConversionIntlRequest) SetDelivered

func (*SmsConversionIntlRequest) SetMessageId

func (*SmsConversionIntlRequest) SetOwnerId

func (*SmsConversionIntlRequest) SetResourceOwnerAccount

func (s *SmsConversionIntlRequest) SetResourceOwnerAccount(v string) *SmsConversionIntlRequest

func (*SmsConversionIntlRequest) SetResourceOwnerId

func (s *SmsConversionIntlRequest) SetResourceOwnerId(v int64) *SmsConversionIntlRequest

func (SmsConversionIntlRequest) String

func (s SmsConversionIntlRequest) String() string

type SmsConversionIntlResponse

type SmsConversionIntlResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SmsConversionIntlResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SmsConversionIntlResponse) GoString

func (s SmsConversionIntlResponse) GoString() string

func (*SmsConversionIntlResponse) SetBody

func (*SmsConversionIntlResponse) SetHeaders

func (*SmsConversionIntlResponse) SetStatusCode

func (SmsConversionIntlResponse) String

func (s SmsConversionIntlResponse) String() string

type SmsConversionIntlResponseBody

type SmsConversionIntlResponseBody struct {
	// The response code. If OK is returned, the request is successful. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html?spm=a2c4g.101345.0.0.74326ff2J5EZyt).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned message.
	//
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The request ID.
	//
	// example:
	//
	// F655A8D5-B967-440B-8683-DAD6FF8D****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SmsConversionIntlResponseBody) GoString

func (*SmsConversionIntlResponseBody) SetCode

func (*SmsConversionIntlResponseBody) SetMessage

func (*SmsConversionIntlResponseBody) SetRequestId

func (SmsConversionIntlResponseBody) String

type TagResourcesRequest

type TagResourcesRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The name of the cloud service. Set the value to **dysms**.
	//
	// example:
	//
	// dysms
	ProdCode *string `json:"ProdCode,omitempty" xml:"ProdCode,omitempty"`
	// The region ID. Set the value to **cn-hangzhou**.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The code of the message template.
	//
	// example:
	//
	// SMS_23423423
	ResourceId           []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	ResourceOwnerAccount *string   `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64    `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The type of the resource. Set the value to **TEMPLATE**.
	//
	// This parameter is required.
	//
	// example:
	//
	// TEMPLATE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag.
	//
	// This parameter is required.
	Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetOwnerId

func (s *TagResourcesRequest) SetOwnerId(v int64) *TagResourcesRequest

func (*TagResourcesRequest) SetProdCode

func (s *TagResourcesRequest) SetProdCode(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetRegionId

func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceId

func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceOwnerAccount

func (s *TagResourcesRequest) SetResourceOwnerAccount(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceOwnerId

func (s *TagResourcesRequest) SetResourceOwnerId(v int64) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceType

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTag

func (TagResourcesRequest) String

func (s TagResourcesRequest) String() string

type TagResourcesRequestTag

type TagResourcesRequestTag struct {
	// The array of tag keys. Valid values of N: 1 to 20.
	//
	// example:
	//
	// TestKey
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The array of tag values. Valid values of N: 1 to 20.
	//
	// example:
	//
	// TestValue
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (TagResourcesRequestTag) GoString

func (s TagResourcesRequestTag) GoString() string

func (*TagResourcesRequestTag) SetKey

func (*TagResourcesRequestTag) SetValue

func (TagResourcesRequestTag) String

func (s TagResourcesRequestTag) String() string

type TagResourcesResponse

type TagResourcesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TagResourcesResponse) GoString

func (s TagResourcesResponse) GoString() string

func (*TagResourcesResponse) SetBody

func (*TagResourcesResponse) SetHeaders

func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse

func (*TagResourcesResponse) SetStatusCode

func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse

func (TagResourcesResponse) String

func (s TagResourcesResponse) String() string

type TagResourcesResponseBody

type TagResourcesResponseBody struct {
	// 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 `json:"Code,omitempty" xml:"Code,omitempty"`
	// Indicates whether tags were attached. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Data *string `json:"Data,omitempty" xml:"Data,omitempty"`
	// The request ID.
	//
	// example:
	//
	// A90E4451-FED7-49D2-87C8-00700A8C****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TagResourcesResponseBody) GoString

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetCode

func (*TagResourcesResponseBody) SetData

func (*TagResourcesResponseBody) SetRequestId

func (TagResourcesResponseBody) String

func (s TagResourcesResponseBody) String() string

type UntagResourcesRequest

type UntagResourcesRequest struct {
	// Specifies whether to delete all tags from the message template. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// false
	All     *bool  `json:"All,omitempty" xml:"All,omitempty"`
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The name of the cloud service. Set the value to **dysms**.
	//
	// example:
	//
	// dysms
	ProdCode *string `json:"ProdCode,omitempty" xml:"ProdCode,omitempty"`
	// The region. Set the value to cn-hangzhou.
	//
	// This parameter is required.
	//
	// example:
	//
	// cn-hangzhou
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The array of message template codes. You can specify 1 to 20 message templates.
	//
	// example:
	//
	// SMS_23423423
	ResourceId           []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	ResourceOwnerAccount *string   `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64    `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The type of the resource. Set the value to TEMPLATE.
	//
	// This parameter is required.
	//
	// example:
	//
	// TEMPLATE
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The array of tag keys. You can specify 1 to 20 tag keys.
	//
	// example:
	//
	// TestKey
	TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll

func (*UntagResourcesRequest) SetOwnerId

func (*UntagResourcesRequest) SetProdCode

func (*UntagResourcesRequest) SetRegionId

func (*UntagResourcesRequest) SetResourceId

func (s *UntagResourcesRequest) SetResourceId(v []*string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceOwnerAccount

func (s *UntagResourcesRequest) SetResourceOwnerAccount(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceOwnerId

func (s *UntagResourcesRequest) SetResourceOwnerId(v int64) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceType

func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetTagKey

func (UntagResourcesRequest) String

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse

type UntagResourcesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UntagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UntagResourcesResponse) GoString

func (s UntagResourcesResponse) GoString() string

func (*UntagResourcesResponse) SetBody

func (*UntagResourcesResponse) SetHeaders

func (*UntagResourcesResponse) SetStatusCode

func (UntagResourcesResponse) String

func (s UntagResourcesResponse) String() string

type UntagResourcesResponseBody

type UntagResourcesResponseBody struct {
	// The HTTP status code.
	//
	// 	- The value OK indicates that the request was successful.
	//
	// 	- Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/101346.html).
	//
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// 	- **true**
	//
	// 	- **false**
	//
	// example:
	//
	// true
	Data *string `json:"Data,omitempty" xml:"Data,omitempty"`
	// The request ID.
	//
	// example:
	//
	// A90E4451-FED7-49D2-87C8-00700A8C****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UntagResourcesResponseBody) GoString

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetCode

func (*UntagResourcesResponseBody) SetData

func (*UntagResourcesResponseBody) SetRequestId

func (UntagResourcesResponseBody) String

type UpdateExtCodeSignRequest added in v4.1.0

type UpdateExtCodeSignRequest struct {
	// 要修改的扩展码A3
	//
	// This parameter is required.
	//
	// example:
	//
	// 01
	ExistExtCode *string `json:"ExistExtCode,omitempty" xml:"ExistExtCode,omitempty"`
	// 修改后的扩展码A3
	//
	// This parameter is required.
	//
	// example:
	//
	// 02
	NewExtCode           *string `json:"NewExtCode,omitempty" xml:"NewExtCode,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// 签名
	//
	// This parameter is required.
	//
	// example:
	//
	// 示例值示例值示例值
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (UpdateExtCodeSignRequest) GoString added in v4.1.0

func (s UpdateExtCodeSignRequest) GoString() string

func (*UpdateExtCodeSignRequest) SetExistExtCode added in v4.1.0

func (*UpdateExtCodeSignRequest) SetNewExtCode added in v4.1.0

func (*UpdateExtCodeSignRequest) SetOwnerId added in v4.1.0

func (*UpdateExtCodeSignRequest) SetResourceOwnerAccount added in v4.1.0

func (s *UpdateExtCodeSignRequest) SetResourceOwnerAccount(v string) *UpdateExtCodeSignRequest

func (*UpdateExtCodeSignRequest) SetResourceOwnerId added in v4.1.0

func (s *UpdateExtCodeSignRequest) SetResourceOwnerId(v int64) *UpdateExtCodeSignRequest

func (*UpdateExtCodeSignRequest) SetSignName added in v4.1.0

func (UpdateExtCodeSignRequest) String added in v4.1.0

func (s UpdateExtCodeSignRequest) String() string

type UpdateExtCodeSignResponse added in v4.1.0

type UpdateExtCodeSignResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateExtCodeSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateExtCodeSignResponse) GoString added in v4.1.0

func (s UpdateExtCodeSignResponse) GoString() string

func (*UpdateExtCodeSignResponse) SetBody added in v4.1.0

func (*UpdateExtCodeSignResponse) SetHeaders added in v4.1.0

func (*UpdateExtCodeSignResponse) SetStatusCode added in v4.1.0

func (UpdateExtCodeSignResponse) String added in v4.1.0

func (s UpdateExtCodeSignResponse) String() string

type UpdateExtCodeSignResponseBody added in v4.1.0

type UpdateExtCodeSignResponseBody struct {
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// example:
	//
	// OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// false
	Data *bool `json:"Data,omitempty" xml:"Data,omitempty"`
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 90E63D28-E31D-1EB2-8939-A9486641****
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (UpdateExtCodeSignResponseBody) GoString added in v4.1.0

func (*UpdateExtCodeSignResponseBody) SetAccessDeniedDetail added in v4.1.0

func (*UpdateExtCodeSignResponseBody) SetCode added in v4.1.0

func (*UpdateExtCodeSignResponseBody) SetData added in v4.1.0

func (*UpdateExtCodeSignResponseBody) SetMessage added in v4.1.0

func (*UpdateExtCodeSignResponseBody) SetRequestId added in v4.1.0

func (*UpdateExtCodeSignResponseBody) SetSuccess added in v4.1.0

func (UpdateExtCodeSignResponseBody) String added in v4.1.0

type UpdateSmsSignRequest

type UpdateSmsSignRequest struct {
	// Application scenarios, instructions as follows:
	//
	// - For registered websites, please enter the domain name registered with MIIT, including HTTP or HTTPS.
	//
	// - For launched apps, provide the display link from the app store with HTTP or HTTPS, ensuring the app is online.
	//
	// - For public accounts or mini-programs, fill in the full name, ensuring they are online.
	//
	// - For e-commerce platform store names (for enterprise users only), provide the display link with HTTP or HTTPS.
	//
	// example:
	//
	// http://www.aliyun.com/
	ApplySceneContent *string `json:"ApplySceneContent,omitempty" xml:"ApplySceneContent,omitempty"`
	// Additional materials, such as uploading business proof documents or screenshots of business operations, to help reviewers understand your business details.
	MoreData []*string `json:"MoreData,omitempty" xml:"MoreData,omitempty" type:"Repeated"`
	OwnerId  *int64    `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Approved or under-review qualification ID.
	//
	// > - Before applying for an SMS signature, please first [apply for qualifications](https://help.aliyun.com/zh/sms/user-guide/new-qualification?spm=a2c4g.11186623.0.0.718d187bbkpMRK).
	//
	// > - You can view the qualification ID on the [Qualification Management](https://dysms.console.aliyun.com/domestic/text/qualification) page.
	//
	// This parameter is required.
	//
	// example:
	//
	// 8563**
	QualificationId *int64 `json:"QualificationId,omitempty" xml:"QualificationId,omitempty"`
	// Explanation of the SMS signature scenario, with a maximum length of 200 characters.
	//
	// > The scenario explanation is one of the reference information for signature review. Please provide a detailed description of the usage scenarios of the launched business, along with verifiable information such as website links, registered domain addresses, app store download links, full names of public accounts or mini-programs, etc. For login scenarios, test account credentials are also required. A well-informed application explanation will enhance the efficiency of signature and template reviews. Refer to the **Application Scenarios*	- column in the [Signature Source](https://help.aliyun.com/zh/sms/user-guide/signature-specifications-1?spm=a2c4g.11186623.0.i2#section-xup-k46-yi4) table for filling in SMS scenarios.
	//
	// example:
	//
	// 登录场景申请验证码
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Signature not yet approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// 阿里云验证码
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// Source of the signature. Values:
	//
	// - **0**: Full name or abbreviation of enterprises and institutions.
	//
	// - **1**: Full name or abbreviation of MIIT-registered websites.
	//
	// - **2**: Full name or abbreviation of app applications.
	//
	// - **3**: Full name or abbreviation of public accounts or mini-programs.
	//
	// - **4**: Full name or abbreviation of e-commerce platform store names.
	//
	// - **5**: Full name or abbreviation of trademarks.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	SignSource *int32 `json:"SignSource,omitempty" xml:"SignSource,omitempty"`
	// Signature type. It is recommended to use the default value.
	//
	// - **0**: Verification code
	//
	// - **1**: General (default)
	//
	// example:
	//
	// 1
	SignType *int32 `json:"SignType,omitempty" xml:"SignType,omitempty"`
	// Whether the signature is for self-use or others.
	//
	// - false: Self-use
	//
	// - true: Others
	//
	// 	Notice: When the signature is for self-use, select the self-use qualification ID; when it\\"s for others, choose the others\\" qualification ID.
	//
	// example:
	//
	// false
	ThirdParty *bool `json:"ThirdParty,omitempty" xml:"ThirdParty,omitempty"`
}

func (UpdateSmsSignRequest) GoString

func (s UpdateSmsSignRequest) GoString() string

func (*UpdateSmsSignRequest) SetApplySceneContent

func (s *UpdateSmsSignRequest) SetApplySceneContent(v string) *UpdateSmsSignRequest

func (*UpdateSmsSignRequest) SetMoreData

func (s *UpdateSmsSignRequest) SetMoreData(v []*string) *UpdateSmsSignRequest

func (*UpdateSmsSignRequest) SetOwnerId

func (*UpdateSmsSignRequest) SetQualificationId

func (s *UpdateSmsSignRequest) SetQualificationId(v int64) *UpdateSmsSignRequest

func (*UpdateSmsSignRequest) SetRemark

func (*UpdateSmsSignRequest) SetResourceOwnerAccount

func (s *UpdateSmsSignRequest) SetResourceOwnerAccount(v string) *UpdateSmsSignRequest

func (*UpdateSmsSignRequest) SetResourceOwnerId

func (s *UpdateSmsSignRequest) SetResourceOwnerId(v int64) *UpdateSmsSignRequest

func (*UpdateSmsSignRequest) SetSignName

func (*UpdateSmsSignRequest) SetSignSource

func (s *UpdateSmsSignRequest) SetSignSource(v int32) *UpdateSmsSignRequest

func (*UpdateSmsSignRequest) SetSignType

func (s *UpdateSmsSignRequest) SetSignType(v int32) *UpdateSmsSignRequest

func (*UpdateSmsSignRequest) SetThirdParty

func (s *UpdateSmsSignRequest) SetThirdParty(v bool) *UpdateSmsSignRequest

func (UpdateSmsSignRequest) String

func (s UpdateSmsSignRequest) String() string

type UpdateSmsSignResponse

type UpdateSmsSignResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateSmsSignResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateSmsSignResponse) GoString

func (s UpdateSmsSignResponse) GoString() string

func (*UpdateSmsSignResponse) SetBody

func (*UpdateSmsSignResponse) SetHeaders

func (*UpdateSmsSignResponse) SetStatusCode

func (s *UpdateSmsSignResponse) SetStatusCode(v int32) *UpdateSmsSignResponse

func (UpdateSmsSignResponse) String

func (s UpdateSmsSignResponse) String() string

type UpdateSmsSignResponseBody

type UpdateSmsSignResponseBody struct {
	// Request status code.
	//
	// 	- OK indicates a successful request.
	//
	// 	- For other error codes, refer to [Error Code List](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 for expedited review.
	//
	// example:
	//
	// 2004417****
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of this call request, uniquely generated by Alibaba Cloud, which can be used for troubleshooting and issue localization.
	//
	// example:
	//
	// A90E4451-FED7-49D2-87C8-00700A8C4D0D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The modified signature name.
	//
	// example:
	//
	// 登录验证
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
}

func (UpdateSmsSignResponseBody) GoString

func (s UpdateSmsSignResponseBody) GoString() string

func (*UpdateSmsSignResponseBody) SetCode

func (*UpdateSmsSignResponseBody) SetMessage

func (*UpdateSmsSignResponseBody) SetOrderId

func (*UpdateSmsSignResponseBody) SetRequestId

func (*UpdateSmsSignResponseBody) SetSignName

func (UpdateSmsSignResponseBody) String

func (s UpdateSmsSignResponseBody) String() string

type UpdateSmsSignShrinkRequest

type UpdateSmsSignShrinkRequest struct {
	// Application scenarios, instructions as follows:
	//
	// - For registered websites, please enter the domain name registered with MIIT, including HTTP or HTTPS.
	//
	// - For launched apps, provide the display link from the app store with HTTP or HTTPS, ensuring the app is online.
	//
	// - For public accounts or mini-programs, fill in the full name, ensuring they are online.
	//
	// - For e-commerce platform store names (for enterprise users only), provide the display link with HTTP or HTTPS.
	//
	// example:
	//
	// http://www.aliyun.com/
	ApplySceneContent *string `json:"ApplySceneContent,omitempty" xml:"ApplySceneContent,omitempty"`
	// Additional materials, such as uploading business proof documents or screenshots of business operations, to help reviewers understand your business details.
	MoreDataShrink *string `json:"MoreData,omitempty" xml:"MoreData,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// Approved or under-review qualification ID.
	//
	// > - Before applying for an SMS signature, please first [apply for qualifications](https://help.aliyun.com/zh/sms/user-guide/new-qualification?spm=a2c4g.11186623.0.0.718d187bbkpMRK).
	//
	// > - You can view the qualification ID on the [Qualification Management](https://dysms.console.aliyun.com/domestic/text/qualification) page.
	//
	// This parameter is required.
	//
	// example:
	//
	// 8563**
	QualificationId *int64 `json:"QualificationId,omitempty" xml:"QualificationId,omitempty"`
	// Explanation of the SMS signature scenario, with a maximum length of 200 characters.
	//
	// > The scenario explanation is one of the reference information for signature review. Please provide a detailed description of the usage scenarios of the launched business, along with verifiable information such as website links, registered domain addresses, app store download links, full names of public accounts or mini-programs, etc. For login scenarios, test account credentials are also required. A well-informed application explanation will enhance the efficiency of signature and template reviews. Refer to the **Application Scenarios*	- column in the [Signature Source](https://help.aliyun.com/zh/sms/user-guide/signature-specifications-1?spm=a2c4g.11186623.0.i2#section-xup-k46-yi4) table for filling in SMS scenarios.
	//
	// example:
	//
	// 登录场景申请验证码
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Signature not yet approved.
	//
	// This parameter is required.
	//
	// example:
	//
	// 阿里云验证码
	SignName *string `json:"SignName,omitempty" xml:"SignName,omitempty"`
	// Source of the signature. Values:
	//
	// - **0**: Full name or abbreviation of enterprises and institutions.
	//
	// - **1**: Full name or abbreviation of MIIT-registered websites.
	//
	// - **2**: Full name or abbreviation of app applications.
	//
	// - **3**: Full name or abbreviation of public accounts or mini-programs.
	//
	// - **4**: Full name or abbreviation of e-commerce platform store names.
	//
	// - **5**: Full name or abbreviation of trademarks.
	//
	// This parameter is required.
	//
	// example:
	//
	// 1
	SignSource *int32 `json:"SignSource,omitempty" xml:"SignSource,omitempty"`
	// Signature type. It is recommended to use the default value.
	//
	// - **0**: Verification code
	//
	// - **1**: General (default)
	//
	// example:
	//
	// 1
	SignType *int32 `json:"SignType,omitempty" xml:"SignType,omitempty"`
	// Whether the signature is for self-use or others.
	//
	// - false: Self-use
	//
	// - true: Others
	//
	// 	Notice: When the signature is for self-use, select the self-use qualification ID; when it\\"s for others, choose the others\\" qualification ID.
	//
	// example:
	//
	// false
	ThirdParty *bool `json:"ThirdParty,omitempty" xml:"ThirdParty,omitempty"`
}

func (UpdateSmsSignShrinkRequest) GoString

func (s UpdateSmsSignShrinkRequest) GoString() string

func (*UpdateSmsSignShrinkRequest) SetApplySceneContent

func (s *UpdateSmsSignShrinkRequest) SetApplySceneContent(v string) *UpdateSmsSignShrinkRequest

func (*UpdateSmsSignShrinkRequest) SetMoreDataShrink

func (*UpdateSmsSignShrinkRequest) SetOwnerId

func (*UpdateSmsSignShrinkRequest) SetQualificationId

func (*UpdateSmsSignShrinkRequest) SetRemark

func (*UpdateSmsSignShrinkRequest) SetResourceOwnerAccount

func (s *UpdateSmsSignShrinkRequest) SetResourceOwnerAccount(v string) *UpdateSmsSignShrinkRequest

func (*UpdateSmsSignShrinkRequest) SetResourceOwnerId

func (*UpdateSmsSignShrinkRequest) SetSignName

func (*UpdateSmsSignShrinkRequest) SetSignSource

func (*UpdateSmsSignShrinkRequest) SetSignType

func (*UpdateSmsSignShrinkRequest) SetThirdParty

func (UpdateSmsSignShrinkRequest) String

type UpdateSmsTemplateRequest

type UpdateSmsTemplateRequest struct {
	// Application scenarios, instructions as follows:
	//
	// - For registered websites, please enter the MIIT-registered domain with HTTP or HTTPS.
	//
	// - For launched apps, provide the app store display link with HTTP or HTTPS, ensuring the app is online.
	//
	// - For public accounts or mini-programs, enter the full name of the public account or mini-program, ensuring they are online.
	//
	// - For e-commerce platform stores, applicable only to enterprise users, enter the display link of the e-commerce store with HTTP or HTTPS.
	//
	// example:
	//
	// http://www.aliyun.com/
	ApplySceneContent *string `json:"ApplySceneContent,omitempty" xml:"ApplySceneContent,omitempty"`
	// International/Hong Kong, Macao, and Taiwan template type. When the **TemplateType*	- parameter is **3**, this parameter is required for international/Hong Kong, Macao, and Taiwan templates, with values:
	//
	// - **0**: Verification code.
	//
	// - **1**: SMS notification.
	//
	// - **2**: Promotional SMS.
	//
	// example:
	//
	// 0
	IntlType *int32 `json:"IntlType,omitempty" xml:"IntlType,omitempty"`
	// Additional information, such as uploading business proof documents or screenshots, to help reviewers understand your business details. Optional and can be left unset.
	MoreData []*string `json:"MoreData,omitempty" xml:"MoreData,omitempty" type:"Repeated"`
	OwnerId  *int64    `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// SMS signature associated with the template during the application.
	//
	// example:
	//
	// 阿里云
	RelatedSignName *string `json:"RelatedSignName,omitempty" xml:"RelatedSignName,omitempty"`
	// Explanation for the SMS template application, which serves as a reference for template review.
	//
	// example:
	//
	// 登录场景使用验证码
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Template Code of an unapproved template.
	//
	// This parameter is required.
	//
	// example:
	//
	// SMS_152550****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// Template content, up to 500 characters in length.
	//
	// Both the template content and variable content must comply with SMS regulations; otherwise, the template will fail the review. You can also view common template examples on the template application page. Using sample templates can enhance review efficiency and success rates. Variable specifications can be found in [TemplateContent Parameter Variable Specifications](https://help.aliyun.com/zh/sms/templaterule-template-variable-parameter-filling-example?spm).
	//
	// This parameter is required.
	//
	// example:
	//
	// 您正在申请手机注册,验证码为:${code},5分钟内有效!
	TemplateContent *string `json:"TemplateContent,omitempty" xml:"TemplateContent,omitempty"`
	// Template name, up to 30 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// 验证码
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// Template variable rules.
	//
	// For guidance on filling variable rules, refer to the [Sample Documentation](https://help.aliyun.com/zh/sms/templaterule-template-variable-parameter-filling-example?spm).
	//
	// example:
	//
	// {"code":"characterWithNumber"}
	TemplateRule *string `json:"TemplateRule,omitempty" xml:"TemplateRule,omitempty"`
	// SMS type. Values:
	//
	// - **0**: Verification code.
	//
	// - **1**: SMS notification.
	//
	// - **2**: Promotional SMS.
	//
	// - **3**: International/Hong Kong, Macao, and Taiwan messages.
	//
	// > Only enterprise-certified users can apply for promotional SMS and international/Hong Kong, Macao, and Taiwan messages. Details on differences between personal and enterprise user rights are available in [Usage Guidelines](https://help.aliyun.com/zh/sms/user-guide/usage-notes?spm=a2c4g.11186623.0.0.67447f576NJnE8).
	//
	// This parameter is required.
	//
	// example:
	//
	// 0
	TemplateType *int32 `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (UpdateSmsTemplateRequest) GoString

func (s UpdateSmsTemplateRequest) GoString() string

func (*UpdateSmsTemplateRequest) SetApplySceneContent

func (s *UpdateSmsTemplateRequest) SetApplySceneContent(v string) *UpdateSmsTemplateRequest

func (*UpdateSmsTemplateRequest) SetIntlType

func (*UpdateSmsTemplateRequest) SetMoreData

func (*UpdateSmsTemplateRequest) SetOwnerId

func (*UpdateSmsTemplateRequest) SetRelatedSignName

func (s *UpdateSmsTemplateRequest) SetRelatedSignName(v string) *UpdateSmsTemplateRequest

func (*UpdateSmsTemplateRequest) SetRemark

func (*UpdateSmsTemplateRequest) SetResourceOwnerAccount

func (s *UpdateSmsTemplateRequest) SetResourceOwnerAccount(v string) *UpdateSmsTemplateRequest

func (*UpdateSmsTemplateRequest) SetResourceOwnerId

func (s *UpdateSmsTemplateRequest) SetResourceOwnerId(v int64) *UpdateSmsTemplateRequest

func (*UpdateSmsTemplateRequest) SetTemplateCode

func (*UpdateSmsTemplateRequest) SetTemplateContent

func (s *UpdateSmsTemplateRequest) SetTemplateContent(v string) *UpdateSmsTemplateRequest

func (*UpdateSmsTemplateRequest) SetTemplateName

func (*UpdateSmsTemplateRequest) SetTemplateRule

func (*UpdateSmsTemplateRequest) SetTemplateType

func (UpdateSmsTemplateRequest) String

func (s UpdateSmsTemplateRequest) String() string

type UpdateSmsTemplateResponse

type UpdateSmsTemplateResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateSmsTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateSmsTemplateResponse) GoString

func (s UpdateSmsTemplateResponse) GoString() string

func (*UpdateSmsTemplateResponse) SetBody

func (*UpdateSmsTemplateResponse) SetHeaders

func (*UpdateSmsTemplateResponse) SetStatusCode

func (UpdateSmsTemplateResponse) String

func (s UpdateSmsTemplateResponse) String() string

type UpdateSmsTemplateResponseBody

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 (UpdateSmsTemplateResponseBody) GoString

func (*UpdateSmsTemplateResponseBody) SetCode

func (*UpdateSmsTemplateResponseBody) SetMessage

func (*UpdateSmsTemplateResponseBody) SetOrderId

func (*UpdateSmsTemplateResponseBody) SetRequestId

func (*UpdateSmsTemplateResponseBody) SetTemplateCode

func (*UpdateSmsTemplateResponseBody) SetTemplateName

func (UpdateSmsTemplateResponseBody) String

type UpdateSmsTemplateShrinkRequest

type UpdateSmsTemplateShrinkRequest struct {
	// Application scenarios, instructions as follows:
	//
	// - For registered websites, please enter the MIIT-registered domain with HTTP or HTTPS.
	//
	// - For launched apps, provide the app store display link with HTTP or HTTPS, ensuring the app is online.
	//
	// - For public accounts or mini-programs, enter the full name of the public account or mini-program, ensuring they are online.
	//
	// - For e-commerce platform stores, applicable only to enterprise users, enter the display link of the e-commerce store with HTTP or HTTPS.
	//
	// example:
	//
	// http://www.aliyun.com/
	ApplySceneContent *string `json:"ApplySceneContent,omitempty" xml:"ApplySceneContent,omitempty"`
	// International/Hong Kong, Macao, and Taiwan template type. When the **TemplateType*	- parameter is **3**, this parameter is required for international/Hong Kong, Macao, and Taiwan templates, with values:
	//
	// - **0**: Verification code.
	//
	// - **1**: SMS notification.
	//
	// - **2**: Promotional SMS.
	//
	// example:
	//
	// 0
	IntlType *int32 `json:"IntlType,omitempty" xml:"IntlType,omitempty"`
	// Additional information, such as uploading business proof documents or screenshots, to help reviewers understand your business details. Optional and can be left unset.
	MoreDataShrink *string `json:"MoreData,omitempty" xml:"MoreData,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// SMS signature associated with the template during the application.
	//
	// example:
	//
	// 阿里云
	RelatedSignName *string `json:"RelatedSignName,omitempty" xml:"RelatedSignName,omitempty"`
	// Explanation for the SMS template application, which serves as a reference for template review.
	//
	// example:
	//
	// 登录场景使用验证码
	Remark               *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// Template Code of an unapproved template.
	//
	// This parameter is required.
	//
	// example:
	//
	// SMS_152550****
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	// Template content, up to 500 characters in length.
	//
	// Both the template content and variable content must comply with SMS regulations; otherwise, the template will fail the review. You can also view common template examples on the template application page. Using sample templates can enhance review efficiency and success rates. Variable specifications can be found in [TemplateContent Parameter Variable Specifications](https://help.aliyun.com/zh/sms/templaterule-template-variable-parameter-filling-example?spm).
	//
	// This parameter is required.
	//
	// example:
	//
	// 您正在申请手机注册,验证码为:${code},5分钟内有效!
	TemplateContent *string `json:"TemplateContent,omitempty" xml:"TemplateContent,omitempty"`
	// Template name, up to 30 characters in length.
	//
	// This parameter is required.
	//
	// example:
	//
	// 验证码
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
	// Template variable rules.
	//
	// For guidance on filling variable rules, refer to the [Sample Documentation](https://help.aliyun.com/zh/sms/templaterule-template-variable-parameter-filling-example?spm).
	//
	// example:
	//
	// {"code":"characterWithNumber"}
	TemplateRule *string `json:"TemplateRule,omitempty" xml:"TemplateRule,omitempty"`
	// SMS type. Values:
	//
	// - **0**: Verification code.
	//
	// - **1**: SMS notification.
	//
	// - **2**: Promotional SMS.
	//
	// - **3**: International/Hong Kong, Macao, and Taiwan messages.
	//
	// > Only enterprise-certified users can apply for promotional SMS and international/Hong Kong, Macao, and Taiwan messages. Details on differences between personal and enterprise user rights are available in [Usage Guidelines](https://help.aliyun.com/zh/sms/user-guide/usage-notes?spm=a2c4g.11186623.0.0.67447f576NJnE8).
	//
	// This parameter is required.
	//
	// example:
	//
	// 0
	TemplateType *int32 `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (UpdateSmsTemplateShrinkRequest) GoString

func (*UpdateSmsTemplateShrinkRequest) SetApplySceneContent

func (*UpdateSmsTemplateShrinkRequest) SetIntlType

func (*UpdateSmsTemplateShrinkRequest) SetMoreDataShrink

func (*UpdateSmsTemplateShrinkRequest) SetOwnerId

func (*UpdateSmsTemplateShrinkRequest) SetRelatedSignName

func (*UpdateSmsTemplateShrinkRequest) SetRemark

func (*UpdateSmsTemplateShrinkRequest) SetResourceOwnerAccount

func (*UpdateSmsTemplateShrinkRequest) SetResourceOwnerId

func (*UpdateSmsTemplateShrinkRequest) SetTemplateCode

func (*UpdateSmsTemplateShrinkRequest) SetTemplateContent

func (*UpdateSmsTemplateShrinkRequest) SetTemplateName

func (*UpdateSmsTemplateShrinkRequest) SetTemplateRule

func (*UpdateSmsTemplateShrinkRequest) SetTemplateType

func (UpdateSmsTemplateShrinkRequest) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL