com.antgroup.antchain.openapi.twc.models.CreateContractTemplateResponse 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 CreateContractTemplateResponse 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("template_id")
public String templateId;
// 文件直传地址,需要用此上传地址使用put方式上传文件,只有文件上传后模板才可用
@NameInMap("upload_url")
public String uploadUrl;
public static CreateContractTemplateResponse build(java.util.Map map) throws Exception {
CreateContractTemplateResponse self = new CreateContractTemplateResponse();
return TeaModel.build(map, self);
}
public CreateContractTemplateResponse setReqMsgId(String reqMsgId) {
this.reqMsgId = reqMsgId;
return this;
}
public String getReqMsgId() {
return this.reqMsgId;
}
public CreateContractTemplateResponse setResultCode(String resultCode) {
this.resultCode = resultCode;
return this;
}
public String getResultCode() {
return this.resultCode;
}
public CreateContractTemplateResponse setResultMsg(String resultMsg) {
this.resultMsg = resultMsg;
return this;
}
public String getResultMsg() {
return this.resultMsg;
}
public CreateContractTemplateResponse setCode(Long code) {
this.code = code;
return this;
}
public Long getCode() {
return this.code;
}
public CreateContractTemplateResponse setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreateContractTemplateResponse setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public CreateContractTemplateResponse setUploadUrl(String uploadUrl) {
this.uploadUrl = uploadUrl;
return this;
}
public String getUploadUrl() {
return this.uploadUrl;
}
}