* Merge https://github.com/Discord-Net-Labs/Discord.Net-Labs into patch/labs3.5.0 * Add missing periods
37 lines
1.3 KiB
C#
37 lines
1.3 KiB
C#
using Newtonsoft.Json;
|
|
|
|
namespace Discord.API
|
|
{
|
|
internal class Application
|
|
{
|
|
[JsonProperty("description")]
|
|
public string Description { get; set; }
|
|
[JsonProperty("rpc_origins")]
|
|
public Optional<string[]> RPCOrigins { get; set; }
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
[JsonProperty("id")]
|
|
public ulong Id { get; set; }
|
|
[JsonProperty("icon")]
|
|
public string Icon { get; set; }
|
|
[JsonProperty("bot_public")]
|
|
public bool IsBotPublic { get; set; }
|
|
[JsonProperty("bot_require_code_grant")]
|
|
public bool BotRequiresCodeGrant { get; set; }
|
|
[JsonProperty("install_params")]
|
|
public Optional<InstallParams> InstallParams { get; set; }
|
|
[JsonProperty("team")]
|
|
public Team Team { get; set; }
|
|
[JsonProperty("flags"), Int53]
|
|
public Optional<ApplicationFlags> Flags { get; set; }
|
|
[JsonProperty("owner")]
|
|
public Optional<User> Owner { get; set; }
|
|
[JsonProperty("tags")]
|
|
public Optional<string[]> Tags { get; set; }
|
|
[JsonProperty("terms_of_service_url")]
|
|
public string TermsOfService { get; set; }
|
|
[JsonProperty("privacy_policy_url")]
|
|
public string PrivacyPolicy { get; set; }
|
|
}
|
|
}
|