com.antgroup.antchain.openapi.deps.models.CreatePlanRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-deps Show documentation
Show all versions of openapi-deps Show documentation
Ant Chain deps SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.deps.models;
import com.aliyun.tea.*;
public class CreatePlanRequest extends TeaModel {
@NameInMap("auth_token")
public String authToken;
@NameInMap("tenant")
public String tenant;
// data
@NameInMap("data")
@Validation(required = true)
public String data;
// from aliyun
@NameInMap("from_aliyun")
public Boolean fromAliyun;
// workspace
@NameInMap("workspace")
@Validation(required = true)
public String workspace;
public static CreatePlanRequest build(java.util.Map map) throws Exception {
CreatePlanRequest self = new CreatePlanRequest();
return TeaModel.build(map, self);
}
public CreatePlanRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public CreatePlanRequest setTenant(String tenant) {
this.tenant = tenant;
return this;
}
public String getTenant() {
return this.tenant;
}
public CreatePlanRequest setData(String data) {
this.data = data;
return this;
}
public String getData() {
return this.data;
}
public CreatePlanRequest setFromAliyun(Boolean fromAliyun) {
this.fromAliyun = fromAliyun;
return this;
}
public Boolean getFromAliyun() {
return this.fromAliyun;
}
public CreatePlanRequest setWorkspace(String workspace) {
this.workspace = workspace;
return this;
}
public String getWorkspace() {
return this.workspace;
}
}