WxaCodeUnlimitParameter.java
package com.foxinmy.weixin4j.wxa.api;
import java.io.Serializable;
import com.alibaba.fastjson.annotation.JSONField;
class WxaCodeUnlimitParameter implements Serializable {
private static final long serialVersionUID = 2018052201L;
private String scene;
private String page;
private Integer width;
private Boolean autoColor;
private Color color;
private Boolean hyaline;
public WxaCodeUnlimitParameter(
String scene,
String page,
Integer width,
Boolean autoColor,
java.awt.Color color,
Boolean hyaline
) {
this.scene = scene;
this.page = page;
this.width = width;
this.autoColor = autoColor;
if (color != null) {
this.color = new Color(color);
}
this.hyaline = hyaline;
}
public String getScene() {
return scene;
}
public void setScene(String scene) {
this.scene = scene;
}
public String getPage() {
return page;
}
public void setPage(String page) {
this.page = page;
}
public Integer getWidth() {
return width;
}
public void setWidth(Integer width) {
this.width = width;
}
@JSONField(name = "auto_color")
public Boolean getAutoColor() {
return autoColor;
}
public void setAutoColor(Boolean autoColor) {
this.autoColor = autoColor;
}
@JSONField(name = "line_color")
public Color getColor() {
return color;
}
public void setColor(Color color) {
this.color = color;
}
@JSONField(name = "is_hyaline")
public Boolean getHyaline() {
return hyaline;
}
public void setHyaline(Boolean hyaline) {
this.hyaline = hyaline;
}
}