All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alipay.api.domain.AlipayOpenPublicPersonalizedMenuCreateModel Maven / Gradle / Ivy

package com.alipay.api.domain;

import java.util.List;

import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;

/**
 * 个性化菜单创建
 *
 * @author auto create
 * @since 1.0, 2017-05-25 11:40:27
 */
public class AlipayOpenPublicPersonalizedMenuCreateModel extends AlipayObject {

	private static final long serialVersionUID = 4381855728728429561L;

	/**
	 * 一级菜单列表。最多有4个一级菜单,若开发者在后台打开了"咨询反馈"的开关,则只能有3个一级菜单。
	 */
	@ApiListField("button")
	@ApiField("button_object")
	private List button;

	/**
	 * 标签规则,目前限定只能传入1条,在个性化菜单创建成功后,满足该标签规则的用户进入生活号首页,将看到该套菜单。
	 */
	@ApiListField("label_rule")
	@ApiField("label_rule")
	private List labelRule;

	/**
	 * 菜单类型,支持值为icon:icon型菜单,text:文本型菜单,不传时默认为"text",当传值为"icon"时,菜单节点的icon字段必传。
	 */
	@ApiField("type")
	private String type;

	public List getButton() {
		return this.button;
	}
	public void setButton(List button) {
		this.button = button;
	}

	public List getLabelRule() {
		return this.labelRule;
	}
	public void setLabelRule(List labelRule) {
		this.labelRule = labelRule;
	}

	public String getType() {
		return this.type;
	}
	public void setType(String type) {
		this.type = type;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy