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