/// <summary> /// Returns true if ComDayCqMailerDefaultMailServiceProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqMailerDefaultMailServiceProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqMailerDefaultMailServiceProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SmtpHost == other.SmtpHost || SmtpHost != null && SmtpHost.Equals(other.SmtpHost) ) && ( SmtpPort == other.SmtpPort || SmtpPort != null && SmtpPort.Equals(other.SmtpPort) ) && ( SmtpUser == other.SmtpUser || SmtpUser != null && SmtpUser.Equals(other.SmtpUser) ) && ( SmtpPassword == other.SmtpPassword || SmtpPassword != null && SmtpPassword.Equals(other.SmtpPassword) ) && ( FromAddress == other.FromAddress || FromAddress != null && FromAddress.Equals(other.FromAddress) ) && ( SmtpSsl == other.SmtpSsl || SmtpSsl != null && SmtpSsl.Equals(other.SmtpSsl) ) && ( SmtpStarttls == other.SmtpStarttls || SmtpStarttls != null && SmtpStarttls.Equals(other.SmtpStarttls) ) && ( DebugEmail == other.DebugEmail || DebugEmail != null && DebugEmail.Equals(other.DebugEmail) )); }