com.antgroup.antchain.openapi.twc.models.FinishFlowInstanceRequest 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 FinishFlowInstanceRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 流程id,通过twc.notary.instance.create(创建存证流程实例)获取
@NameInMap("flow_id")
@Validation(required = true)
public String flowId;
// 是否需要legal标,默认为false,如果需要则填true
@NameInMap("need_legal_logo")
public Boolean needLegalLogo;
// 证据包类型,默认为空,不需要证据包,如果需要则按需填写,目前支持ChainEvidencePack(链上证据包),其他包括LocalEvidencePack(链下证据包),链下证据包前置依赖链上证据包,因此填写链下证据包会先生成链上证据包。
// 链上证据包,即全流程所有阶段存证关系链上固化,生成全流程链上证据统一txHash;
// 链下证据包,即全流程所有内容生成链下压缩包文件。
@NameInMap("evidence_pack_type")
public String evidencePackType;
public static FinishFlowInstanceRequest build(java.util.Map map) throws Exception {
FinishFlowInstanceRequest self = new FinishFlowInstanceRequest();
return TeaModel.build(map, self);
}
public FinishFlowInstanceRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public FinishFlowInstanceRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public FinishFlowInstanceRequest setFlowId(String flowId) {
this.flowId = flowId;
return this;
}
public String getFlowId() {
return this.flowId;
}
public FinishFlowInstanceRequest setNeedLegalLogo(Boolean needLegalLogo) {
this.needLegalLogo = needLegalLogo;
return this;
}
public Boolean getNeedLegalLogo() {
return this.needLegalLogo;
}
public FinishFlowInstanceRequest setEvidencePackType(String evidencePackType) {
this.evidencePackType = evidencePackType;
return this;
}
public String getEvidencePackType() {
return this.evidencePackType;
}
}