/// <summary> /// Returns true if OrgApacheJackrabbitOakPluginsIndexSolrOsgiRemoteSolrServerConfProperties instances are equal /// </summary> /// <param name="other">Instance of OrgApacheJackrabbitOakPluginsIndexSolrOsgiRemoteSolrServerConfProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(OrgApacheJackrabbitOakPluginsIndexSolrOsgiRemoteSolrServerConfProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SolrHttpUrl == other.SolrHttpUrl || SolrHttpUrl != null && SolrHttpUrl.Equals(other.SolrHttpUrl) ) && ( SolrZkHost == other.SolrZkHost || SolrZkHost != null && SolrZkHost.Equals(other.SolrZkHost) ) && ( SolrCollection == other.SolrCollection || SolrCollection != null && SolrCollection.Equals(other.SolrCollection) ) && ( SolrSocketTimeout == other.SolrSocketTimeout || SolrSocketTimeout != null && SolrSocketTimeout.Equals(other.SolrSocketTimeout) ) && ( SolrConnectionTimeout == other.SolrConnectionTimeout || SolrConnectionTimeout != null && SolrConnectionTimeout.Equals(other.SolrConnectionTimeout) ) && ( SolrShardsNo == other.SolrShardsNo || SolrShardsNo != null && SolrShardsNo.Equals(other.SolrShardsNo) ) && ( SolrReplicationFactor == other.SolrReplicationFactor || SolrReplicationFactor != null && SolrReplicationFactor.Equals(other.SolrReplicationFactor) ) && ( SolrConfDir == other.SolrConfDir || SolrConfDir != null && SolrConfDir.Equals(other.SolrConfDir) )); }