/// <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 (CqAnalyticsSitecatalystServiceDatacenterUrl != null)
         {
             hashCode = hashCode * 59 + CqAnalyticsSitecatalystServiceDatacenterUrl.GetHashCode();
         }
         if (Devhostnamepatterns != null)
         {
             hashCode = hashCode * 59 + Devhostnamepatterns.GetHashCode();
         }
         if (ConnectionTimeout != null)
         {
             hashCode = hashCode * 59 + ConnectionTimeout.GetHashCode();
         }
         if (SocketTimeout != null)
         {
             hashCode = hashCode * 59 + SocketTimeout.GetHashCode();
         }
         return(hashCode);
     }
 }
 /// <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 (CqSearchpromoteConfigurationServerUri != null)
         {
             hashCode = hashCode * 59 + CqSearchpromoteConfigurationServerUri.GetHashCode();
         }
         if (CqSearchpromoteConfigurationEnvironment != null)
         {
             hashCode = hashCode * 59 + CqSearchpromoteConfigurationEnvironment.GetHashCode();
         }
         if (ConnectionTimeout != null)
         {
             hashCode = hashCode * 59 + ConnectionTimeout.GetHashCode();
         }
         if (SocketTimeout != null)
         {
             hashCode = hashCode * 59 + SocketTimeout.GetHashCode();
         }
         return(hashCode);
     }
 }
 /// <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 (ConnectionTimeout != null)
         {
             hashCode = hashCode * 59 + ConnectionTimeout.GetHashCode();
         }
         if (SocketTimeout != null)
         {
             hashCode = hashCode * 59 + SocketTimeout.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        ///     Gets the hash code for the current object.
        /// </summary>
        /// <returns>
        ///     A hash code for the current object.
        /// </returns>
        public override int GetHashCode( )
        {
            unchecked
            {
                int hash = 17;

                if (Server != null)
                {
                    hash = hash * 92821 + Server.GetHashCode( );
                }

                if (Database != null)
                {
                    hash = hash * 92821 + Database.GetHashCode( );
                }

                hash = hash * 92821 + Authentication.GetHashCode( );

                if (Credentials != null)
                {
                    hash = hash * 92821 + Credentials.GetHashCode( );
                }

                hash = hash * 92821 + ConnectionTimeout.GetHashCode( );

                hash = hash * 92821 + CommandTimeout.GetHashCode( );

                hash = hash * 92821 + TransactionTimeout.GetHashCode( );

                if (Parameters != null)
                {
                    hash = hash * 92821 + Parameters.GetHashCode( );
                }

                hash = hash * 92821 + MaxPoolSize.GetHashCode( );

                return(hash);
            }
        }