Packages

c

ackcord.requests

RequestRatelimited

case class RequestRatelimited(global: Boolean, ratelimitInfo: RatelimitInfo, route: RequestRoute, identifier: UUID) extends FailedRequest with Product with Serializable

A request that did not succeed because of a ratelimit.

Source
requestObjs.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestRatelimited
  2. Serializable
  3. Product
  4. Equals
  5. FailedRequest
  6. RequestAnswer
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RequestRatelimited(global: Boolean, ratelimitInfo: RatelimitInfo, route: RequestRoute, identifier: UUID)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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
    RequestRatelimitedFailedRequest
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. 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
    FailedRequestRequestAnswer
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. 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
    RequestRatelimitedRequestAnswer
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. 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
    RequestRatelimitedRequestAnswer
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. val global: Boolean
  14. 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
    RequestRatelimitedRequestAnswer
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. 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
    RequestRatelimitedRequestAnswer
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. val ratelimitInfo: RatelimitInfo

    Information about ratelimits gotten from this request.

    Information about ratelimits gotten from this request.

    Definition Classes
    RequestRatelimitedRequestAnswer
  22. val route: RequestRoute

    The route for this request

    The route for this request

    Definition Classes
    RequestRatelimitedRequestAnswer
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FailedRequest

Inherited from RequestAnswer[Nothing]

Inherited from AnyRef

Inherited from Any

Ungrouped