com.aliyun.dingtalkstorage_1_0.models.RenameDentryRequest 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.dingtalkstorage_1_0.models;
import com.aliyun.tea.*;
public class RenameDentryRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* dentry_name
*/
@NameInMap("newName")
public String newName;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("unionId")
public String unionId;
public static RenameDentryRequest build(java.util.Map map) throws Exception {
RenameDentryRequest self = new RenameDentryRequest();
return TeaModel.build(map, self);
}
public RenameDentryRequest setNewName(String newName) {
this.newName = newName;
return this;
}
public String getNewName() {
return this.newName;
}
public RenameDentryRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}