com.antgroup.antchain.openapi.bot.models.StartThingsdidRegisterResponse 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 StartThingsdidRegisterResponse extends TeaModel {
// 请求唯一ID,用于链路跟踪和问题排查
@NameInMap("req_msg_id")
public String reqMsgId;
// 结果码,一般OK表示调用成功
@NameInMap("result_code")
public String resultCode;
// 异常信息的文本描述
@NameInMap("result_msg")
public String resultMsg;
// 代表本操作是否是异步调用
// true: 执行完全,非异步操作
// false: 异步执行,需要根据nonce轮训状态
@NameInMap("executed")
public Boolean executed;
// 代表唯一交易ID,等于输入参数同名字段
@NameInMap("nonce")
public String nonce;
// 注册成功返回的实体身份DID
@NameInMap("thing_did")
public String thingDid;
public static StartThingsdidRegisterResponse build(java.util.Map map) throws Exception {
StartThingsdidRegisterResponse self = new StartThingsdidRegisterResponse();
return TeaModel.build(map, self);
}
public StartThingsdidRegisterResponse setReqMsgId(String reqMsgId) {
this.reqMsgId = reqMsgId;
return this;
}
public String getReqMsgId() {
return this.reqMsgId;
}
public StartThingsdidRegisterResponse setResultCode(String resultCode) {
this.resultCode = resultCode;
return this;
}
public String getResultCode() {
return this.resultCode;
}
public StartThingsdidRegisterResponse setResultMsg(String resultMsg) {
this.resultMsg = resultMsg;
return this;
}
public String getResultMsg() {
return this.resultMsg;
}
public StartThingsdidRegisterResponse setExecuted(Boolean executed) {
this.executed = executed;
return this;
}
public Boolean getExecuted() {
return this.executed;
}
public StartThingsdidRegisterResponse setNonce(String nonce) {
this.nonce = nonce;
return this;
}
public String getNonce() {
return this.nonce;
}
public StartThingsdidRegisterResponse setThingDid(String thingDid) {
this.thingDid = thingDid;
return this;
}
public String getThingDid() {
return this.thingDid;
}
}