com.aliyun.dms_enterprise20181101.models.ListLhTaskFlowAndScenarioResponseBody Maven / Gradle / Ivy
Show all versions of dms_enterprise20181101 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dms_enterprise20181101.models;
import com.aliyun.tea.*;
public class ListLhTaskFlowAndScenarioResponseBody extends TeaModel {
/**
* The error code returned if the request fails.
*
* example:
* UnknownError
*/
@NameInMap("ErrorCode")
public String errorCode;
/**
* The error message returned if the request fails.
*
* example:
* UnknownError
*/
@NameInMap("ErrorMessage")
public String errorMessage;
/**
* The task flows in the default business scenario.
*/
@NameInMap("RawDAGList")
public ListLhTaskFlowAndScenarioResponseBodyRawDAGList rawDAGList;
/**
* The ID of the request.
*
* example:
* 48602B78-0DDF-414C-8688-70CAB6070115
*/
@NameInMap("RequestId")
public String requestId;
/**
* The task flows in other business scenarios.
*/
@NameInMap("ScenarioDAGList")
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGList scenarioDAGList;
/**
* Indicates whether the request is successful. Valid values:
*
* - true: The request is successful.
* - false: The request fails.
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static ListLhTaskFlowAndScenarioResponseBody build(java.util.Map map) throws Exception {
ListLhTaskFlowAndScenarioResponseBody self = new ListLhTaskFlowAndScenarioResponseBody();
return TeaModel.build(map, self);
}
public ListLhTaskFlowAndScenarioResponseBody setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public ListLhTaskFlowAndScenarioResponseBody setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public ListLhTaskFlowAndScenarioResponseBody setRawDAGList(ListLhTaskFlowAndScenarioResponseBodyRawDAGList rawDAGList) {
this.rawDAGList = rawDAGList;
return this;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGList getRawDAGList() {
return this.rawDAGList;
}
public ListLhTaskFlowAndScenarioResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public ListLhTaskFlowAndScenarioResponseBody setScenarioDAGList(ListLhTaskFlowAndScenarioResponseBodyScenarioDAGList scenarioDAGList) {
this.scenarioDAGList = scenarioDAGList;
return this;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGList getScenarioDAGList() {
return this.scenarioDAGList;
}
public ListLhTaskFlowAndScenarioResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag extends TeaModel {
/**
* Indicates whether the task flow can be modified. Valid values:
*
* - true: The task flow can be modified.
* - false: The task flow cannot be modified.
*
*
* example:
* true
*/
@NameInMap("CanEdit")
public Boolean canEdit;
/**
* The ID of the user who creates the task flow.
*
* example:
* 51****
*/
@NameInMap("CreatorId")
public String creatorId;
/**
* The name of the user who creates the workspace.
*
* example:
* Creator_Name
*/
@NameInMap("CreatorNickName")
public String creatorNickName;
/**
* The name of the task flow.
*
* example:
* Dag_Name
*/
@NameInMap("DagName")
public String dagName;
/**
* The user ID of the task flow owner.
*
* example:
* 51****
*/
@NameInMap("DagOwnerId")
public String dagOwnerId;
/**
* The name of the task flow owner.
*
* example:
* Owner_Name
*/
@NameInMap("DagOwnerNickName")
public String dagOwnerNickName;
/**
* The extended field. No meaning is specified for this field.
*
* example:
*
*
*
*/
@NameInMap("DataFlowId")
public Long dataFlowId;
/**
* The extended field. No meaning is specified for this field.
*
* example:
*
*
*
*/
@NameInMap("DemoId")
public String demoId;
/**
* The ID of the latest deployment record.
*
* example:
* 12**
*/
@NameInMap("DeployId")
public Long deployId;
/**
* The ID of the task flow.
*
* example:
* 134137****
*/
@NameInMap("Id")
public Long id;
/**
* Indicates whether the task flow is deleted. Valid values:
*
* - true: deleted
* - false: not deleted
*
*
* example:
* false
*/
@NameInMap("IsDeleted")
public Boolean isDeleted;
/**
* The status of the latest execution. Valid values:
*
* - 0: invalid
* - 1: scheduling disabled
* - 2: waiting to be scheduled
*
*
* example:
* 0
*/
@NameInMap("LatestInstanceStatus")
public Integer latestInstanceStatus;
/**
* The time when the latest execution record was generated.
*
* example:
* 2022-04-14
*/
@NameInMap("LatestInstanceTime")
public Integer latestInstanceTime;
/**
* The ID of the business scenario.
*
* example:
* 2**
*/
@NameInMap("ScenarioId")
public Long scenarioId;
/**
* The ID of the workspace.
*
* example:
* 1
*/
@NameInMap("SpaceId")
public Long spaceId;
/**
* The status of the task flow. Valid values:
*
* - 0: invalid
* - 1: scheduling disabled
* - 2: waiting to be scheduled
*
*
* example:
* 2
*/
@NameInMap("Status")
public Integer status;
public static ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag build(java.util.Map map) throws Exception {
ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag self = new ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag();
return TeaModel.build(map, self);
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setCanEdit(Boolean canEdit) {
this.canEdit = canEdit;
return this;
}
public Boolean getCanEdit() {
return this.canEdit;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setCreatorNickName(String creatorNickName) {
this.creatorNickName = creatorNickName;
return this;
}
public String getCreatorNickName() {
return this.creatorNickName;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setDagName(String dagName) {
this.dagName = dagName;
return this;
}
public String getDagName() {
return this.dagName;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setDagOwnerId(String dagOwnerId) {
this.dagOwnerId = dagOwnerId;
return this;
}
public String getDagOwnerId() {
return this.dagOwnerId;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setDagOwnerNickName(String dagOwnerNickName) {
this.dagOwnerNickName = dagOwnerNickName;
return this;
}
public String getDagOwnerNickName() {
return this.dagOwnerNickName;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setDataFlowId(Long dataFlowId) {
this.dataFlowId = dataFlowId;
return this;
}
public Long getDataFlowId() {
return this.dataFlowId;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setDemoId(String demoId) {
this.demoId = demoId;
return this;
}
public String getDemoId() {
return this.demoId;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setDeployId(Long deployId) {
this.deployId = deployId;
return this;
}
public Long getDeployId() {
return this.deployId;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setIsDeleted(Boolean isDeleted) {
this.isDeleted = isDeleted;
return this;
}
public Boolean getIsDeleted() {
return this.isDeleted;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setLatestInstanceStatus(Integer latestInstanceStatus) {
this.latestInstanceStatus = latestInstanceStatus;
return this;
}
public Integer getLatestInstanceStatus() {
return this.latestInstanceStatus;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setLatestInstanceTime(Integer latestInstanceTime) {
this.latestInstanceTime = latestInstanceTime;
return this;
}
public Integer getLatestInstanceTime() {
return this.latestInstanceTime;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setScenarioId(Long scenarioId) {
this.scenarioId = scenarioId;
return this;
}
public Long getScenarioId() {
return this.scenarioId;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setSpaceId(Long spaceId) {
this.spaceId = spaceId;
return this;
}
public Long getSpaceId() {
return this.spaceId;
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGListDag setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
}
public static class ListLhTaskFlowAndScenarioResponseBodyRawDAGList extends TeaModel {
@NameInMap("Dag")
public java.util.List dag;
public static ListLhTaskFlowAndScenarioResponseBodyRawDAGList build(java.util.Map map) throws Exception {
ListLhTaskFlowAndScenarioResponseBodyRawDAGList self = new ListLhTaskFlowAndScenarioResponseBodyRawDAGList();
return TeaModel.build(map, self);
}
public ListLhTaskFlowAndScenarioResponseBodyRawDAGList setDag(java.util.List dag) {
this.dag = dag;
return this;
}
public java.util.List getDag() {
return this.dag;
}
}
public static class ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag extends TeaModel {
/**
* Indicates whether the task flow can be modified. Valid values:
*
* - true: The task flow can be modified.
* - false: The task flow cannot be modified.
*
*
* example:
* true
*/
@NameInMap("CanEdit")
public Boolean canEdit;
/**
* The ID of the user who creates the task flow.
*
* example:
* 51****
*/
@NameInMap("CreatorId")
public String creatorId;
/**
* The name of the user who creates the workspace.
*
* example:
* Creator_Name
*/
@NameInMap("CreatorNickName")
public String creatorNickName;
/**
* The name of the task flow.
*
* example:
* Dag_Name
*/
@NameInMap("DagName")
public String dagName;
/**
* The user ID of the task flow owner.
*
* example:
* 51****
*/
@NameInMap("DagOwnerId")
public String dagOwnerId;
/**
* The name of the task flow owner.
*
* example:
* Owner_Name
*/
@NameInMap("DagOwnerNickName")
public String dagOwnerNickName;
/**
* The extended field. No meaning is specified for this field.
*
* example:
*
*
*
*/
@NameInMap("DataFlowId")
public Long dataFlowId;
/**
* The extended field. No meaning is specified for this field.
*
* example:
*
*
*
*/
@NameInMap("DemoId")
public String demoId;
/**
* The ID of the latest deployment record.
*
* example:
* 12**
*/
@NameInMap("DeployId")
public Long deployId;
/**
* The ID of the task flow.
*
* example:
* 9***
*/
@NameInMap("Id")
public Long id;
/**
* Indicates whether the task flow is deleted. Valid values:
*
* - true: deleted
* - false: not deleted
*
*
* example:
* false
*/
@NameInMap("IsDeleted")
public Boolean isDeleted;
/**
* The status of the latest execution. Valid values:
*
* - 0: invalid
* - 1: scheduling disabled
* - 2: waiting to be scheduled
*
*
* example:
* 1
*/
@NameInMap("LatestInstanceStatus")
public Integer latestInstanceStatus;
/**
* The time when the latest execution record was generated.
*
* example:
* 2022-04-14
*/
@NameInMap("LatestInstanceTime")
public Integer latestInstanceTime;
/**
* The ID of the business scenario.
*
* example:
* 2**
*/
@NameInMap("ScenarioId")
public Long scenarioId;
/**
* The ID of the workspace.
*
* example:
* 1
*/
@NameInMap("SpaceId")
public Long spaceId;
/**
* The status of the task flow. Valid values:
*
* - 0: invalid
* - 1: scheduling disabled
* - 2: waiting to be scheduled
*
*
* example:
* 1
*/
@NameInMap("Status")
public Integer status;
public static ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag build(java.util.Map map) throws Exception {
ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag self = new ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag();
return TeaModel.build(map, self);
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setCanEdit(Boolean canEdit) {
this.canEdit = canEdit;
return this;
}
public Boolean getCanEdit() {
return this.canEdit;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setCreatorNickName(String creatorNickName) {
this.creatorNickName = creatorNickName;
return this;
}
public String getCreatorNickName() {
return this.creatorNickName;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setDagName(String dagName) {
this.dagName = dagName;
return this;
}
public String getDagName() {
return this.dagName;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setDagOwnerId(String dagOwnerId) {
this.dagOwnerId = dagOwnerId;
return this;
}
public String getDagOwnerId() {
return this.dagOwnerId;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setDagOwnerNickName(String dagOwnerNickName) {
this.dagOwnerNickName = dagOwnerNickName;
return this;
}
public String getDagOwnerNickName() {
return this.dagOwnerNickName;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setDataFlowId(Long dataFlowId) {
this.dataFlowId = dataFlowId;
return this;
}
public Long getDataFlowId() {
return this.dataFlowId;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setDemoId(String demoId) {
this.demoId = demoId;
return this;
}
public String getDemoId() {
return this.demoId;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setDeployId(Long deployId) {
this.deployId = deployId;
return this;
}
public Long getDeployId() {
return this.deployId;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setIsDeleted(Boolean isDeleted) {
this.isDeleted = isDeleted;
return this;
}
public Boolean getIsDeleted() {
return this.isDeleted;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setLatestInstanceStatus(Integer latestInstanceStatus) {
this.latestInstanceStatus = latestInstanceStatus;
return this;
}
public Integer getLatestInstanceStatus() {
return this.latestInstanceStatus;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setLatestInstanceTime(Integer latestInstanceTime) {
this.latestInstanceTime = latestInstanceTime;
return this;
}
public Integer getLatestInstanceTime() {
return this.latestInstanceTime;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setScenarioId(Long scenarioId) {
this.scenarioId = scenarioId;
return this;
}
public Long getScenarioId() {
return this.scenarioId;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setSpaceId(Long spaceId) {
this.spaceId = spaceId;
return this;
}
public Long getSpaceId() {
return this.spaceId;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagListDag setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
}
public static class ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagList extends TeaModel {
@NameInMap("Dag")
public java.util.List dag;
public static ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagList build(java.util.Map map) throws Exception {
ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagList self = new ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagList();
return TeaModel.build(map, self);
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagList setDag(java.util.List dag) {
this.dag = dag;
return this;
}
public java.util.List getDag() {
return this.dag;
}
}
public static class ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGScenario extends TeaModel {
/**
* The ID of the user who creates the business scenario.
*
* example:
* 51****
*/
@NameInMap("CreatorId")
public String creatorId;
/**
* The description of the business scenario.
*
* example:
* test
*/
@NameInMap("Description")
public String description;
/**
* The name of the business scenario.
*
* example:
* Scenario_2
*/
@NameInMap("ScenarioName")
public String scenarioName;
public static ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGScenario build(java.util.Map map) throws Exception {
ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGScenario self = new ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGScenario();
return TeaModel.build(map, self);
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGScenario setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGScenario setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGScenario setScenarioName(String scenarioName) {
this.scenarioName = scenarioName;
return this;
}
public String getScenarioName() {
return this.scenarioName;
}
}
public static class ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAG extends TeaModel {
/**
* The list of task flows.
*/
@NameInMap("DagList")
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagList dagList;
/**
* The information about the business scenario.
*/
@NameInMap("Scenario")
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGScenario scenario;
public static ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAG build(java.util.Map map) throws Exception {
ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAG self = new ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAG();
return TeaModel.build(map, self);
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAG setDagList(ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagList dagList) {
this.dagList = dagList;
return this;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGDagList getDagList() {
return this.dagList;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAG setScenario(ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGScenario scenario) {
this.scenario = scenario;
return this;
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGListScenarioDAGScenario getScenario() {
return this.scenario;
}
}
public static class ListLhTaskFlowAndScenarioResponseBodyScenarioDAGList extends TeaModel {
@NameInMap("ScenarioDAG")
public java.util.List scenarioDAG;
public static ListLhTaskFlowAndScenarioResponseBodyScenarioDAGList build(java.util.Map map) throws Exception {
ListLhTaskFlowAndScenarioResponseBodyScenarioDAGList self = new ListLhTaskFlowAndScenarioResponseBodyScenarioDAGList();
return TeaModel.build(map, self);
}
public ListLhTaskFlowAndScenarioResponseBodyScenarioDAGList setScenarioDAG(java.util.List scenarioDAG) {
this.scenarioDAG = scenarioDAG;
return this;
}
public java.util.List getScenarioDAG() {
return this.scenarioDAG;
}
}
}