com.aliyun.dingtalkexclusive_1_0.models.CreateVirusScanTaskRequest 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.dingtalkexclusive_1_0.models;
import com.aliyun.tea.*;
public class CreateVirusScanTaskRequest extends TeaModel {
@NameInMap("dentryId")
public String dentryId;
@NameInMap("downloadUrl")
public String downloadUrl;
@NameInMap("fileMd5")
public String fileMd5;
@NameInMap("fileName")
public String fileName;
@NameInMap("fileSize")
public Long fileSize;
/**
* This parameter is required.
*/
@NameInMap("source")
public Integer source;
@NameInMap("spaceId")
public String spaceId;
/**
* This parameter is required.
*/
@NameInMap("userId")
public String userId;
public static CreateVirusScanTaskRequest build(java.util.Map map) throws Exception {
CreateVirusScanTaskRequest self = new CreateVirusScanTaskRequest();
return TeaModel.build(map, self);
}
public CreateVirusScanTaskRequest setDentryId(String dentryId) {
this.dentryId = dentryId;
return this;
}
public String getDentryId() {
return this.dentryId;
}
public CreateVirusScanTaskRequest setDownloadUrl(String downloadUrl) {
this.downloadUrl = downloadUrl;
return this;
}
public String getDownloadUrl() {
return this.downloadUrl;
}
public CreateVirusScanTaskRequest setFileMd5(String fileMd5) {
this.fileMd5 = fileMd5;
return this;
}
public String getFileMd5() {
return this.fileMd5;
}
public CreateVirusScanTaskRequest setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public CreateVirusScanTaskRequest setFileSize(Long fileSize) {
this.fileSize = fileSize;
return this;
}
public Long getFileSize() {
return this.fileSize;
}
public CreateVirusScanTaskRequest setSource(Integer source) {
this.source = source;
return this;
}
public Integer getSource() {
return this.source;
}
public CreateVirusScanTaskRequest setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return this.spaceId;
}
public CreateVirusScanTaskRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}