com.riversoft.weixin.common.menu.MenuItem Maven / Gradle / Ivy
The newest version!
package com.riversoft.weixin.common.menu;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Created by exizhai on 9/25/2015.
*/
public class MenuItem implements Serializable {
private MenuType type;
private String name;
private String key;
//view, miniprogram 必须
private String url;
//media_id,view_limited 必须
@JsonProperty("media_id")
private String mediaId;
//小程序必须
@JsonProperty("appid")
private String appId;
@JsonProperty("pagepath")
private String pagePath;
@JsonProperty("sub_button")
private List