/// <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 (SchedulerPeriod != null) { hashCode = hashCode * 59 + SchedulerPeriod.GetHashCode(); } if (SchedulerConcurrent != null) { hashCode = hashCode * 59 + SchedulerConcurrent.GetHashCode(); } if (GoodLinkTestInterval != null) { hashCode = hashCode * 59 + GoodLinkTestInterval.GetHashCode(); } if (BadLinkTestInterval != null) { hashCode = hashCode * 59 + BadLinkTestInterval.GetHashCode(); } if (LinkUnusedInterval != null) { hashCode = hashCode * 59 + LinkUnusedInterval.GetHashCode(); } if (ConnectionTimeout != null) { hashCode = hashCode * 59 + ConnectionTimeout.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 (SchedulerPeriod != null) { hashCode = hashCode * 59 + SchedulerPeriod.GetHashCode(); } if (SchedulerConcurrent != null) { hashCode = hashCode * 59 + SchedulerConcurrent.GetHashCode(); } if (Path != null) { hashCode = hashCode * 59 + Path.GetHashCode(); } if (Workspace != null) { hashCode = hashCode * 59 + Workspace.GetHashCode(); } if (KeywordsPath != null) { hashCode = hashCode * 59 + KeywordsPath.GetHashCode(); } if (AsyncEntries != null) { hashCode = hashCode * 59 + AsyncEntries.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if ComAdobeGraniteThreaddumpThreadDumpCollectorProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeGraniteThreaddumpThreadDumpCollectorProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeGraniteThreaddumpThreadDumpCollectorProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SchedulerPeriod == other.SchedulerPeriod || SchedulerPeriod != null && SchedulerPeriod.Equals(other.SchedulerPeriod) ) && ( SchedulerRunOn == other.SchedulerRunOn || SchedulerRunOn != null && SchedulerRunOn.Equals(other.SchedulerRunOn) ) && ( GraniteThreaddumpEnabled == other.GraniteThreaddumpEnabled || GraniteThreaddumpEnabled != null && GraniteThreaddumpEnabled.Equals(other.GraniteThreaddumpEnabled) ) && ( GraniteThreaddumpDumpsPerFile == other.GraniteThreaddumpDumpsPerFile || GraniteThreaddumpDumpsPerFile != null && GraniteThreaddumpDumpsPerFile.Equals(other.GraniteThreaddumpDumpsPerFile) ) && ( GraniteThreaddumpEnableGzipCompression == other.GraniteThreaddumpEnableGzipCompression || GraniteThreaddumpEnableGzipCompression != null && GraniteThreaddumpEnableGzipCompression.Equals(other.GraniteThreaddumpEnableGzipCompression) ) && ( GraniteThreaddumpEnableDirectoriesCompression == other.GraniteThreaddumpEnableDirectoriesCompression || GraniteThreaddumpEnableDirectoriesCompression != null && GraniteThreaddumpEnableDirectoriesCompression.Equals(other.GraniteThreaddumpEnableDirectoriesCompression) ) && ( GraniteThreaddumpEnableJStack == other.GraniteThreaddumpEnableJStack || GraniteThreaddumpEnableJStack != null && GraniteThreaddumpEnableJStack.Equals(other.GraniteThreaddumpEnableJStack) ) && ( GraniteThreaddumpMaxBackupDays == other.GraniteThreaddumpMaxBackupDays || GraniteThreaddumpMaxBackupDays != null && GraniteThreaddumpMaxBackupDays.Equals(other.GraniteThreaddumpMaxBackupDays) ) && ( GraniteThreaddumpBackupCleanTrigger == other.GraniteThreaddumpBackupCleanTrigger || GraniteThreaddumpBackupCleanTrigger != null && GraniteThreaddumpBackupCleanTrigger.Equals(other.GraniteThreaddumpBackupCleanTrigger) )); }
/// <summary> /// Returns true if ComDayCqRewriterLinkcheckerImplLinkCheckerImplProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqRewriterLinkcheckerImplLinkCheckerImplProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqRewriterLinkcheckerImplLinkCheckerImplProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SchedulerPeriod == other.SchedulerPeriod || SchedulerPeriod != null && SchedulerPeriod.Equals(other.SchedulerPeriod) ) && ( SchedulerConcurrent == other.SchedulerConcurrent || SchedulerConcurrent != null && SchedulerConcurrent.Equals(other.SchedulerConcurrent) ) && ( ServiceBadLinkToleranceInterval == other.ServiceBadLinkToleranceInterval || ServiceBadLinkToleranceInterval != null && ServiceBadLinkToleranceInterval.Equals(other.ServiceBadLinkToleranceInterval) ) && ( ServiceCheckOverridePatterns == other.ServiceCheckOverridePatterns || ServiceCheckOverridePatterns != null && ServiceCheckOverridePatterns.Equals(other.ServiceCheckOverridePatterns) ) && ( ServiceCacheBrokenInternalLinks == other.ServiceCacheBrokenInternalLinks || ServiceCacheBrokenInternalLinks != null && ServiceCacheBrokenInternalLinks.Equals(other.ServiceCacheBrokenInternalLinks) ) && ( ServiceSpecialLinkPrefix == other.ServiceSpecialLinkPrefix || ServiceSpecialLinkPrefix != null && ServiceSpecialLinkPrefix.Equals(other.ServiceSpecialLinkPrefix) ) && ( ServiceSpecialLinkPatterns == other.ServiceSpecialLinkPatterns || ServiceSpecialLinkPatterns != null && ServiceSpecialLinkPatterns.Equals(other.ServiceSpecialLinkPatterns) )); }
/// <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 (SchedulerPeriod != null) { hashCode = hashCode * 59 + SchedulerPeriod.GetHashCode(); } if (SchedulerRunOn != null) { hashCode = hashCode * 59 + SchedulerRunOn.GetHashCode(); } if (GraniteThreaddumpEnabled != null) { hashCode = hashCode * 59 + GraniteThreaddumpEnabled.GetHashCode(); } if (GraniteThreaddumpDumpsPerFile != null) { hashCode = hashCode * 59 + GraniteThreaddumpDumpsPerFile.GetHashCode(); } if (GraniteThreaddumpEnableGzipCompression != null) { hashCode = hashCode * 59 + GraniteThreaddumpEnableGzipCompression.GetHashCode(); } if (GraniteThreaddumpEnableDirectoriesCompression != null) { hashCode = hashCode * 59 + GraniteThreaddumpEnableDirectoriesCompression.GetHashCode(); } if (GraniteThreaddumpEnableJStack != null) { hashCode = hashCode * 59 + GraniteThreaddumpEnableJStack.GetHashCode(); } if (GraniteThreaddumpMaxBackupDays != null) { hashCode = hashCode * 59 + GraniteThreaddumpMaxBackupDays.GetHashCode(); } if (GraniteThreaddumpBackupCleanTrigger != null) { hashCode = hashCode * 59 + GraniteThreaddumpBackupCleanTrigger.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if ComDayCqRewriterLinkcheckerImplLinkCheckerTaskProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqRewriterLinkcheckerImplLinkCheckerTaskProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqRewriterLinkcheckerImplLinkCheckerTaskProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SchedulerPeriod == other.SchedulerPeriod || SchedulerPeriod != null && SchedulerPeriod.Equals(other.SchedulerPeriod) ) && ( SchedulerConcurrent == other.SchedulerConcurrent || SchedulerConcurrent != null && SchedulerConcurrent.Equals(other.SchedulerConcurrent) ) && ( GoodLinkTestInterval == other.GoodLinkTestInterval || GoodLinkTestInterval != null && GoodLinkTestInterval.Equals(other.GoodLinkTestInterval) ) && ( BadLinkTestInterval == other.BadLinkTestInterval || BadLinkTestInterval != null && BadLinkTestInterval.Equals(other.BadLinkTestInterval) ) && ( LinkUnusedInterval == other.LinkUnusedInterval || LinkUnusedInterval != null && LinkUnusedInterval.Equals(other.LinkUnusedInterval) ) && ( ConnectionTimeout == other.ConnectionTimeout || ConnectionTimeout != null && ConnectionTimeout.Equals(other.ConnectionTimeout) )); }
/// <summary> /// Returns true if ComDayCqStatisticsImplStatisticsServiceImplProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqStatisticsImplStatisticsServiceImplProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqStatisticsImplStatisticsServiceImplProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SchedulerPeriod == other.SchedulerPeriod || SchedulerPeriod != null && SchedulerPeriod.Equals(other.SchedulerPeriod) ) && ( SchedulerConcurrent == other.SchedulerConcurrent || SchedulerConcurrent != null && SchedulerConcurrent.Equals(other.SchedulerConcurrent) ) && ( Path == other.Path || Path != null && Path.Equals(other.Path) ) && ( Workspace == other.Workspace || Workspace != null && Workspace.Equals(other.Workspace) ) && ( KeywordsPath == other.KeywordsPath || KeywordsPath != null && KeywordsPath.Equals(other.KeywordsPath) ) && ( AsyncEntries == other.AsyncEntries || AsyncEntries != null && AsyncEntries.Equals(other.AsyncEntries) )); }
/// <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 (SchedulerPeriod != null) { hashCode = hashCode * 59 + SchedulerPeriod.GetHashCode(); } if (SchedulerConcurrent != null) { hashCode = hashCode * 59 + SchedulerConcurrent.GetHashCode(); } if (ServiceBadLinkToleranceInterval != null) { hashCode = hashCode * 59 + ServiceBadLinkToleranceInterval.GetHashCode(); } if (ServiceCheckOverridePatterns != null) { hashCode = hashCode * 59 + ServiceCheckOverridePatterns.GetHashCode(); } if (ServiceCacheBrokenInternalLinks != null) { hashCode = hashCode * 59 + ServiceCacheBrokenInternalLinks.GetHashCode(); } if (ServiceSpecialLinkPrefix != null) { hashCode = hashCode * 59 + ServiceSpecialLinkPrefix.GetHashCode(); } if (ServiceSpecialLinkPatterns != null) { hashCode = hashCode * 59 + ServiceSpecialLinkPatterns.GetHashCode(); } return(hashCode); } }