namespace Umbraco.Cms.Core.Models; /// /// Represents the state of a consent. /// [Flags] public enum ConsentState // : int { // note - this is a [Flags] enumeration // on can create detailed flags such as: // GrantedOptIn = Granted | 0x0001 // GrandedByForce = Granted | 0x0002 // // 16 situations for each Pending/Granted/Revoked should be ok /// /// There is no consent. /// None = 0, /// /// Consent is pending and has not been granted yet. /// Pending = 0x10000, /// /// Consent has been granted. /// Granted = 0x20000, /// /// Consent has been revoked. /// Revoked = 0x40000, }