case class RatelimitInfo(tilReset: FiniteDuration, tilRatelimit: Int, bucketLimit: Int, bucket: String) extends Product with Serializable
Misc info needed to handle ratelimits correctly.
- tilReset
The amount of time until this endpoint ratelimit is reset. Minus if unknown.
- tilRatelimit
The amount of requests that can be made until this endpoint is ratelimited. -1 if unknown.
- bucketLimit
The total amount of requests that can be sent to this to this endpoint until a ratelimit kicks in. -1 if unknown.
- bucket
The ratelimit bucket for this request. Does not include any parameters.
- Source
- requestObjs.scala
- Alphabetic
- By Inheritance
- RatelimitInfo
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RatelimitInfo(tilReset: FiniteDuration, tilRatelimit: Int, bucketLimit: Int, bucket: String)
- tilReset
The amount of time until this endpoint ratelimit is reset. Minus if unknown.
- tilRatelimit
The amount of requests that can be made until this endpoint is ratelimited. -1 if unknown.
- bucketLimit
The total amount of requests that can be sent to this to this endpoint until a ratelimit kicks in. -1 if unknown.
- bucket
The ratelimit bucket for this request. Does not include any parameters.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bucket: String
- val bucketLimit: Int
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isValid: Boolean
Returns if this ratelimit info does not contain any unknown placeholders.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tilRatelimit: Int
- val tilReset: FiniteDuration
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])