com.antgroup.antchain.openapi.bot.models.BaiQrcodeGenerateRespData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-bot Show documentation
Show all versions of openapi-bot Show documentation
Ant Chain BOT SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.bot.models;
import com.aliyun.tea.*;
public class BaiQrcodeGenerateRespData extends TeaModel {
// 二维码的base64字符串
@NameInMap("generate_result")
@Validation(required = true)
public String generateResult;
// 生成结果码
@NameInMap("generate_code")
@Validation(required = true)
public String generateCode;
// 用于异常场景下细化错误信息
@NameInMap("generate_message")
@Validation(required = true)
public String generateMessage;
// 生成失败时的解决方案,用于异常场景下细化错误信息
@NameInMap("unable_generate_solution")
@Validation(required = true)
public String unableGenerateSolution;
public static BaiQrcodeGenerateRespData build(java.util.Map map) throws Exception {
BaiQrcodeGenerateRespData self = new BaiQrcodeGenerateRespData();
return TeaModel.build(map, self);
}
public BaiQrcodeGenerateRespData setGenerateResult(String generateResult) {
this.generateResult = generateResult;
return this;
}
public String getGenerateResult() {
return this.generateResult;
}
public BaiQrcodeGenerateRespData setGenerateCode(String generateCode) {
this.generateCode = generateCode;
return this;
}
public String getGenerateCode() {
return this.generateCode;
}
public BaiQrcodeGenerateRespData setGenerateMessage(String generateMessage) {
this.generateMessage = generateMessage;
return this;
}
public String getGenerateMessage() {
return this.generateMessage;
}
public BaiQrcodeGenerateRespData setUnableGenerateSolution(String unableGenerateSolution) {
this.unableGenerateSolution = unableGenerateSolution;
return this;
}
public String getUnableGenerateSolution() {
return this.unableGenerateSolution;
}
}