com.antgroup.antchain.openapi.twc.models.QueryStubCertificateRequest 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 QueryStubCertificateRequest 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.stub.certificate.apply(数字票根全流程出证申请)获取到的订单号
@NameInMap("order_no")
@Validation(required = true)
public String orderNo;
public static QueryStubCertificateRequest build(java.util.Map map) throws Exception {
QueryStubCertificateRequest self = new QueryStubCertificateRequest();
return TeaModel.build(map, self);
}
public QueryStubCertificateRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public QueryStubCertificateRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public QueryStubCertificateRequest setFlowId(String flowId) {
this.flowId = flowId;
return this;
}
public String getFlowId() {
return this.flowId;
}
public QueryStubCertificateRequest setCertificationType(String certificationType) {
this.certificationType = certificationType;
return this;
}
public String getCertificationType() {
return this.certificationType;
}
public QueryStubCertificateRequest setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public String getOrderNo() {
return this.orderNo;
}
}