1package com.netease.nimlib.sdk.qchat.param;
3import androidx.annotation.NonNull;
4import com.netease.nimlib.sdk.qchat.enums.QChatRoleOption;
5import com.netease.nimlib.sdk.qchat.enums.QChatRoleResource;
17 private final Long serverId;
22 private final Long roleId;
38 private Map<QChatRoleResource, QChatRoleOption> resourceAuths;
42 private Long priority;
50 this.serverId = serverId;
119 return resourceAuths;
127 Map<QChatRoleResource, QChatRoleOption> resourceAuths) {
128 this.resourceAuths = resourceAuths;
143 this.priority = priority;
Long getRoleId()
获取服务器身份组ID
Map< QChatRoleResource, QChatRoleOption > getResourceAuths()
获取要操作的权限列表
void setExt(String ext)
设置身份组扩展字段
void setIcon(String icon)
设置身份组图片url
String getIcon()
获取身份组图片url
void setResourceAuths(Map< QChatRoleResource, QChatRoleOption > resourceAuths)
设置要操作的权限列表,最多操作50个
void setName(String name)
设置身份组名称
Long getServerId()
获取服务器ID
QChatUpdateServerRoleParam(long serverId, long roleId)
void setPriority(Long priority)
设置获取优先级