using Newtonsoft.Json; namespace Maki.Structures.Roles { /// /// Discord API Role structure /// internal struct Role { /// /// role id /// [JsonProperty("id")] public ulong Id; /// /// role name /// [JsonProperty("name")] public string Name; /// /// integer representation of hexadecimal color code /// [JsonProperty("color")] public int? Colour; /// /// if this role is pinned in the user listing /// [JsonProperty("hoist")] public bool? IsHoisted; /// /// position of this role /// [JsonProperty("position")] public int? Position; /// /// permission bit set /// [JsonProperty("permissions")] public int? Permissions; /// /// whether this role is managed by an integration /// [JsonProperty("managed")] public bool? IsManaged; /// /// whether this role is mentionable /// [JsonProperty("mentionable")] public bool? IsMentionable; } }