SessionStartLimit

class SessionStartLimit @ApiModelConstructor constructor(val total: Int, val remaining: Int, val resetAfter: Int, val maxConcurrency: Int)(source)

参考文档

Constructors

Link copied to clipboard
constructor(total: Int, remaining: Int, resetAfter: Int, maxConcurrency: Int)

Properties

Link copied to clipboard
@SerialName(value = "max_concurrency")
val maxConcurrency: Int

每 5s 可以创建的 Session 数

Link copied to clipboard

目前还可以创建的 Session 数

Link copied to clipboard
@SerialName(value = "reset_after")
val resetAfter: Int

重置计数的剩余时间(ms)

Link copied to clipboard
val total: Int

每 24 小时可创建 Session 数

Functions

Link copied to clipboard
operator fun component1(): Int
Link copied to clipboard
operator fun component2(): Int
Link copied to clipboard
operator fun component3(): Int
Link copied to clipboard
operator fun component4(): Int
Link copied to clipboard
fun copy(total: Int = this.total, remaining: Int = this.remaining, resetAfter: Int = this.resetAfter, maxConcurrency: Int = this.maxConcurrency): SessionStartLimit
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String