com.antgroup.antchain.openapi.twc.models.QueryStubRequest 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 QueryStubRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 流程id,通过twc.notary.stub.create接口获取
@NameInMap("flow_id")
@Validation(required = true)
public String flowId;
// 是否需要legal标,默认为false,如果需要则填true
@NameInMap("need_legal_logo")
public Boolean needLegalLogo;
public static QueryStubRequest build(java.util.Map map) throws Exception {
QueryStubRequest self = new QueryStubRequest();
return TeaModel.build(map, self);
}
public QueryStubRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public QueryStubRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public QueryStubRequest setFlowId(String flowId) {
this.flowId = flowId;
return this;
}
public String getFlowId() {
return this.flowId;
}
public QueryStubRequest setNeedLegalLogo(Boolean needLegalLogo) {
this.needLegalLogo = needLegalLogo;
return this;
}
public Boolean getNeedLegalLogo() {
return this.needLegalLogo;
}
}