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

            return
                ((
                     HcName == other.HcName ||
                     HcName != null &&
                     HcName.Equals(other.HcName)
                     ) &&
                 (
                     HcTags == other.HcTags ||
                     HcTags != null &&
                     HcTags.Equals(other.HcTags)
                 ) &&
                 (
                     HcMbeanName == other.HcMbeanName ||
                     HcMbeanName != null &&
                     HcMbeanName.Equals(other.HcMbeanName)
                 ) &&
                 (
                     FilterTags == other.FilterTags ||
                     FilterTags != null &&
                     FilterTags.Equals(other.FilterTags)
                 ) &&
                 (
                     FilterCombineTagsWithOr == other.FilterCombineTagsWithOr ||
                     FilterCombineTagsWithOr != null &&
                     FilterCombineTagsWithOr.Equals(other.FilterCombineTagsWithOr)
                 ));
        }