case class RequestRatelimited(global: Boolean, ratelimitInfo: RatelimitInfo, route: RequestRoute, identifier: UUID) extends FailedRequest with Product with Serializable
- Alphabetic
- By Inheritance
- RequestRatelimited
- Serializable
- Product
- Equals
- FailedRequest
- RequestAnswer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RequestRatelimited(global: Boolean, ratelimitInfo: RatelimitInfo, route: RequestRoute, identifier: UUID)
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
- def asException: RatelimitException
Get the exception associated with this failed request, or makes one if one does not exist.
Get the exception associated with this failed request, or makes one if one does not exist.
- Definition Classes
- RequestRatelimited → FailedRequest
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def eitherData: Either[Throwable, Nothing]
An either that either contains the data, or the exception if this is a failure.
An either that either contains the data, or the exception if this is a failure.
- Definition Classes
- FailedRequest → RequestAnswer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def filter(f: (Nothing) => Boolean): RequestRatelimited
Apply f if this is a successful response, and return this if the result is true, else returns a failed answer.
Apply f if this is a successful response, and return this if the result is true, else returns a failed answer.
- Definition Classes
- RequestRatelimited → RequestAnswer
- def flatMap[B](f: (Nothing) => RequestAnswer[B]): RequestRatelimited
Apply f and returns the result if this is a successful response.
Apply f and returns the result if this is a successful response.
- Definition Classes
- RequestRatelimited → RequestAnswer
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val global: Boolean
- val identifier: UUID
An unique identifier to track this request from creation to answer.
An unique identifier to track this request from creation to answer.
- Definition Classes
- RequestRatelimited → RequestAnswer
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: (Nothing) => B): RequestRatelimited
Apply a function to this answer, if it's a successful response.
Apply a function to this answer, if it's a successful response.
- Definition Classes
- RequestRatelimited → RequestAnswer
- 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
- val ratelimitInfo: RatelimitInfo
Information about ratelimits gotten from this request.
Information about ratelimits gotten from this request.
- Definition Classes
- RequestRatelimited → RequestAnswer
- val route: RequestRoute
The route for this request
The route for this request
- Definition Classes
- RequestRatelimited → RequestAnswer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])