DiscordIntegration

data class DiscordIntegration(val id: Snowflake, val name: String, val type: String, val enabled: Boolean, val syncing: OptionalBoolean = OptionalBoolean.Missing, val roleId: OptionalSnowflake = OptionalSnowflake.Missing, val enableEmoticons: OptionalBoolean = OptionalBoolean.Missing, val expireBehavior: Optional<IntegrationExpireBehavior> = Optional.Missing(), val expireGracePeriod: Optional<DurationInDays> = Optional.Missing(), val user: Optional<DiscordUser> = Optional.Missing(), val account: DiscordIntegrationsAccount, val syncedAt: Optional<Instant> = Optional.Missing(), val subscriberCount: OptionalInt = OptionalInt.Missing, val revoked: OptionalBoolean = OptionalBoolean.Missing, val application: Optional<IntegrationApplication> = Optional.Missing(), val guildId: OptionalSnowflake = OptionalSnowflake.Missing)(source)

Constructors

Link copied to clipboard
constructor(id: Snowflake, name: String, type: String, enabled: Boolean, syncing: OptionalBoolean = OptionalBoolean.Missing, roleId: OptionalSnowflake = OptionalSnowflake.Missing, enableEmoticons: OptionalBoolean = OptionalBoolean.Missing, expireBehavior: Optional<IntegrationExpireBehavior> = Optional.Missing(), expireGracePeriod: Optional<DurationInDays> = Optional.Missing(), user: Optional<DiscordUser> = Optional.Missing(), account: DiscordIntegrationsAccount, syncedAt: Optional<Instant> = Optional.Missing(), subscriberCount: OptionalInt = OptionalInt.Missing, revoked: OptionalBoolean = OptionalBoolean.Missing, application: Optional<IntegrationApplication> = Optional.Missing(), guildId: OptionalSnowflake = OptionalSnowflake.Missing)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "enable_emoticons")
val enableEmoticons: OptionalBoolean
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "expire_grace_period")
val expireGracePeriod: Optional<DurationInDays>
Link copied to clipboard
@SerialName(value = "guild_id")
val guildId: OptionalSnowflake
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "role_id")
val roleId: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "subscriber_count")
val subscriberCount: OptionalInt
Link copied to clipboard
@SerialName(value = "synced_at")
val syncedAt: Optional<Instant>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard