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.api
/
SessionStartLimit
Session
Start
Limit
@
Serializable
class
SessionStartLimit
@
ApiModelConstructor
constructor
(
val
total
:
Int
,
val
remaining
:
Int
,
val
resetAfter
:
Int
,
val
maxConcurrency
:
Int
)
(
source
)
参考文档
Members
Constructors
Session
Start
Limit
Link copied to clipboard
@
ApiModelConstructor
constructor
(
total
:
Int
,
remaining
:
Int
,
resetAfter
:
Int
,
maxConcurrency
:
Int
)
Properties
max
Concurrency
Link copied to clipboard
@
SerialName
(
value
=
"max_concurrency"
)
val
maxConcurrency
:
Int
每 5s 可以创建的 Session 数
remaining
Link copied to clipboard
val
remaining
:
Int
目前还可以创建的 Session 数
reset
After
Link copied to clipboard
@
SerialName
(
value
=
"reset_after"
)
val
resetAfter
:
Int
重置计数的剩余时间(ms)
total
Link copied to clipboard
val
total
:
Int
每 24 小时可创建 Session 数
Functions
component1
Link copied to clipboard
operator
fun
component1
(
)
:
Int
component2
Link copied to clipboard
operator
fun
component2
(
)
:
Int
component3
Link copied to clipboard
operator
fun
component3
(
)
:
Int
component4
Link copied to clipboard
operator
fun
component4
(
)
:
Int
copy
Link copied to clipboard
fun
copy
(
total
:
Int
=
this.total
,
remaining
:
Int
=
this.remaining
,
resetAfter
:
Int
=
this.resetAfter
,
maxConcurrency
:
Int
=
this.maxConcurrency
)
:
SessionStartLimit
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