Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/AlipayOpenPublicPersonalizedMenuCreateModel.cs

33 lines
1.1 KiB
C#
Raw Permalink Normal View History

2024-04-10 13:55:27 +08:00
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>
/// 菜单类型支持值为iconicon型菜单text文本型菜单不传时默认为"text",当传值为"icon"时菜单节点的icon字段必传。
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
}
}