com.aliyun.dingtalkdrive_1_0.models.CopyFileRequest 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.dingtalkdrive_1_0.models;
import com.aliyun.tea.*;
public class CopyFileRequest extends TeaModel {
// 文件名冲突策略
@NameInMap("addConflictPolicy")
public String addConflictPolicy;
// 目标父目录id
@NameInMap("targetParentId")
public String targetParentId;
// 目标空间id
@NameInMap("targetSpaceId")
public String targetSpaceId;
// 用户id
@NameInMap("unionId")
public String unionId;
public static CopyFileRequest build(java.util.Map map) throws Exception {
CopyFileRequest self = new CopyFileRequest();
return TeaModel.build(map, self);
}
public CopyFileRequest setAddConflictPolicy(String addConflictPolicy) {
this.addConflictPolicy = addConflictPolicy;
return this;
}
public String getAddConflictPolicy() {
return this.addConflictPolicy;
}
public CopyFileRequest setTargetParentId(String targetParentId) {
this.targetParentId = targetParentId;
return this;
}
public String getTargetParentId() {
return this.targetParentId;
}
public CopyFileRequest setTargetSpaceId(String targetSpaceId) {
this.targetSpaceId = targetSpaceId;
return this;
}
public String getTargetSpaceId() {
return this.targetSpaceId;
}
public CopyFileRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}