1 package com.foxinmy.weixin4j.mp.model;
2
3 import java.io.Serializable;
4 import java.util.List;
5
6 import com.foxinmy.weixin4j.model.Button;
7
8
9
10
11
12
13
14
15
16
17 public class MenuSetting implements Serializable {
18
19 private static final long serialVersionUID = 2461505572495855830L;
20
21
22
23
24 private boolean isMenuOpen;
25
26
27
28 private List<Button> buttons;
29
30 public MenuSetting(boolean isMenuOpen, List<Button> buttons) {
31 this.isMenuOpen = isMenuOpen;
32 this.buttons = buttons;
33 }
34
35 public boolean isMenuOpen() {
36 return isMenuOpen;
37 }
38
39 public List<Button> getButtons() {
40 return buttons;
41 }
42
43 @Override
44 public String toString() {
45 return "MenuSetting [isMenuOpen=" + isMenuOpen + ", buttons=" + buttons
46 + "]";
47 }
48 }