com.aliyun.dingtalkdrive_1_0.models.RenameFileRequest 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 RenameFileRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("newFileName")
public String newFileName;
/**
* This parameter is required.
*/
@NameInMap("unionId")
public String unionId;
public static RenameFileRequest build(java.util.Map map) throws Exception {
RenameFileRequest self = new RenameFileRequest();
return TeaModel.build(map, self);
}
public RenameFileRequest setNewFileName(String newFileName) {
this.newFileName = newFileName;
return this;
}
public String getNewFileName() {
return this.newFileName;
}
public RenameFileRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}