com.aliyun.ccp.ccpclient.models.CopyFileRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ccp.ccpclient.models;
import com.aliyun.tea.*;
/**
* 文件移动请求
*/
public class CopyFileRequest extends TeaModel {
@NameInMap("drive_id")
@Validation(required = true, pattern = "[0-9]+")
public String driveId;
@NameInMap("file_id")
@Validation(required = true, pattern = "[a-z0-9.-_]{1,50}")
public String fileId;
@NameInMap("file_path")
public String filePath;
@NameInMap("new_name")
@Validation(required = true, pattern = "[a-zA-Z0-9.-]{1,1000}")
public String newName;
@NameInMap("overwrite")
public Boolean overwrite;
@NameInMap("share_id")
public String shareId;
@NameInMap("to_parent_file_id")
@Validation(required = true, pattern = "[a-z0-9.-_]{1,50}")
public String toParentFileId;
@NameInMap("to_parent_file_path")
public String toParentFilePath;
public static CopyFileRequest build(java.util.Map map) throws Exception {
CopyFileRequest self = new CopyFileRequest();
return TeaModel.build(map, self);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy