using System; namespace axXez.TS3.Protocol { /// Use instead, which covers all permission list responses. [Obsolete("Use SetPermissionInfo instead.")] public class ChannelPermissionInfo : TsEntity, IPermissionEntry { /// Numeric permission ID. [TsField("permid")] public int ID { get; protected set; } /// ID of the channel this permission is assigned to. [TsField("cid")] public int ChannelID { get; protected set; } /// String permission identifier. [TsField("permsid")] public string Name { get; protected set; } /// Numeric permission value. [TsField("permvalue")] public int Value { get; protected set; } /// Whether the permission is negated. [TsField("permnegated")] public bool Negated { get; protected set; } /// Whether the permission is skipped during channel permission inheritance. [TsField("permskip")] public bool Skip { get; protected set; } internal ChannelPermissionInfo(TsDataEntry data) : base(data) { } } }