public class CreateCardSmsTemplateShrinkRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
factorys
The mobile phone manufacturer.
|
String |
memo
The description of the message template.
|
String |
templateName
The name of the card message template.
|
String |
templateShrink
The content of the card message template.
|
| 构造器和说明 |
|---|
CreateCardSmsTemplateShrinkRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateCardSmsTemplateShrinkRequest |
build(Map<String,?> map) |
String |
getFactorys() |
String |
getMemo() |
String |
getTemplateName() |
String |
getTemplateShrink() |
CreateCardSmsTemplateShrinkRequest |
setFactorys(String factorys) |
CreateCardSmsTemplateShrinkRequest |
setMemo(String memo) |
CreateCardSmsTemplateShrinkRequest |
setTemplateName(String templateName) |
CreateCardSmsTemplateShrinkRequest |
setTemplateShrink(String templateShrink) |
@NameInMap(value="Factorys") public String factorys
The mobile phone manufacturer. Valid values:
example:If this parameter is not specified, the system automatically specifies a supported mobile phone manufacturer.
XiaoMi
@NameInMap(value="Memo") public String memo
The description of the message template.
example:Image and Text Template
@NameInMap(value="Template") public String templateShrink
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.
Message template content varies based on the template type. For more information, see Sample message templates.
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 }
@NameInMap(value="TemplateName") public String templateName
The name of the card message template.
This parameter is required.
example:Aliyun Image and Text Template
public static CreateCardSmsTemplateShrinkRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateCardSmsTemplateShrinkRequest setFactorys(String factorys)
public String getFactorys()
public CreateCardSmsTemplateShrinkRequest setMemo(String memo)
public String getMemo()
public CreateCardSmsTemplateShrinkRequest setTemplateShrink(String templateShrink)
public String getTemplateShrink()
public CreateCardSmsTemplateShrinkRequest setTemplateName(String templateName)
public String getTemplateName()
Copyright © 2024. All rights reserved.