public class WxMnpWxaCodeBaseRequest extends Object implements Serializable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
WxMnpWxaCodeBaseRequest.Color |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Boolean |
autoColor
必填:否
default: false
自动配置线条颜色,如果颜色依然是黑色,则说明不建议配置主色调,默认 false
|
protected String |
envVersion
必填:否
default: release
要打开的小程序版本。
|
protected Boolean |
hyaline
必填:否
default: false
是否需要透明底色,为 true 时,生成透明底色的小程序
|
protected WxMnpWxaCodeBaseRequest.Color |
lineColor
必填:否
auto_color 为 false 时生效,使用 rgb 设置颜色
例如 {"r":"xxx","g":"xxx","b":"xxx"} 十进制表示
|
protected Integer |
width
必填:否
default: 430
二维码的宽度,单位 px,最小 280px,最大 1280px
|
| 构造器和说明 |
|---|
WxMnpWxaCodeBaseRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
getAutoColor() |
String |
getEnvVersion() |
Boolean |
getHyaline() |
WxMnpWxaCodeBaseRequest.Color |
getLineColor() |
Integer |
getWidth() |
void |
setAutoColor(Boolean autoColor) |
void |
setEnvVersion(String envVersion) |
void |
setHyaline(Boolean hyaline) |
void |
setLineColor(WxMnpWxaCodeBaseRequest.Color lineColor) |
void |
setWidth(Integer width) |
String |
toString() |
@SerializedName(value="env_version") protected String envVersion
protected Integer width
@SerializedName(value="auto_color") protected Boolean autoColor
@SerializedName(value="line_color") protected WxMnpWxaCodeBaseRequest.Color lineColor
@SerializedName(value="is_hyaline") protected Boolean hyaline
public String getEnvVersion()
public void setEnvVersion(String envVersion)
public Integer getWidth()
public void setWidth(Integer width)
public Boolean getAutoColor()
public void setAutoColor(Boolean autoColor)
public WxMnpWxaCodeBaseRequest.Color getLineColor()
public void setLineColor(WxMnpWxaCodeBaseRequest.Color lineColor)
public Boolean getHyaline()
public void setHyaline(Boolean hyaline)
Copyright © 2022. All rights reserved.