public class WxMenu extends Object implements Serializable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
WxMenu.WxMenuButton |
static class |
WxMenu.WxMenuRule |
| 构造器和说明 |
|---|
WxMenu() |
| 限定符和类型 | 方法和说明 |
|---|---|
static WxMenu |
fromJson(InputStream is)
要用 http://mp.weixin.qq.com/wiki/16/ff9b7b85220e1396ffa16794a9d95adc.html 格式来反序列化
相比 http://mp.weixin.qq.com/wiki/13/43de8269be54a0a6f64413e4dfa94f39.html 的格式,外层多套了一个menu
|
static WxMenu |
fromJson(String json)
要用 http://mp.weixin.qq.com/wiki/16/ff9b7b85220e1396ffa16794a9d95adc.html 格式来反序列化
相比 http://mp.weixin.qq.com/wiki/13/43de8269be54a0a6f64413e4dfa94f39.html 的格式,外层多套了一个menu
|
List<WxMenu.WxMenuButton> |
getButtons() |
WxMenu.WxMenuRule |
getMatchRule() |
void |
setButtons(List<WxMenu.WxMenuButton> buttons) |
void |
setMatchRule(WxMenu.WxMenuRule matchRule) |
String |
toJson() |
String |
toString() |
public List<WxMenu.WxMenuButton> getButtons()
public void setButtons(List<WxMenu.WxMenuButton> buttons)
public WxMenu.WxMenuRule getMatchRule()
public void setMatchRule(WxMenu.WxMenuRule matchRule)
public String toJson()
public static WxMenu fromJson(String json)
public static WxMenu fromJson(InputStream is)
Copyright © 2016. All rights reserved.