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