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.

Connection.cs 895 B

12345678910111213141516171819202122232425262728
  1. using Newtonsoft.Json;
  2. using System.Collections.Generic;
  3. namespace Discord.API
  4. {
  5. internal class Connection
  6. {
  7. [JsonProperty("id")]
  8. public string Id { get; set; }
  9. [JsonProperty("name")]
  10. public string Name { get; set; }
  11. [JsonProperty("type")]
  12. public string Type { get; set; }
  13. [JsonProperty("revoked")]
  14. public Optional<bool> Revoked { get; set; }
  15. [JsonProperty("integrations")]
  16. public Optional<IReadOnlyCollection<Integration>> Integrations { get; set; }
  17. [JsonProperty("verified")]
  18. public bool Verified { get; set; }
  19. [JsonProperty("friend_sync")]
  20. public bool FriendSync { get; set; }
  21. [JsonProperty("show_activity")]
  22. public bool ShowActivity { get; set; }
  23. [JsonProperty("visibility")]
  24. public ConnectionVisibility Visibility { get; set; }
  25. }
  26. }