/// <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) )); }