Class JsonRole
- Namespace
- NetCord.JsonModels
- Assembly
- NetCord.dll
public class JsonRole : JsonEntity
- Inheritance
-
JsonRole
- Inherited Members
-
Constructors
JsonRole()
Properties
Color
[JsonPropertyName("color")]
public Color Color { get; set; }
Property Value
- Color
Flags
[JsonPropertyName("flags")]
public RoleFlags Flags { get; set; }
Property Value
- RoleFlags
Hoist
[JsonPropertyName("hoist")]
public bool Hoist { get; set; }
Property Value
- bool
IconHash
[JsonPropertyName("icon")]
public string? IconHash { get; set; }
Property Value
- string
Managed
[JsonPropertyName("managed")]
public bool Managed { get; set; }
Property Value
- bool
Mentionable
[JsonPropertyName("mentionable")]
public bool Mentionable { get; set; }
Property Value
- bool
Name
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
- string
Permissions
[JsonPropertyName("permissions")]
public Permissions Permissions { get; set; }
Property Value
- Permissions
Position
[JsonPropertyName("position")]
public int Position { get; set; }
Property Value
- int
[JsonPropertyName("tags")]
public JsonRoleTags? Tags { get; set; }
Property Value
- JsonRoleTags
UnicodeEmoji
[JsonPropertyName("unicode_emoji")]
public string? UnicodeEmoji { get; set; }
Property Value
- string