You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1020 B
33 lines
1020 B
#pragma warning disable CS1591
|
|
using Newtonsoft.Json;
|
|
using System;
|
|
|
|
namespace Discord.API
|
|
{
|
|
internal class Integration
|
|
{
|
|
[JsonProperty("id")]
|
|
public ulong Id { get; set; }
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
[JsonProperty("type")]
|
|
public string Type { get; set; }
|
|
[JsonProperty("enabled")]
|
|
public bool Enabled { get; set; }
|
|
[JsonProperty("syncing")]
|
|
public bool Syncing { get; set; }
|
|
[JsonProperty("role_id")]
|
|
public ulong RoleId { get; set; }
|
|
[JsonProperty("expire_behavior")]
|
|
public ulong ExpireBehavior { get; set; }
|
|
[JsonProperty("expire_grace_period")]
|
|
public ulong ExpireGracePeriod { get; set; }
|
|
[JsonProperty("user")]
|
|
public User User { get; set; }
|
|
[JsonProperty("account")]
|
|
public IntegrationAccount Account { get; set; }
|
|
[JsonProperty("synced_at")]
|
|
public DateTimeOffset SyncedAt { get; set; }
|
|
}
|
|
}
|