Packages

c

ackcord.data

ExternalIntegration

case class ExternalIntegration(id: IntegrationId, name: String, type: IntegrationType, enabled: Boolean, syncing: Boolean, roleId: RoleId, enableEmoticons: Option[Boolean], expireBehavior: IntegrationExpireBehavior, expireGracePeriod: Int, user: Option[User], account: IntegrationAccount, syncedAt: OffsetDateTime, subscriberCount: Int, revoked: Boolean, application: Option[IntegrationApplication]) extends Integration with Product with Serializable

A server integration

id

The id of the integration

name

The integration name

enabled

If the integration is enabled

syncing

If the integration is synced

roleId

Role that this integration uses for subscribers, or guild id for Discord integrations

expireBehavior

The behavior of expiring subscribers.

expireGracePeriod

The grace period before expiring subscribers.

user

The user for this integration

account

Account information

syncedAt

When the integration last synced'

subscriberCount

How many subscribers this integration has. 0 for Discord

revoked

If this integration has been revoked

Source
guild.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExternalIntegration
  2. Serializable
  3. Product
  4. Equals
  5. Integration
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExternalIntegration(id: IntegrationId, name: String, type: IntegrationType, enabled: Boolean, syncing: Boolean, roleId: RoleId, enableEmoticons: Option[Boolean], expireBehavior: IntegrationExpireBehavior, expireGracePeriod: Int, user: Option[User], account: IntegrationAccount, syncedAt: OffsetDateTime, subscriberCount: Int, revoked: Boolean, application: Option[IntegrationApplication])

    id

    The id of the integration

    name

    The integration name

    enabled

    If the integration is enabled

    syncing

    If the integration is synced

    roleId

    Role that this integration uses for subscribers, or guild id for Discord integrations

    expireBehavior

    The behavior of expiring subscribers.

    expireGracePeriod

    The grace period before expiring subscribers.

    user

    The user for this integration

    account

    Account information

    syncedAt

    When the integration last synced'

    subscriberCount

    How many subscribers this integration has. 0 for Discord

    revoked

    If this integration has been revoked

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. val account: IntegrationAccount

    Account information.

    Account information.

    Definition Classes
    ExternalIntegrationIntegration
  5. val application: Option[IntegrationApplication]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. val enableEmoticons: Option[Boolean]
  9. val enabled: Boolean

    If the integration is enabled.

    If the integration is enabled.

    Definition Classes
    ExternalIntegrationIntegration
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val expireBehavior: IntegrationExpireBehavior
  12. val expireGracePeriod: Int
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. val id: IntegrationId

    The id of the integration.

    The id of the integration.

    Definition Classes
    ExternalIntegrationIntegration
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val name: String

    The integration name.

    The integration name.

    Definition Classes
    ExternalIntegrationIntegration
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. val revoked: Boolean
  22. val roleId: RoleId
  23. val subscriberCount: Int
  24. val syncedAt: OffsetDateTime
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. val syncing: Boolean
  27. val type: IntegrationType

    The type of the integration.

    The type of the integration.

    Definition Classes
    ExternalIntegrationIntegration
  28. val user: Option[User]
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Integration

Inherited from AnyRef

Inherited from Any

Ungrouped