package io.github.rcarlosdasilva.weixin.model.response.menu.bean;

import java.util.List;

import com.google.gson.annotations.SerializedName;

public class Menu {

  @SerializedName("button")
  private List<Button> buttons;
  @SerializedName("menuid")
  private long menuId;
  @SerializedName("matchrule")
  private MatchRule matchRule;

  /**
   * 菜单按钮列表.
   * 
   * @return list of {@link Button}
   */
  public List<Button> getButtons() {
    return buttons;
  }

  /**
   * 菜单id.
   * 
   * @return menu id
   */
  public long getMenuId() {
    return menuId;
  }

  /**
   * 匹配规则.
   * 
   * @return {@link MatchRule}
   */
  public MatchRule getMatchRule() {
    return matchRule;
  }

}

@@ -322,16 +322,21 @@
 private 
+List%3C
 MatchRul
@@ -336,16 +336,17 @@
 atchRule
+%3E
  matchRu
@@ -675,16 +675,21 @@
  public 
+List%3C
 MatchRul
@@ -689,16 +689,17 @@
 atchRule
+%3E
  getMatc

修复 获取菜单配置时，个性化菜单应为列表