using Newtonsoft.Json;

namespace Discord.API
{
    internal class Overwrite
    {
        [JsonProperty("id")]
        public ulong TargetId { get; set; }
        [JsonProperty("type")]
        public PermissionTarget TargetType { get; set; }
        [JsonProperty("deny"), Int53]
        public string Deny { get; set; }
        [JsonProperty("allow"), Int53]
        public string Allow { get; set; }
    }
}
