QChatUpdateServerRoleParam class

Inheritance
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

QChatUpdateServerRoleParam(int serverId, int roleId, {String? name, String? icon, String? ext, Map<QChatRoleResource, QChatRoleOption>? resourceAuths, int? priority})
QChatUpdateServerRoleParam.fromJson(Map<String, dynamic> json)
factory

Properties

antiSpamConfig QChatAntiSpamConfig?
反垃圾配置
getter/setter pairinherited
ext String?
身份组扩展字段
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon String?
身份组图片url
getter/setter pair
name String?
身份组名称
getter/setter pair
priority int?
优先级
getter/setter pair
resourceAuths Map<QChatRoleResource, QChatRoleOption>?
要操作的权限列表,最多操作50个
getter/setter pair
roleId int
身份组id,必填
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>
override
toString() String
A string representation of this object.
inherited

Operators

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