You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
643 B
21 lines
643 B
#pragma warning disable CS1591
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Discord.API.Rest
|
|
{
|
|
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
|
|
internal class ModifyGuildRoleParams
|
|
{
|
|
[JsonProperty("name")]
|
|
public Optional<string> Name { get; set; }
|
|
[JsonProperty("permissions")]
|
|
public Optional<ulong> Permissions { get; set; }
|
|
[JsonProperty("color")]
|
|
public Optional<uint> Color { get; set; }
|
|
[JsonProperty("hoist")]
|
|
public Optional<bool> Hoist { get; set; }
|
|
[JsonProperty("mentionable")]
|
|
public Optional<bool> Mentionable { get; set; }
|
|
}
|
|
}
|