Integration class
An integration in a Guild.
- Inheritance
Properties
- account → IntegrationAccount
-
Information about this integration's account.
final
- application → IntegrationApplication?
-
The application for this integration.
final
- enableEmoticons → bool?
-
Whether emoticons should be synced for this integration.
final
- expireBehavior → IntegrationExpireBehavior?
-
The behavior of expiring subscribers for this integration.
final
- expireGracePeriod → Duration?
-
The grace period for expiring subscribers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
The id of this entity.
finalinherited
- isEnabled → bool
-
Whether this integration is enabled.
final
- isRevoked → bool?
-
Whether this integration is revoked.
final
- isSyncing → bool?
-
Whether this integration is syncing.
final
- manager → IntegrationManager
-
The manager for this entity.
finalinherited
- name → String
-
The name of this integration.
final
- role → PartialRole?
-
The role this integration uses for subscribers.
no setter
- roleId → Snowflake?
-
The ID of the role this integration uses for subscribers.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ List<
String> ? -
The OAuth2 scopes this integration is authorized for.
final
- subscriberCount → int?
-
The number of subscribers to this integration.
final
- syncedAt → DateTime?
-
The time at which this integration last synced.
final
- type → String
-
The type of this integration.
final
- user → User?
-
The user for this integration.
final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
delete(
{String? auditLogReason}) → Future< void> -
Delete this integration.
inherited
-
fetch(
) → Future< Integration> -
Fetch this entity from the API.
inherited
-
get(
) → Future< Integration> -
If this entity exists in the manager's cache, return the cached instance. Otherwise, fetch
this entity and return it.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited