NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayOpenPublicPersonalize...

46 lines
1.8 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>
/// AlipayOpenPublicPersonalizedMenuCreateModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenPublicPersonalizedMenuCreateModel : AopObject
{
/// <summary>
/// 一级菜单列表。如果是文本菜单最多有3个一级菜单最多5个二级菜单如果是 ICON 菜单信息最多有80个一级菜单ICON菜单不支持二级菜单
/// </summary>
[XmlArray("button")]
[XmlArrayItem("button_object")]
public List<ButtonObject> Button { get; set; }
/// <summary>
/// 人群分组id。人群分组与标签规则不能同时为空
/// </summary>
[XmlElement("group_id")]
public string GroupId { get; set; }
/// <summary>
/// 标签规则目前限定只能传入1条在个性化菜单创建成功后满足该标签规则的用户进入生活号首页将看到该套菜单。人群分组ID与标签规则不能同时为空
/// </summary>
[XmlArray("label_rule")]
[XmlArrayItem("label_rule")]
public List<LabelRule> LabelRule { get; set; }
/// <summary>
/// 手机客户端类型iphone、android、wp,不填为不区分机型
/// </summary>
[XmlElement("mobile_client_type")]
public string MobileClientType { get; set; }
/// <summary>
/// 菜单类型支持值为iconicon型菜单text文本型菜单不传时默认为"text",当传值为"icon"时菜单节点的icon字段必传。
/// </summary>
[XmlElement("type")]
public string Type { get; set; }
}
}