/// <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 (MbeanName != null)
         {
             hashCode = hashCode * 59 + MbeanName.GetHashCode();
         }
         if (AttributeName != null)
         {
             hashCode = hashCode * 59 + AttributeName.GetHashCode();
         }
         if (AttributeValueConstraint != null)
         {
             hashCode = hashCode * 59 + AttributeValueConstraint.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if OrgApacheSlingHcCoreImplJmxAttributeHealthCheckProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingHcCoreImplJmxAttributeHealthCheckProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingHcCoreImplJmxAttributeHealthCheckProperties 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)
                 ) &&
                 (
                     MbeanName == other.MbeanName ||
                     MbeanName != null &&
                     MbeanName.Equals(other.MbeanName)
                 ) &&
                 (
                     AttributeName == other.AttributeName ||
                     AttributeName != null &&
                     AttributeName.Equals(other.AttributeName)
                 ) &&
                 (
                     AttributeValueConstraint == other.AttributeValueConstraint ||
                     AttributeValueConstraint != null &&
                     AttributeValueConstraint.Equals(other.AttributeValueConstraint)
                 ));
        }