com.aliyun.dingtalkim_1_0.models.ChatSubAdminUpdateRequest 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.dingtalkim_1_0.models;
import com.aliyun.tea.*;
public class ChatSubAdminUpdateRequest extends TeaModel {
// 开放群ID
@NameInMap("openConversationId")
public String openConversationId;
// 设置2添加为管理员,设置3删除该管理员
@NameInMap("role")
public Integer role;
// 企业员工工号列表
@NameInMap("userIds")
public java.util.List userIds;
public static ChatSubAdminUpdateRequest build(java.util.Map map) throws Exception {
ChatSubAdminUpdateRequest self = new ChatSubAdminUpdateRequest();
return TeaModel.build(map, self);
}
public ChatSubAdminUpdateRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public ChatSubAdminUpdateRequest setRole(Integer role) {
this.role = role;
return this;
}
public Integer getRole() {
return this.role;
}
public ChatSubAdminUpdateRequest setUserIds(java.util.List userIds) {
this.userIds = userIds;
return this;
}
public java.util.List getUserIds() {
return this.userIds;
}
}