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