IntegrationData
data class IntegrationData(val id: Snowflake, val guildId: 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: IntegrationsAccountData, val syncedAt: Optional<Instant> = Optional.Missing(), val subscriberCount: OptionalInt = OptionalInt.Missing, val revoked: OptionalBoolean = OptionalBoolean.Missing, val application: Optional<IntegrationApplication> = Optional.Missing())(source)
Constructors
Link copied to clipboard
constructor(id: Snowflake, guildId: 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: IntegrationsAccountData, syncedAt: Optional<Instant> = Optional.Missing(), subscriberCount: OptionalInt = OptionalInt.Missing, revoked: OptionalBoolean = OptionalBoolean.Missing, application: Optional<IntegrationApplication> = Optional.Missing())