/// <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 (Enabled != null)
         {
             hashCode = hashCode * 59 + Enabled.GetHashCode();
         }
         if (ConfigPath != null)
         {
             hashCode = hashCode * 59 + ConfigPath.GetHashCode();
         }
         if (FallbackPaths != null)
         {
             hashCode = hashCode * 59 + FallbackPaths.GetHashCode();
         }
         if (ConfigCollectionInheritancePropertyNames != null)
         {
             hashCode = hashCode * 59 + ConfigCollectionInheritancePropertyNames.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if OrgApacheSlingCaconfigResourceImplDefDefaultConfigurationResourProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingCaconfigResourceImplDefDefaultConfigurationResourProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingCaconfigResourceImplDefDefaultConfigurationResourProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Enabled == other.Enabled ||
                     Enabled != null &&
                     Enabled.Equals(other.Enabled)
                     ) &&
                 (
                     ConfigPath == other.ConfigPath ||
                     ConfigPath != null &&
                     ConfigPath.Equals(other.ConfigPath)
                 ) &&
                 (
                     FallbackPaths == other.FallbackPaths ||
                     FallbackPaths != null &&
                     FallbackPaths.Equals(other.FallbackPaths)
                 ) &&
                 (
                     ConfigCollectionInheritancePropertyNames == other.ConfigCollectionInheritancePropertyNames ||
                     ConfigCollectionInheritancePropertyNames != null &&
                     ConfigCollectionInheritancePropertyNames.Equals(other.ConfigCollectionInheritancePropertyNames)
                 ));
        }