/// <summary> /// Returns true if ComAdobeCqSocialDatastoreAsImplASResourceProviderFactoryProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeCqSocialDatastoreAsImplASResourceProviderFactoryProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeCqSocialDatastoreAsImplASResourceProviderFactoryProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( VersionId == other.VersionId || VersionId != null && VersionId.Equals(other.VersionId) ) && ( CacheOn == other.CacheOn || CacheOn != null && CacheOn.Equals(other.CacheOn) ) && ( ConcurrencyLevel == other.ConcurrencyLevel || ConcurrencyLevel != null && ConcurrencyLevel.Equals(other.ConcurrencyLevel) ) && ( CacheStartSize == other.CacheStartSize || CacheStartSize != null && CacheStartSize.Equals(other.CacheStartSize) ) && ( CacheTtl == other.CacheTtl || CacheTtl != null && CacheTtl.Equals(other.CacheTtl) ) && ( CacheSize == other.CacheSize || CacheSize != null && CacheSize.Equals(other.CacheSize) ) && ( TimeLimit == other.TimeLimit || TimeLimit != null && TimeLimit.Equals(other.TimeLimit) )); }
/// <summary> /// Returns true if ComAdobeCqSocialDatastoreOpImplSocialMSResourceProviderFactoryProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeCqSocialDatastoreOpImplSocialMSResourceProviderFactoryProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeCqSocialDatastoreOpImplSocialMSResourceProviderFactoryProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SolrZkTimeout == other.SolrZkTimeout || SolrZkTimeout != null && SolrZkTimeout.Equals(other.SolrZkTimeout) ) && ( SolrCommit == other.SolrCommit || SolrCommit != null && SolrCommit.Equals(other.SolrCommit) ) && ( CacheOn == other.CacheOn || CacheOn != null && CacheOn.Equals(other.CacheOn) ) && ( ConcurrencyLevel == other.ConcurrencyLevel || ConcurrencyLevel != null && ConcurrencyLevel.Equals(other.ConcurrencyLevel) ) && ( CacheStartSize == other.CacheStartSize || CacheStartSize != null && CacheStartSize.Equals(other.CacheStartSize) ) && ( CacheTtl == other.CacheTtl || CacheTtl != null && CacheTtl.Equals(other.CacheTtl) ) && ( CacheSize == other.CacheSize || CacheSize != null && CacheSize.Equals(other.CacheSize) )); }