com.antgroup.antchain.openapi.twc.models.EvidentialCheckList 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 EvidentialCheckList extends TeaModel {
// 证据名称英文
@NameInMap("evidential_name_en")
@Validation(required = true)
public String evidentialNameEn;
// 文件名称
@NameInMap("oss_file_name")
@Validation(required = true)
public String ossFileName;
// 文件fileKey ,调用获取文件上传链接时对应的fileKey
@NameInMap("oss_file_key")
@Validation(required = true)
public String ossFileKey;
// 证据来源
// BUSINESS_UPLOAD 业务传入
// ADD_MANULLY 手动添加
@NameInMap("sources_of_evidence")
@Validation(required = true)
public String sourcesOfEvidence;
// 证据类型
// BLOCKCHAIN_DEPOSIT 区块链存证
// USER_UPLOAD 用户上传
@NameInMap("evidence_type")
@Validation(required = true)
public String evidenceType;
// 存证类型
// TEXT 文本
// FILE 文件
@NameInMap("deposit_type")
@Validation(required = true)
public String depositType;
// 存证哈希 当为区块链存证必填
@NameInMap("tx_hash")
public String txHash;
// 存证时间 当为区块链存证必填
@NameInMap("deposit_time")
public String depositTime;
public static EvidentialCheckList build(java.util.Map map) throws Exception {
EvidentialCheckList self = new EvidentialCheckList();
return TeaModel.build(map, self);
}
public EvidentialCheckList setEvidentialNameEn(String evidentialNameEn) {
this.evidentialNameEn = evidentialNameEn;
return this;
}
public String getEvidentialNameEn() {
return this.evidentialNameEn;
}
public EvidentialCheckList setOssFileName(String ossFileName) {
this.ossFileName = ossFileName;
return this;
}
public String getOssFileName() {
return this.ossFileName;
}
public EvidentialCheckList setOssFileKey(String ossFileKey) {
this.ossFileKey = ossFileKey;
return this;
}
public String getOssFileKey() {
return this.ossFileKey;
}
public EvidentialCheckList setSourcesOfEvidence(String sourcesOfEvidence) {
this.sourcesOfEvidence = sourcesOfEvidence;
return this;
}
public String getSourcesOfEvidence() {
return this.sourcesOfEvidence;
}
public EvidentialCheckList setEvidenceType(String evidenceType) {
this.evidenceType = evidenceType;
return this;
}
public String getEvidenceType() {
return this.evidenceType;
}
public EvidentialCheckList setDepositType(String depositType) {
this.depositType = depositType;
return this;
}
public String getDepositType() {
return this.depositType;
}
public EvidentialCheckList setTxHash(String txHash) {
this.txHash = txHash;
return this;
}
public String getTxHash() {
return this.txHash;
}
public EvidentialCheckList setDepositTime(String depositTime) {
this.depositTime = depositTime;
return this;
}
public String getDepositTime() {
return this.depositTime;
}
}