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

            return
                ((
                     ServletresolverServletRoot == other.ServletresolverServletRoot ||
                     ServletresolverServletRoot != null &&
                     ServletresolverServletRoot.Equals(other.ServletresolverServletRoot)
                     ) &&
                 (
                     ServletresolverCacheSize == other.ServletresolverCacheSize ||
                     ServletresolverCacheSize != null &&
                     ServletresolverCacheSize.Equals(other.ServletresolverCacheSize)
                 ) &&
                 (
                     ServletresolverPaths == other.ServletresolverPaths ||
                     ServletresolverPaths != null &&
                     ServletresolverPaths.Equals(other.ServletresolverPaths)
                 ) &&
                 (
                     ServletresolverDefaultExtensions == other.ServletresolverDefaultExtensions ||
                     ServletresolverDefaultExtensions != null &&
                     ServletresolverDefaultExtensions.Equals(other.ServletresolverDefaultExtensions)
                 ));
        }