com.aliyun.dingtalkdrive_1_0.models.AddFileRequest 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkdrive_1_0.models;
import com.aliyun.tea.*;
public class AddFileRequest extends TeaModel {
@NameInMap("addConflictPolicy")
public String addConflictPolicy;
/**
* This parameter is required.
*/
@NameInMap("fileName")
public String fileName;
/**
* This parameter is required.
*/
@NameInMap("fileType")
public String fileType;
@NameInMap("mediaId")
public String mediaId;
@NameInMap("parentId")
public String parentId;
/**
* This parameter is required.
*/
@NameInMap("unionId")
public String unionId;
public static AddFileRequest build(java.util.Map map) throws Exception {
AddFileRequest self = new AddFileRequest();
return TeaModel.build(map, self);
}
public AddFileRequest setAddConflictPolicy(String addConflictPolicy) {
this.addConflictPolicy = addConflictPolicy;
return this;
}
public String getAddConflictPolicy() {
return this.addConflictPolicy;
}
public AddFileRequest setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public AddFileRequest setFileType(String fileType) {
this.fileType = fileType;
return this;
}
public String getFileType() {
return this.fileType;
}
public AddFileRequest setMediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
public String getMediaId() {
return this.mediaId;
}
public AddFileRequest setParentId(String parentId) {
this.parentId = parentId;
return this;
}
public String getParentId() {
return this.parentId;
}
public AddFileRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}