com.antgroup.antchain.openapi.twc.models.PhaseQueryResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-twc Show documentation
Show all versions of openapi-twc Show documentation
Ant Chain TWC SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;
import com.aliyun.tea.*;
public class PhaseQueryResult extends TeaModel {
// 阶段ID
@NameInMap("phase_id")
@Validation(required = true)
public String phaseId;
// 阶段存证的链上交易Hash,只有status为FINISH才会返回
@NameInMap("tx_hash")
@Validation(required = true)
public String txHash;
// 阶段存证状态
@NameInMap("status")
@Validation(required = true)
public String status;
// 阶段注册成功时间戳
@NameInMap("register_time")
@Validation(required = true)
public Long registerTime;
public static PhaseQueryResult build(java.util.Map map) throws Exception {
PhaseQueryResult self = new PhaseQueryResult();
return TeaModel.build(map, self);
}
public PhaseQueryResult setPhaseId(String phaseId) {
this.phaseId = phaseId;
return this;
}
public String getPhaseId() {
return this.phaseId;
}
public PhaseQueryResult setTxHash(String txHash) {
this.txHash = txHash;
return this;
}
public String getTxHash() {
return this.txHash;
}
public PhaseQueryResult setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public PhaseQueryResult setRegisterTime(Long registerTime) {
this.registerTime = registerTime;
return this;
}
public Long getRegisterTime() {
return this.registerTime;
}
}