You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Application.cs 948 B

123456789101112131415161718192021222324252627282930
  1. #pragma warning disable CS1591
  2. using Newtonsoft.Json;
  3. namespace Discord.API
  4. {
  5. internal class Application
  6. {
  7. [JsonProperty("description")]
  8. public string Description { get; set; }
  9. [JsonProperty("rpc_origins")]
  10. public string[] RPCOrigins { get; set; }
  11. [JsonProperty("name")]
  12. public string Name { get; set; }
  13. [JsonProperty("id")]
  14. public ulong Id { get; set; }
  15. [JsonProperty("icon")]
  16. public string Icon { get; set; }
  17. [JsonProperty("bot_public")]
  18. public bool IsBotPublic { get; set; }
  19. [JsonProperty("bot_require_code_grant")]
  20. public bool BotRequiresCodeGrant { get; set; }
  21. [JsonProperty("team")]
  22. public Optional<Team> Team { get; set; }
  23. [JsonProperty("flags"), Int53]
  24. public Optional<ulong> Flags { get; set; }
  25. [JsonProperty("owner")]
  26. public Optional<User> Owner { get; set; }
  27. }
  28. }