NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayOpenPublicTemplateMes...

34 lines
1.3 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayOpenPublicTemplateMessageAddModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenPublicTemplateMessageAddModel : AopObject
{
/// <summary>
/// 自行组合模板关键词列表关键词顺序按数组顺序关键字名称不能重复最多支持5个最少2个关键词组合
/// </summary>
[XmlArray("keyword_list")]
[XmlArrayItem("public_msg_keyword")]
public List<PublicMsgKeyword> KeywordList { get; set; }
/// <summary>
/// 消息母板id登陆生活号后台(fuwu.alipay.com)点击菜单“模板消息”点击“模板库”即可看到相应模板的消息母板id
/// </summary>
[XmlElement("lib_code")]
public string LibCode { get; set; }
/// <summary>
/// 可选字段的选择,开头语(name=first),结束语(name=remark)以及图片(name=image)。选择使用的话则在入参中name中标识不选用任何可选字段可不传。
/// </summary>
[XmlArray("opt_list")]
[XmlArrayItem("public_msg_keyword")]
public List<PublicMsgKeyword> OptList { get; set; }
}
}