using Newtonsoft.Json; namespace Discord.API.Rest { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] internal class AddGuildMemberParams { [JsonProperty("access_token")] public string AccessToken { get; set; } [JsonProperty("nick")] public Optional Nickname { get; set; } [JsonProperty("roles")] public Optional RoleIds { get; set; } [JsonProperty("mute")] public Optional IsMuted { get; set; } [JsonProperty("deaf")] public Optional IsDeafened { get; set; } } }