com.antgroup.antchain.openapi.twc.models.ContractNotaryInfo 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 ContractNotaryInfo extends TeaModel {
// 存证地址
@NameInMap("tx_hash")
@Validation(required = true)
public String txHash;
// 存证相关联的文档ID
@NameInMap("doc_id")
public String docId;
// 存证的内容哈希值
@NameInMap("content_hash")
public String contentHash;
// 存证事务ID
@NameInMap("transaction_id")
@Validation(required = true)
public String transactionId;
public static ContractNotaryInfo build(java.util.Map map) throws Exception {
ContractNotaryInfo self = new ContractNotaryInfo();
return TeaModel.build(map, self);
}
public ContractNotaryInfo setTxHash(String txHash) {
this.txHash = txHash;
return this;
}
public String getTxHash() {
return this.txHash;
}
public ContractNotaryInfo setDocId(String docId) {
this.docId = docId;
return this;
}
public String getDocId() {
return this.docId;
}
public ContractNotaryInfo setContentHash(String contentHash) {
this.contentHash = contentHash;
return this;
}
public String getContentHash() {
return this.contentHash;
}
public ContractNotaryInfo setTransactionId(String transactionId) {
this.transactionId = transactionId;
return this;
}
public String getTransactionId() {
return this.transactionId;
}
}