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

            return
                ((
                     CqSearchpromoteConfigurationServerUri == other.CqSearchpromoteConfigurationServerUri ||
                     CqSearchpromoteConfigurationServerUri != null &&
                     CqSearchpromoteConfigurationServerUri.Equals(other.CqSearchpromoteConfigurationServerUri)
                     ) &&
                 (
                     CqSearchpromoteConfigurationEnvironment == other.CqSearchpromoteConfigurationEnvironment ||
                     CqSearchpromoteConfigurationEnvironment != null &&
                     CqSearchpromoteConfigurationEnvironment.Equals(other.CqSearchpromoteConfigurationEnvironment)
                 ) &&
                 (
                     ConnectionTimeout == other.ConnectionTimeout ||
                     ConnectionTimeout != null &&
                     ConnectionTimeout.Equals(other.ConnectionTimeout)
                 ) &&
                 (
                     SocketTimeout == other.SocketTimeout ||
                     SocketTimeout != null &&
                     SocketTimeout.Equals(other.SocketTimeout)
                 ));
        }