|
|
@@ -1,4 +1,5 @@ |
|
|
|
using Newtonsoft.Json; |
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
namespace Discord.API |
|
|
|
{ |
|
|
@@ -6,9 +7,41 @@ namespace Discord.API |
|
|
|
{ |
|
|
|
[JsonProperty("id")] |
|
|
|
public ulong Id { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("name")] |
|
|
|
public string Name { get; set; } |
|
|
|
[JsonProperty("splash_hash")] |
|
|
|
public string SplashHash { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("splash")] |
|
|
|
public Optional<string> Splash { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("banner")] |
|
|
|
public Optional<string> BannerHash { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("description")] |
|
|
|
public Optional<string> Description { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("icon")] |
|
|
|
public Optional<string> IconHash { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("features")] |
|
|
|
public GuildFeatures Features { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("verification_level")] |
|
|
|
public VerificationLevel VerificationLevel { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("vanity_url_code")] |
|
|
|
public Optional<string> VanityUrlCode { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("premium_subscription_count")] |
|
|
|
public Optional<int> PremiumSubscriptionCount { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("nsfw")] |
|
|
|
public Optional<bool?> Nsfw { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("nsfw_level")] |
|
|
|
public NsfwLevel NsfwLevel { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("welcome_screen")] |
|
|
|
public Optional<WelcomeScreen> WelcomeScreen { get; set; } |
|
|
|
} |
|
|
|
} |