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

    Account information.

    Account information.

    Definition Classes
    ExternalIntegrationIntegration
  2. val application: Option[IntegrationApplication]
  3. val enableEmoticons: Option[Boolean]
  4. val enabled: Boolean

    If the integration is enabled.

    If the integration is enabled.

    Definition Classes
    ExternalIntegrationIntegration
  5. val expireBehavior: IntegrationExpireBehavior
  6. val expireGracePeriod: Int
  7. val id: IntegrationId

    The id of the integration.

    The id of the integration.

    Definition Classes
    ExternalIntegrationIntegration
  8. val name: String

    The integration name.

    The integration name.

    Definition Classes
    ExternalIntegrationIntegration
  9. def productElementNames: Iterator[String]
    Definition Classes
    Product
  10. val revoked: Boolean
  11. val roleId: RoleId
  12. val subscriberCount: Int
  13. val syncedAt: OffsetDateTime
  14. val syncing: Boolean
  15. val type: IntegrationType

    The type of the integration.

    The type of the integration.

    Definition Classes
    ExternalIntegrationIntegration
  16. val user: Option[User]