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