case class Integration(id: IntegrationId, name: String, type: String, 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 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
- Alphabetic
- By Inheritance
- Integration
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Integration(id: IntegrationId, name: String, type: String, 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val account: IntegrationAccount
- val application: Option[IntegrationApplication]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val enableEmoticons: Option[Boolean]
- val enabled: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expireBehavior: IntegrationExpireBehavior
- val expireGracePeriod: Int
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: IntegrationId
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val revoked: Boolean
- val roleId: RoleId
- val subscriberCount: Int
- val syncedAt: OffsetDateTime
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val syncing: Boolean
- val type: String
- val user: Option[User]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()