/// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (IllegalCharMapping != null)
         {
             hashCode = hashCode * 59 + IllegalCharMapping.GetHashCode();
         }
         if (PageSubTreeActivationCheck != null)
         {
             hashCode = hashCode * 59 + PageSubTreeActivationCheck.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if ComDayCqWcmCoreImplPagePageManagerFactoryImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqWcmCoreImplPagePageManagerFactoryImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqWcmCoreImplPagePageManagerFactoryImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     IllegalCharMapping == other.IllegalCharMapping ||
                     IllegalCharMapping != null &&
                     IllegalCharMapping.Equals(other.IllegalCharMapping)
                     ) &&
                 (
                     PageSubTreeActivationCheck == other.PageSubTreeActivationCheck ||
                     PageSubTreeActivationCheck != null &&
                     PageSubTreeActivationCheck.Equals(other.PageSubTreeActivationCheck)
                 ));
        }