Packages

c

ackcord.requests

AddThreadMember

case class AddThreadMember(channelId: ThreadGuildChannelId, userId: UserId) extends NoParamsResponseRequest with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AddThreadMember
  2. Serializable
  3. Product
  4. Equals
  5. NoParamsResponseRequest
  6. NoResponseRequest
  7. NoNiceResponseRequest
  8. NoParamsRequest
  9. RESTRequest
  10. BaseRESTRequest
  11. Request
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AddThreadMember(channelId: ThreadGuildChannelId, userId: UserId)

Value Members

  1. def bodyForLogging: Option[String]

    Returns the body of this Request for use in logging.

    Returns the body of this Request for use in logging.

    Definition Classes
    RESTRequestRequest
  2. val channelId: ThreadGuildChannelId
  3. def collect[B](f: PartialFunction[NotUsed, B]): Request[B]

    Map the result if the function is defined for the response data.

    Map the result if the function is defined for the response data.

    Definition Classes
    Request
  4. def extraHeaders: Seq[HttpHeader]

    All the extra headers to send with this request.

    All the extra headers to send with this request.

    Definition Classes
    Request
  5. def filter(f: (NotUsed) => Boolean): Request[NotUsed]

    Filter the response of sending this request.

    Filter the response of sending this request.

    Definition Classes
    Request
  6. def hasPermissions(implicit c: CacheSnapshot): Boolean

    Check if a client has the needed permissions to execute this request.

    Check if a client has the needed permissions to execute this request.

    Definition Classes
    BaseRESTRequestRequest
  7. 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
    Request
  8. def jsonParams: Json

    The params of this request converted to json.

    The params of this request converted to json.

    Definition Classes
    RESTRequest
  9. def jsonPrinter: Printer
    Definition Classes
    RESTRequest
  10. def map[B](f: (NotUsed) => B): Request[B]

    Map the result of sending this request.

    Map the result of sending this request.

    Definition Classes
    Request
  11. def params: NotUsed

    The params of this request

    The params of this request

    Definition Classes
    NoParamsRequestRESTRequest
  12. def paramsEncoder: Encoder[NotUsed]

    An encoder for the params of this request

    An encoder for the params of this request

    Definition Classes
    NoParamsRequestRESTRequest
  13. def parseResponse(entity: ResponseEntity)(implicit system: ActorSystem[Nothing]): Future[NotUsed]

    A flow that can be used to parse the responses from this request.

    A flow that can be used to parse the responses from this request.

    Definition Classes
    NoResponseRequestBaseRESTRequestRequest
  14. def productElementNames: Iterator[String]
    Definition Classes
    Product
  15. def requestBody: RequestEntity

    The body of the request to send.

    The body of the request to send.

    Definition Classes
    RESTRequestRequest
  16. def requiredPermissions: Permission

    The permissions needed to use this request.

    The permissions needed to use this request.

    Definition Classes
    BaseRESTRequest
  17. def responseDecoder: Decoder[NotUsed]

    A decoder to decode the response.

    A decoder to decode the response.

    Definition Classes
    NoResponseRequestBaseRESTRequest
  18. def route: RequestRoute

    The router for this request.

    The router for this request.

    Definition Classes
    AddThreadMemberRequest
  19. def toNiceResponse(response: NotUsed): NotUsed

    Convert the response to a format the cache handler can understand.

    Convert the response to a format the cache handler can understand.

    Definition Classes
    NoNiceResponseRequestBaseRESTRequest
  20. def transformResponse[B](f: (ExecutionContext) => (Future[NotUsed]) => Future[B]): Request[B]

    Transform the response of this request as a flow.

    Transform the response of this request as a flow.

    Definition Classes
    Request
  21. val userId: UserId