com.aliyun.dingtalkstorage_1_0.models.CopyDentriesRequest 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 CopyDentriesRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("dentryIds")
public java.util.List dentryIds;
@NameInMap("option")
public CopyDentriesRequestOption 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 CopyDentriesRequest build(java.util.Map map) throws Exception {
CopyDentriesRequest self = new CopyDentriesRequest();
return TeaModel.build(map, self);
}
public CopyDentriesRequest setDentryIds(java.util.List dentryIds) {
this.dentryIds = dentryIds;
return this;
}
public java.util.List getDentryIds() {
return this.dentryIds;
}
public CopyDentriesRequest setOption(CopyDentriesRequestOption option) {
this.option = option;
return this;
}
public CopyDentriesRequestOption getOption() {
return this.option;
}
public CopyDentriesRequest setTargetFolderId(String targetFolderId) {
this.targetFolderId = targetFolderId;
return this;
}
public String getTargetFolderId() {
return this.targetFolderId;
}
public CopyDentriesRequest setTargetSpaceId(String targetSpaceId) {
this.targetSpaceId = targetSpaceId;
return this;
}
public String getTargetSpaceId() {
return this.targetSpaceId;
}
public CopyDentriesRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class CopyDentriesRequestOption extends TeaModel {
/**
* example:
* AUTO_RENAME
*/
@NameInMap("conflictStrategy")
public String conflictStrategy;
public static CopyDentriesRequestOption build(java.util.Map map) throws Exception {
CopyDentriesRequestOption self = new CopyDentriesRequestOption();
return TeaModel.build(map, self);
}
public CopyDentriesRequestOption setConflictStrategy(String conflictStrategy) {
this.conflictStrategy = conflictStrategy;
return this;
}
public String getConflictStrategy() {
return this.conflictStrategy;
}
}
}