QChatGetServerRolesParam class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

QChatGetServerRolesParam(int serverId, int priority, int limit, {int? channelId, int? categoryId})
QChatGetServerRolesParam.fromJson(Map<String, dynamic> json)
factory

Properties

categoryId int?
以categoryId的名义查询,可选,如果传了,则只需要有该频道分组的管理角色权限即可,否则需要有server的管理权限
getter/setter pair
channelId int?
以channelId的名义查询,可选,如果传了,则只需要有该channel的管理角色权限即可,否则需要有server的管理权限
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
limit int
查询数量限制
final
priority int
查询锚点优先级,填0从最高优先级开始查询
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId int
服务器Id
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited