All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.antgroup.antchain.openapi.twc.models.QueryFlowOnestepnotaryRequest Maven / Gradle / Ivy

There is a newer version: 1.12.23
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;

import com.aliyun.tea.*;

public class QueryFlowOnestepnotaryRequest extends TeaModel {
    // OAuth模式下的授权token
    @NameInMap("auth_token")
    public String authToken;

    @NameInMap("product_instance_id")
    public String productInstanceId;

    // 流程id,通过twc.notary.flow.onestepnotary.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 QueryFlowOnestepnotaryRequest build(java.util.Map map) throws Exception {
        QueryFlowOnestepnotaryRequest self = new QueryFlowOnestepnotaryRequest();
        return TeaModel.build(map, self);
    }

    public QueryFlowOnestepnotaryRequest setAuthToken(String authToken) {
        this.authToken = authToken;
        return this;
    }
    public String getAuthToken() {
        return this.authToken;
    }

    public QueryFlowOnestepnotaryRequest setProductInstanceId(String productInstanceId) {
        this.productInstanceId = productInstanceId;
        return this;
    }
    public String getProductInstanceId() {
        return this.productInstanceId;
    }

    public QueryFlowOnestepnotaryRequest setFlowId(String flowId) {
        this.flowId = flowId;
        return this;
    }
    public String getFlowId() {
        return this.flowId;
    }

    public QueryFlowOnestepnotaryRequest setNeedLegalLogo(Boolean needLegalLogo) {
        this.needLegalLogo = needLegalLogo;
        return this;
    }
    public Boolean getNeedLegalLogo() {
        return this.needLegalLogo;
    }

    public QueryFlowOnestepnotaryRequest setEvidencePackType(String evidencePackType) {
        this.evidencePackType = evidencePackType;
        return this;
    }
    public String getEvidencePackType() {
        return this.evidencePackType;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy