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;
@NameInMap("targetParentId")
public String targetParentId;
/**
* This parameter is required.
*/
@NameInMap("targetSpaceId")
public String targetSpaceId;
/**
* This parameter is required.
*/
@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;
}
}