com.antgroup.antchain.openapi.twc.models.NotaryCheckMeta 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 NotaryCheckMeta extends TeaModel {
// 对应的法院编号
@NameInMap("agency_code")
public String agencyCode;
// 哈希算法, notary_type 为 HASH 时此参数必填
@NameInMap("hash_algorithm")
public String hashAlgorithm;
// 存证内容
@NameInMap("notary_content")
@Validation(required = true)
public String notaryContent;
// 交易哈希
@NameInMap("tx_hash")
@Validation(required = true)
public String txHash;
// 应用ID
@NameInMap("application_code")
public String applicationCode;
public static NotaryCheckMeta build(java.util.Map map) throws Exception {
NotaryCheckMeta self = new NotaryCheckMeta();
return TeaModel.build(map, self);
}
public NotaryCheckMeta setAgencyCode(String agencyCode) {
this.agencyCode = agencyCode;
return this;
}
public String getAgencyCode() {
return this.agencyCode;
}
public NotaryCheckMeta setHashAlgorithm(String hashAlgorithm) {
this.hashAlgorithm = hashAlgorithm;
return this;
}
public String getHashAlgorithm() {
return this.hashAlgorithm;
}
public NotaryCheckMeta setNotaryContent(String notaryContent) {
this.notaryContent = notaryContent;
return this;
}
public String getNotaryContent() {
return this.notaryContent;
}
public NotaryCheckMeta setTxHash(String txHash) {
this.txHash = txHash;
return this;
}
public String getTxHash() {
return this.txHash;
}
public NotaryCheckMeta setApplicationCode(String applicationCode) {
this.applicationCode = applicationCode;
return this;
}
public String getApplicationCode() {
return this.applicationCode;
}
}