public class QChatCheckPermissionsParam
extends java.lang.Object
构造器和说明 |
---|
QChatCheckPermissionsParam(long serverId,
java.util.List<QChatRoleResource> permissions)
查询server权限(此时不需要传channelId)
|
QChatCheckPermissionsParam(long serverId,
long channelId,
java.util.List<QChatRoleResource> permissions)
查询权限
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Long |
getChannelId()
获取频道Id
|
java.util.List<QChatRoleResource> |
getPermissions()
身份组权限资源项列表
|
java.lang.Long |
getServerId()
获取服务器Id
|
public QChatCheckPermissionsParam(long serverId, java.util.List<QChatRoleResource> permissions)
serverId
- 服务器Idpermissions
- 身份组权限资源项列表,一次最多可查10个权限项public QChatCheckPermissionsParam(long serverId, long channelId, java.util.List<QChatRoleResource> permissions)
serverId
- 服务器IdchannelId
- 频道Idpermissions
- 身份组权限资源项列表,一次最多可查10个权限项public java.lang.Long getServerId()
public java.lang.Long getChannelId()
public java.util.List<QChatRoleResource> getPermissions()