com.aliyun.dataworks_public20200518.models.GetDagRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dataworks_public20200518 Show documentation
Show all versions of dataworks_public20200518 Show documentation
Alibaba Cloud dataworks-public (20200518) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dataworks_public20200518.models;
import com.aliyun.tea.*;
public class GetDagRequest extends TeaModel {
/**
* The ID of the DAG. You can use one of the following method to obtain the ID:
*
* - Call the RunCycleDagNodes operation and obtain the value of the Data response parameter.
* - Call the RunSmokeTest operation and obtain the value of the Data response parameter.
* - Call the RunManualDagNodes operation and obtain the value of the DagId response parameter.
*
* This parameter is required.
*
* example:
* 123141452344525
*/
@NameInMap("DagId")
public Long dagId;
/**
* The environment of the workspace. Valid values: PROD and DEV.
* This parameter is required.
*
* example:
* PROD
*/
@NameInMap("ProjectEnv")
public String projectEnv;
public static GetDagRequest build(java.util.Map map) throws Exception {
GetDagRequest self = new GetDagRequest();
return TeaModel.build(map, self);
}
public GetDagRequest setDagId(Long dagId) {
this.dagId = dagId;
return this;
}
public Long getDagId() {
return this.dagId;
}
public GetDagRequest setProjectEnv(String projectEnv) {
this.projectEnv = projectEnv;
return this;
}
public String getProjectEnv() {
return this.projectEnv;
}
}