using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Alipay.AopSdk.Core.Domain { /// /// AlipayOpenPublicPersonalizedMenuCreateModel Data Structure. /// [Serializable] public class AlipayOpenPublicPersonalizedMenuCreateModel : AopObject { /// /// 一级菜单列表。最多有4个一级菜单,若开发者在后台打开了"咨询反馈"的开关,则只能有3个一级菜单。 /// [JsonProperty("button")] public List Button { get; set; } /// /// 标签规则,目前限定只能传入1条,在个性化菜单创建成功后,满足该标签规则的用户进入生活号首页,将看到该套菜单。 /// [JsonProperty("label_rule")] public List LabelRule { get; set; } /// /// 菜单类型,支持值为icon:icon型菜单,text:文本型菜单,不传时默认为"text",当传值为"icon"时,菜单节点的icon字段必传。 /// [JsonProperty("type")] public string Type { get; set; } } }