com.aliyun.dms_enterprise20181101.models.UpdateTaskFlowEdgesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dms_enterprise20181101 Show documentation
Show all versions of dms_enterprise20181101 Show documentation
Alibaba Cloud dms-enterprise (20181101) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dms_enterprise20181101.models;
import com.aliyun.tea.*;
public class UpdateTaskFlowEdgesRequest extends TeaModel {
/**
* The task flow ID. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to query the task flow ID.
* This parameter is required.
*
* example:
* 15***
*/
@NameInMap("DagId")
public Long dagId;
/**
* The list of updated task flow edges.
* This parameter is required.
*/
@NameInMap("Edges")
public java.util.List edges;
/**
* The tenant ID.
*
* To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see Manage DMS tenants.
*
*
* example:
* 3***
*/
@NameInMap("Tid")
public Long tid;
public static UpdateTaskFlowEdgesRequest build(java.util.Map map) throws Exception {
UpdateTaskFlowEdgesRequest self = new UpdateTaskFlowEdgesRequest();
return TeaModel.build(map, self);
}
public UpdateTaskFlowEdgesRequest setDagId(Long dagId) {
this.dagId = dagId;
return this;
}
public Long getDagId() {
return this.dagId;
}
public UpdateTaskFlowEdgesRequest setEdges(java.util.List edges) {
this.edges = edges;
return this;
}
public java.util.List getEdges() {
return this.edges;
}
public UpdateTaskFlowEdgesRequest setTid(Long tid) {
this.tid = tid;
return this;
}
public Long getTid() {
return this.tid;
}
public static class UpdateTaskFlowEdgesRequestEdges extends TeaModel {
/**
* The ID of the task flow edge.
* This parameter is required.
*
* example:
* 24***
*/
@NameInMap("Id")
public Long id;
/**
* The ID of the end node of the edge.
* This parameter is required.
*
* example:
* 44***
*/
@NameInMap("NodeEnd")
public Long nodeEnd;
/**
* The ID of the start node of the edge.
* This parameter is required.
*
* example:
* 44***
*/
@NameInMap("NodeFrom")
public Long nodeFrom;
public static UpdateTaskFlowEdgesRequestEdges build(java.util.Map map) throws Exception {
UpdateTaskFlowEdgesRequestEdges self = new UpdateTaskFlowEdgesRequestEdges();
return TeaModel.build(map, self);
}
public UpdateTaskFlowEdgesRequestEdges setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public UpdateTaskFlowEdgesRequestEdges setNodeEnd(Long nodeEnd) {
this.nodeEnd = nodeEnd;
return this;
}
public Long getNodeEnd() {
return this.nodeEnd;
}
public UpdateTaskFlowEdgesRequestEdges setNodeFrom(Long nodeFrom) {
this.nodeFrom = nodeFrom;
return this;
}
public Long getNodeFrom() {
return this.nodeFrom;
}
}
}