com.antgroup.antchain.openapi.twc.models.GetContractFileResponse 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 GetContractFileResponse extends TeaModel {
// 请求唯一ID,用于链路跟踪和问题排查
@NameInMap("req_msg_id")
public String reqMsgId;
// 结果码,一般OK表示调用成功
@NameInMap("result_code")
public String resultCode;
// 异常信息的文本描述
@NameInMap("result_msg")
public String resultMsg;
// 业务码,0表示成功
@NameInMap("code")
public Long code;
// 业务码信息
@NameInMap("message")
public String message;
// 文件id
@NameInMap("file_id")
public String fileId;
// 文件名称
@NameInMap("name")
public String name;
// 下载地址
@NameInMap("download_url")
public String downloadUrl;
// 文件大小,单位byte
@NameInMap("size")
public Long size;
// 文件状态, 0:文件未上传;1:文件上传中 ;2:文件上传已完成,;3:文件上传失败 ;4:文件等待转pdf ;5:文件已转换pdf 。
@NameInMap("status")
public Long status;
// pdf文件总页数,仅当文件类型为pdf时有值
@NameInMap("pdf_total_pages")
public Long pdfTotalPages;
public static GetContractFileResponse build(java.util.Map map) throws Exception {
GetContractFileResponse self = new GetContractFileResponse();
return TeaModel.build(map, self);
}
public GetContractFileResponse setReqMsgId(String reqMsgId) {
this.reqMsgId = reqMsgId;
return this;
}
public String getReqMsgId() {
return this.reqMsgId;
}
public GetContractFileResponse setResultCode(String resultCode) {
this.resultCode = resultCode;
return this;
}
public String getResultCode() {
return this.resultCode;
}
public GetContractFileResponse setResultMsg(String resultMsg) {
this.resultMsg = resultMsg;
return this;
}
public String getResultMsg() {
return this.resultMsg;
}
public GetContractFileResponse setCode(Long code) {
this.code = code;
return this;
}
public Long getCode() {
return this.code;
}
public GetContractFileResponse setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public GetContractFileResponse setFileId(String fileId) {
this.fileId = fileId;
return this;
}
public String getFileId() {
return this.fileId;
}
public GetContractFileResponse setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetContractFileResponse setDownloadUrl(String downloadUrl) {
this.downloadUrl = downloadUrl;
return this;
}
public String getDownloadUrl() {
return this.downloadUrl;
}
public GetContractFileResponse setSize(Long size) {
this.size = size;
return this;
}
public Long getSize() {
return this.size;
}
public GetContractFileResponse setStatus(Long status) {
this.status = status;
return this;
}
public Long getStatus() {
return this.status;
}
public GetContractFileResponse setPdfTotalPages(Long pdfTotalPages) {
this.pdfTotalPages = pdfTotalPages;
return this;
}
public Long getPdfTotalPages() {
return this.pdfTotalPages;
}
}