com.antgroup.antchain.openapi.twc.models.QueryFlowCertificateRequest 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 QueryFlowCertificateRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 流程id
@NameInMap("flow_id")
@Validation(required = true)
public String flowId;
// 证书类型,AntchainCertification(蚂蚁链存证证明)、OrgCertification(公证处存证证明),目前支持公证处
@NameInMap("certification_type")
@Validation(required = true)
public String certificationType;
// 通过twc.notary.flow.certificate.apply(存证全流程证明申请)获取到的订单号
@NameInMap("order_no")
@Validation(required = true)
public String orderNo;
public static QueryFlowCertificateRequest build(java.util.Map map) throws Exception {
QueryFlowCertificateRequest self = new QueryFlowCertificateRequest();
return TeaModel.build(map, self);
}
public QueryFlowCertificateRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public QueryFlowCertificateRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public QueryFlowCertificateRequest setFlowId(String flowId) {
this.flowId = flowId;
return this;
}
public String getFlowId() {
return this.flowId;
}
public QueryFlowCertificateRequest setCertificationType(String certificationType) {
this.certificationType = certificationType;
return this;
}
public String getCertificationType() {
return this.certificationType;
}
public QueryFlowCertificateRequest setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public String getOrderNo() {
return this.orderNo;
}
}