namespace axXez.TS3.Protocol { /// Represents a permission assignment returned by permission list commands. public class SetPermissionInfo : TsEntity, IPermissionEntry { /// Numeric permission ID (permid); 0 if the response only contains a permission name. [TsField("permid")] public int ID { get; protected set; } /// Internal permission name (permsid), e.g. "b_virtualserver_info_view". [TsField("permsid")] public string Name { get; protected set; } /// Value assigned to this permission. [TsField("permvalue")] public int Value { get; protected set; } /// Whether the permission value is negated. [TsField("permnegated")] public bool Negated { get; protected set; } /// Whether this permission is skipped during inheritance. [TsField("permskip")] public bool Skip { get; protected set; } internal SetPermissionInfo(TsDataEntry data) : base(data) { } } }