/// <summary>
        /// Returns true if ComAdobeGraniteCsrfImplCSRFFilterProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeGraniteCsrfImplCSRFFilterProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeGraniteCsrfImplCSRFFilterProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     FilterMethods == other.FilterMethods ||
                     FilterMethods != null &&
                     FilterMethods.Equals(other.FilterMethods)
                     ) &&
                 (
                     FilterEnableSafeUserAgents == other.FilterEnableSafeUserAgents ||
                     FilterEnableSafeUserAgents != null &&
                     FilterEnableSafeUserAgents.Equals(other.FilterEnableSafeUserAgents)
                 ) &&
                 (
                     FilterSafeUserAgents == other.FilterSafeUserAgents ||
                     FilterSafeUserAgents != null &&
                     FilterSafeUserAgents.Equals(other.FilterSafeUserAgents)
                 ) &&
                 (
                     FilterExcludedPaths == other.FilterExcludedPaths ||
                     FilterExcludedPaths != null &&
                     FilterExcludedPaths.Equals(other.FilterExcludedPaths)
                 ));
        }
        /// <summary>
        /// Returns true if OrgApacheSlingSecurityImplReferrerFilterProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingSecurityImplReferrerFilterProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingSecurityImplReferrerFilterProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     AllowEmpty == other.AllowEmpty ||
                     AllowEmpty != null &&
                     AllowEmpty.Equals(other.AllowEmpty)
                     ) &&
                 (
                     AllowHosts == other.AllowHosts ||
                     AllowHosts != null &&
                     AllowHosts.Equals(other.AllowHosts)
                 ) &&
                 (
                     AllowHostsRegexp == other.AllowHostsRegexp ||
                     AllowHostsRegexp != null &&
                     AllowHostsRegexp.Equals(other.AllowHostsRegexp)
                 ) &&
                 (
                     FilterMethods == other.FilterMethods ||
                     FilterMethods != null &&
                     FilterMethods.Equals(other.FilterMethods)
                 ) &&
                 (
                     ExcludeAgentsRegexp == other.ExcludeAgentsRegexp ||
                     ExcludeAgentsRegexp != null &&
                     ExcludeAgentsRegexp.Equals(other.ExcludeAgentsRegexp)
                 ));
        }