/// <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>
 /// 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 ComAdobeAemUpgradePrechecksHcImplDeprecateIndexesHCProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeAemUpgradePrechecksHcImplDeprecateIndexesHCProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeAemUpgradePrechecksHcImplDeprecateIndexesHCProperties 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)
                 ));
        }
 /// <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 (Expression != null)
         {
             hashCode = hashCode * 59 + Expression.GetHashCode();
         }
         if (LanguageExtension != null)
         {
             hashCode = hashCode * 59 + LanguageExtension.GetHashCode();
         }
         return(hashCode);
     }
 }
 /// <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 (NumberOfRetriesAllowed != null)
         {
             hashCode = hashCode * 59 + NumberOfRetriesAllowed.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if OrgApacheSlingDistributionMonitorDistributionQueueHealthCheckProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingDistributionMonitorDistributionQueueHealthCheckProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingDistributionMonitorDistributionQueueHealthCheckProperties 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)
                 ) &&
                 (
                     NumberOfRetriesAllowed == other.NumberOfRetriesAllowed ||
                     NumberOfRetriesAllowed != null &&
                     NumberOfRetriesAllowed.Equals(other.NumberOfRetriesAllowed)
                 ));
        }
        /// <summary>
        /// Returns true if ComAdobeCqHcContentPackagesHealthCheckProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComAdobeCqHcContentPackagesHealthCheckProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComAdobeCqHcContentPackagesHealthCheckProperties 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)
                 ) &&
                 (
                     PackageNames == other.PackageNames ||
                     PackageNames != null &&
                     PackageNames.Equals(other.PackageNames)
                 ));
        }
Exemplo n.º 8
0
        /// <summary>
        /// Returns true if OrgApacheSlingDiscoveryOakSynchronizedClocksHealthCheckProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingDiscoveryOakSynchronizedClocksHealthCheckProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingDiscoveryOakSynchronizedClocksHealthCheckProperties 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)
                 ));
        }
        /// <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)
                 ));
        }
        /// <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)
                 ));
        }
        /// <summary>
        /// Returns true if OrgApacheSlingHcCoreImplScriptableHealthCheckProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingHcCoreImplScriptableHealthCheckProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingHcCoreImplScriptableHealthCheckProperties 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)
                 ) &&
                 (
                     Expression == other.Expression ||
                     Expression != null &&
                     Expression.Equals(other.Expression)
                 ) &&
                 (
                     LanguageExtension == other.LanguageExtension ||
                     LanguageExtension != null &&
                     LanguageExtension.Equals(other.LanguageExtension)
                 ));
        }