View Javadoc
1   package com.foxinmy.weixin4j.wxa.api;
2   
3   import java.io.Serializable;
4   
5   import com.alibaba.fastjson.annotation.JSONField;
6   
7   class WxaCodeUnlimitParameter implements Serializable {
8   
9   	private static final long serialVersionUID = 2018052201L;
10  
11  	private String scene;
12  	private String page;
13  	private Integer width;
14  	private Boolean autoColor;
15  	private Color color;
16  	private Boolean hyaline;
17  
18  	public WxaCodeUnlimitParameter(
19  		String scene,
20  		String page,
21  		Integer width,
22  		Boolean autoColor,
23  		java.awt.Color color,
24  		Boolean hyaline
25  	) {
26  		this.scene = scene;
27  		this.page = page;
28  		this.width = width;
29  		this.autoColor = autoColor;
30  		if (color != null) {
31  			this.color = new Color(color);
32  		}
33  		this.hyaline = hyaline;
34  	}
35  
36  	public String getScene() {
37  		return scene;
38  	}
39  
40  	public void setScene(String scene) {
41  		this.scene = scene;
42  	}
43  
44  	public String getPage() {
45  		return page;
46  	}
47  
48  	public void setPage(String page) {
49  		this.page = page;
50  	}
51  
52  	public Integer getWidth() {
53  		return width;
54  	}
55  
56  	public void setWidth(Integer width) {
57  		this.width = width;
58  	}
59  
60  	@JSONField(name = "auto_color")
61  	public Boolean getAutoColor() {
62  		return autoColor;
63  	}
64  
65  	public void setAutoColor(Boolean autoColor) {
66  		this.autoColor = autoColor;
67  	}
68  
69  	@JSONField(name = "line_color")
70  	public Color getColor() {
71  		return color;
72  	}
73  
74  	public void setColor(Color color) {
75  		this.color = color;
76  	}
77  
78  	@JSONField(name = "is_hyaline")
79  	public Boolean getHyaline() {
80  		return hyaline;
81  	}
82  
83  	public void setHyaline(Boolean hyaline) {
84  		this.hyaline = hyaline;
85  	}
86  
87  }