![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalkstorage_1_0.models.MoveDentriesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkstorage_1_0.models;
import com.aliyun.tea.*;
public class MoveDentriesRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("dentryIds")
public java.util.List dentryIds;
@NameInMap("option")
public MoveDentriesRequestOption option;
/**
* This parameter is required.
*
* example:
* target_folder_id
*/
@NameInMap("targetFolderId")
public String targetFolderId;
/**
* This parameter is required.
*
* example:
* target_space_id
*/
@NameInMap("targetSpaceId")
public String targetSpaceId;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("unionId")
public String unionId;
public static MoveDentriesRequest build(java.util.Map map) throws Exception {
MoveDentriesRequest self = new MoveDentriesRequest();
return TeaModel.build(map, self);
}
public MoveDentriesRequest setDentryIds(java.util.List dentryIds) {
this.dentryIds = dentryIds;
return this;
}
public java.util.List getDentryIds() {
return this.dentryIds;
}
public MoveDentriesRequest setOption(MoveDentriesRequestOption option) {
this.option = option;
return this;
}
public MoveDentriesRequestOption getOption() {
return this.option;
}
public MoveDentriesRequest setTargetFolderId(String targetFolderId) {
this.targetFolderId = targetFolderId;
return this;
}
public String getTargetFolderId() {
return this.targetFolderId;
}
public MoveDentriesRequest setTargetSpaceId(String targetSpaceId) {
this.targetSpaceId = targetSpaceId;
return this;
}
public String getTargetSpaceId() {
return this.targetSpaceId;
}
public MoveDentriesRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class MoveDentriesRequestOption extends TeaModel {
/**
* example:
* AUTO_RENAME
*/
@NameInMap("conflictStrategy")
public String conflictStrategy;
/**
* example:
* true
*/
@NameInMap("preservePermissions")
public Boolean preservePermissions;
public static MoveDentriesRequestOption build(java.util.Map map) throws Exception {
MoveDentriesRequestOption self = new MoveDentriesRequestOption();
return TeaModel.build(map, self);
}
public MoveDentriesRequestOption setConflictStrategy(String conflictStrategy) {
this.conflictStrategy = conflictStrategy;
return this;
}
public String getConflictStrategy() {
return this.conflictStrategy;
}
public MoveDentriesRequestOption setPreservePermissions(Boolean preservePermissions) {
this.preservePermissions = preservePermissions;
return this;
}
public Boolean getPreservePermissions() {
return this.preservePermissions;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy