Class

net.katsstuff.ackcord.http.rest

DeleteCloseChannel

Related Doc: package rest

Permalink

case class DeleteCloseChannel[Ctx](channelId: ChannelId, context: Ctx = NotUsed: NotUsed, reason: Option[String] = None) extends NoParamsReasonRequest[DeleteCloseChannel[Ctx], RawChannel, Option[Channel], Ctx] with Product with Serializable

Delete a guild channel, or close a DM channel.

Linear Supertypes
Serializable, Serializable, Product, Equals, NoParamsReasonRequest[DeleteCloseChannel[Ctx], RawChannel, Option[Channel], Ctx], NoParamsRequest[RawChannel, Option[Channel], Ctx], ReasonRequest[DeleteCloseChannel[Ctx], NotUsed, RawChannel, Option[Channel], Ctx], RESTRequest[NotUsed, RawChannel, Option[Channel], Ctx], BaseRESTRequest[RawChannel, Option[Channel], Ctx], Request[RawChannel, Ctx], MaybeRequest[RawChannel, Ctx], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeleteCloseChannel
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. NoParamsReasonRequest
  7. NoParamsRequest
  8. ReasonRequest
  9. RESTRequest
  10. BaseRESTRequest
  11. Request
  12. MaybeRequest
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DeleteCloseChannel(channelId: ChannelId, context: Ctx = NotUsed: NotUsed, reason: Option[String] = None)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bodyForLogging: Option[String]

    Permalink
    Definition Classes
    RESTRequest → Request
  6. val channelId: ChannelId

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def collect[B](f: PartialFunction[RawChannel, B]): Request[B, Ctx]

    Permalink
    Definition Classes
    Request
  9. val context: Ctx

    Permalink
    Definition Classes
    DeleteCloseChannel → MaybeRequest
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def extraHeaders: Seq[HttpHeader]

    Permalink
    Definition Classes
    ReasonRequest → Request
  12. def filter(f: (RawChannel) ⇒ Boolean): Request[RawChannel, Ctx]

    Permalink
    Definition Classes
    Request
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hasPermissions[F[_]](implicit c: CacheSnapshot[F], F: Monad[F]): F[Boolean]

    Permalink
    Definition Classes
    DeleteCloseChannelBaseRESTRequest → Request
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def jsonParams: Json

    Permalink

    The params of this request converted to json.

    The params of this request converted to json.

    Definition Classes
    RESTRequest
  18. def jsonPrinter: Printer

    Permalink
    Definition Classes
    RESTRequest
  19. def map[B](f: (RawChannel) ⇒ B): Request[B, Ctx]

    Permalink
    Definition Classes
    Request
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def params: NotUsed

    Permalink

    The params of this request

    The params of this request

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

    Permalink

    An encoder for the params of this request

    An encoder for the params of this request

    Definition Classes
    NoParamsRequestRESTRequest
  25. def parseResponse(parallelism: Int)(implicit system: ActorSystem): Flow[ResponseEntity, RawChannel, NotUsed]

    Permalink
    Definition Classes
    BaseRESTRequest → Request
  26. val reason: Option[String]

    Permalink
    Definition Classes
    DeleteCloseChannelReasonRequest
  27. def requestBody: RequestEntity

    Permalink
    Definition Classes
    RESTRequest → Request
  28. def requiredPermissions: Permission

    Permalink

    The permissions needed to use this request.

    The permissions needed to use this request.

    Definition Classes
    DeleteCloseChannelBaseRESTRequest
  29. def responseDecoder: Decoder[RawChannel]

    Permalink

    A decoder to decode the response.

    A decoder to decode the response.

    Definition Classes
    DeleteCloseChannelBaseRESTRequest
  30. def route: RequestRoute

    Permalink
    Definition Classes
    DeleteCloseChannel → Request
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toNiceResponse(response: RawChannel): Option[Channel]

    Permalink

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

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

    Definition Classes
    DeleteCloseChannelBaseRESTRequest
  33. def transformResponse[B](f: (Flow[ResponseEntity, RawChannel, NotUsed]) ⇒ Flow[ResponseEntity, B, NotUsed]): Request[B, Ctx]

    Permalink
    Definition Classes
    Request
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withContext[NewCtx](newContext: NewCtx): Request[RawChannel, NewCtx]

    Permalink
    Definition Classes
    Request
  38. def withReason(reason: String): DeleteCloseChannel[Ctx]

    Permalink

    A reason to add to the audit log entry.

    A reason to add to the audit log entry.

    Definition Classes
    DeleteCloseChannelReasonRequest

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from NoParamsReasonRequest[DeleteCloseChannel[Ctx], RawChannel, Option[Channel], Ctx]

Inherited from NoParamsRequest[RawChannel, Option[Channel], Ctx]

Inherited from ReasonRequest[DeleteCloseChannel[Ctx], NotUsed, RawChannel, Option[Channel], Ctx]

Inherited from RESTRequest[NotUsed, RawChannel, Option[Channel], Ctx]

Inherited from BaseRESTRequest[RawChannel, Option[Channel], Ctx]

Inherited from Request[RawChannel, Ctx]

Inherited from MaybeRequest[RawChannel, Ctx]

Inherited from AnyRef

Inherited from Any

Ungrouped