Simple Robot
Toggle table of contents
5.0.0-Alpha2
common
Target filter
common
Switch theme
Search in API
Skip to content
Simple Robot
simbot-component-qq-api
/
love.forte.simbot.qguild.model.forum
/
AtRoleInfo
At
Role
Info
@
ApiModel
@
Serializable
class
AtRoleInfo
@
ApiModelConstructor
constructor
(
val
roleId
:
String
,
val
name
:
String
,
val
color
:
Int
)
(
source
)
@
角色组信息。
参考
forum文档
Author
ForteScarlet
Members
Constructors
At
Role
Info
Link copied to clipboard
@
ApiModelConstructor
constructor
(
roleId
:
String
,
name
:
String
,
color
:
Int
)
Properties
color
Link copied to clipboard
val
color
:
Int
颜色值。
name
Link copied to clipboard
val
name
:
String
角色组名称。
role
Id
Link copied to clipboard
@
SerialName
(
value
=
"role_id"
)
val
roleId
:
String
角色组 ID。
Functions
component1
Link copied to clipboard
operator
fun
component1
(
)
:
String
component2
Link copied to clipboard
operator
fun
component2
(
)
:
String
component3
Link copied to clipboard
operator
fun
component3
(
)
:
Int
copy
Link copied to clipboard
fun
copy
(
roleId
:
String
=
this.roleId
,
name
:
String
=
this.name
,
color
:
Int
=
this.color
)
:
AtRoleInfo
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String