com.aliyun.dingtalkdoc_2_0.models.MoveDentryRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdoc_2_0.models;
import com.aliyun.tea.*;
public class MoveDentryRequest extends TeaModel {
// 操作人unionId。
@NameInMap("operatorId")
public String operatorId;
// 需要移动到的知识库id。
@NameInMap("targetSpaceId")
public String targetSpaceId;
// 移动到目标位置的后置节点id。不为空时,需要是归属于 toParentDentryId 的子节点。
@NameInMap("toNextDentryId")
public String toNextDentryId;
// 需要移动到目标位置的父节点id。如果为根目录,则不传;如果为非根目录,则需要传对应的id。
@NameInMap("toParentDentryId")
public String toParentDentryId;
// 移动到目标位置的前置节点id。不为空时,需要是归属于 toParentDentryId 的子节点。
@NameInMap("toPrevDentryId")
public String toPrevDentryId;
public static MoveDentryRequest build(java.util.Map map) throws Exception {
MoveDentryRequest self = new MoveDentryRequest();
return TeaModel.build(map, self);
}
public MoveDentryRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public MoveDentryRequest setTargetSpaceId(String targetSpaceId) {
this.targetSpaceId = targetSpaceId;
return this;
}
public String getTargetSpaceId() {
return this.targetSpaceId;
}
public MoveDentryRequest setToNextDentryId(String toNextDentryId) {
this.toNextDentryId = toNextDentryId;
return this;
}
public String getToNextDentryId() {
return this.toNextDentryId;
}
public MoveDentryRequest setToParentDentryId(String toParentDentryId) {
this.toParentDentryId = toParentDentryId;
return this;
}
public String getToParentDentryId() {
return this.toParentDentryId;
}
public MoveDentryRequest setToPrevDentryId(String toPrevDentryId) {
this.toPrevDentryId = toPrevDentryId;
return this;
}
public String getToPrevDentryId() {
return this.toPrevDentryId;
}
}