/// <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 (Path != null)
         {
             hashCode = hashCode * 59 + Path.GetHashCode();
         }
         if (AuthHttpNologin != null)
         {
             hashCode = hashCode * 59 + AuthHttpNologin.GetHashCode();
         }
         if (AuthHttpRealm != null)
         {
             hashCode = hashCode * 59 + AuthHttpRealm.GetHashCode();
         }
         if (AuthDefaultLoginpage != null)
         {
             hashCode = hashCode * 59 + AuthDefaultLoginpage.GetHashCode();
         }
         if (AuthCredForm != null)
         {
             hashCode = hashCode * 59 + AuthCredForm.GetHashCode();
         }
         if (AuthCredUtf8 != null)
         {
             hashCode = hashCode * 59 + AuthCredUtf8.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if ComDayCqWcmFoundationImplHTTPAuthHandlerProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqWcmFoundationImplHTTPAuthHandlerProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqWcmFoundationImplHTTPAuthHandlerProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Path == other.Path ||
                     Path != null &&
                     Path.Equals(other.Path)
                     ) &&
                 (
                     AuthHttpNologin == other.AuthHttpNologin ||
                     AuthHttpNologin != null &&
                     AuthHttpNologin.Equals(other.AuthHttpNologin)
                 ) &&
                 (
                     AuthHttpRealm == other.AuthHttpRealm ||
                     AuthHttpRealm != null &&
                     AuthHttpRealm.Equals(other.AuthHttpRealm)
                 ) &&
                 (
                     AuthDefaultLoginpage == other.AuthDefaultLoginpage ||
                     AuthDefaultLoginpage != null &&
                     AuthDefaultLoginpage.Equals(other.AuthDefaultLoginpage)
                 ) &&
                 (
                     AuthCredForm == other.AuthCredForm ||
                     AuthCredForm != null &&
                     AuthCredForm.Equals(other.AuthCredForm)
                 ) &&
                 (
                     AuthCredUtf8 == other.AuthCredUtf8 ||
                     AuthCredUtf8 != null &&
                     AuthCredUtf8.Equals(other.AuthCredUtf8)
                 ));
        }