| @@ -5,35 +5,30 @@ namespace Discord | |||||
| public interface IGuildIntegration | public interface IGuildIntegration | ||||
| { | { | ||||
| /// <summary> Gets the integration ID. </summary> | /// <summary> Gets the integration ID. </summary> | ||||
| /// <returns> Gets the integration ID. </returns> | |||||
| /// <returns> A unique identifier value of this integration. </returns> | |||||
| ulong Id { get; } | ulong Id { get; } | ||||
| /// <summary> Gets the integration name. </summary> | /// <summary> Gets the integration name. </summary> | ||||
| /// <returns> Gets the integration name. </returns> | |||||
| /// <returns> A string containing the name of this integration. </returns> | |||||
| string Name { get; } | string Name { get; } | ||||
| /// <summary> Gets the integration type (twitch, youtube, etc). </summary> | /// <summary> Gets the integration type (twitch, youtube, etc). </summary> | ||||
| /// <returns> Gets the integration type (twitch, youtube, etc). </returns> | |||||
| /// <returns> A string containing the name of the type of integration. </returns> | |||||
| string Type { get; } | string Type { get; } | ||||
| /// <summary> Gets if this integration is enabled or not. </summary> | /// <summary> Gets if this integration is enabled or not. </summary> | ||||
| /// <summary> Gets if this integration is enabled or not. </returns> | |||||
| /// <summary> A value indicating if this integration is enabled. </returns> | |||||
| bool IsEnabled { get; } | bool IsEnabled { get; } | ||||
| /// <summary> Gets if this integration is syncing or not. </summary> | /// <summary> Gets if this integration is syncing or not. </summary> | ||||
| /// <returns> Gets if this integration is syncing or not. </returns> | |||||
| /// <returns> A value indicating if this integration is syncing. </returns> | |||||
| bool IsSyncing { get; } | bool IsSyncing { get; } | ||||
| /// <summary> Gets the ID that this integration uses for "subscribers". </summary> | /// <summary> Gets the ID that this integration uses for "subscribers". </summary> | ||||
| /// <returns> Gets the ID that this integration uses for "subscribers". </returns> | |||||
| ulong ExpireBehavior { get; } | ulong ExpireBehavior { get; } | ||||
| /// <summary> Gets the grace period before expiring subscribers. </summary> | /// <summary> Gets the grace period before expiring subscribers. </summary> | ||||
| /// <returns> Gets the grace period before expiring subscribers. </returns> | |||||
| ulong ExpireGracePeriod { get; } | ulong ExpireGracePeriod { get; } | ||||
| /// <summary> Gets when this integration was last synced. </summary> | /// <summary> Gets when this integration was last synced. </summary> | ||||
| /// <returns> Gets when this integration was last synced. </returns> | |||||
| /// <returns> A <see cref="DateTimeOffset"/> containing a date and time of day when the integration was last synced. </returns> | |||||
| DateTimeOffset SyncedAt { get; } | DateTimeOffset SyncedAt { get; } | ||||
| /// <summary> | /// <summary> | ||||
| /// Gets integration account information. See <see cref="IntegrationAccount"/>. | /// Gets integration account information. See <see cref="IntegrationAccount"/>. | ||||
| /// </summary> | /// </summary> | ||||
| /// <returns> | |||||
| /// Gets integration account information. See <see cref="IntegrationAccount"/>. | |||||
| /// </returns> | |||||
| IntegrationAccount Account { get; } | IntegrationAccount Account { get; } | ||||
| IGuild Guild { get; } | IGuild Guild { get; } | ||||