com.aliyun.pds20220301.models.TrashFileResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pds20220301 Show documentation
Show all versions of pds20220301 Show documentation
Alibaba Cloud pds (20220301) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.pds20220301.models;
import com.aliyun.tea.*;
public class TrashFileResponseBody extends TeaModel {
/**
* The ID of the asynchronous task.
*
* If an empty string is returned, the file or folder is moved to the recycle bin.
*
* If a non-empty string is returned, an asynchronous task is required. You can call the GetAsyncTask operation to obtain the information about an asynchronous task based on the task ID.
*/
@NameInMap("async_task_id")
public String asyncTaskId;
/**
* The domain ID.
*/
@NameInMap("domain_id")
public String domainId;
/**
* The drive ID.
*/
@NameInMap("drive_id")
public String driveId;
/**
* The ID of the file or folder.
*/
@NameInMap("file_id")
public String fileId;
public static TrashFileResponseBody build(java.util.Map map) throws Exception {
TrashFileResponseBody self = new TrashFileResponseBody();
return TeaModel.build(map, self);
}
public TrashFileResponseBody setAsyncTaskId(String asyncTaskId) {
this.asyncTaskId = asyncTaskId;
return this;
}
public String getAsyncTaskId() {
return this.asyncTaskId;
}
public TrashFileResponseBody setDomainId(String domainId) {
this.domainId = domainId;
return this;
}
public String getDomainId() {
return this.domainId;
}
public TrashFileResponseBody setDriveId(String driveId) {
this.driveId = driveId;
return this;
}
public String getDriveId() {
return this.driveId;
}
public TrashFileResponseBody setFileId(String fileId) {
this.fileId = fileId;
return this;
}
public String getFileId() {
return this.fileId;
}
}