com.antgroup.antchain.openapi.twc.models.QueryContractTaskRequest 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 QueryContractTaskRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 创建任务时,返回的任务id
@NameInMap("task_id")
@Validation(required = true)
public String taskId;
// 任务类型
@NameInMap("task_type")
@Validation(required = true)
public String taskType;
public static QueryContractTaskRequest build(java.util.Map map) throws Exception {
QueryContractTaskRequest self = new QueryContractTaskRequest();
return TeaModel.build(map, self);
}
public QueryContractTaskRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public QueryContractTaskRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public QueryContractTaskRequest setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
public QueryContractTaskRequest setTaskType(String taskType) {
this.taskType = taskType;
return this;
}
public String getTaskType() {
return this.taskType;
}
}