/// <summary> /// Returns true if ComDayCqWcmMsmImplRolloutManagerImplProperties instances are equal /// </summary> /// <param name="other">Instance of ComDayCqWcmMsmImplRolloutManagerImplProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComDayCqWcmMsmImplRolloutManagerImplProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( EventFilter == other.EventFilter || EventFilter != null && EventFilter.Equals(other.EventFilter) ) && ( RolloutmgrExcludedpropsDefault == other.RolloutmgrExcludedpropsDefault || RolloutmgrExcludedpropsDefault != null && RolloutmgrExcludedpropsDefault.Equals(other.RolloutmgrExcludedpropsDefault) ) && ( RolloutmgrExcludedparagraphpropsDefault == other.RolloutmgrExcludedparagraphpropsDefault || RolloutmgrExcludedparagraphpropsDefault != null && RolloutmgrExcludedparagraphpropsDefault.Equals(other.RolloutmgrExcludedparagraphpropsDefault) ) && ( RolloutmgrExcludednodetypesDefault == other.RolloutmgrExcludednodetypesDefault || RolloutmgrExcludednodetypesDefault != null && RolloutmgrExcludednodetypesDefault.Equals(other.RolloutmgrExcludednodetypesDefault) ) && ( RolloutmgrThreadpoolMaxsize == other.RolloutmgrThreadpoolMaxsize || RolloutmgrThreadpoolMaxsize != null && RolloutmgrThreadpoolMaxsize.Equals(other.RolloutmgrThreadpoolMaxsize) ) && ( RolloutmgrThreadpoolMaxshutdowntime == other.RolloutmgrThreadpoolMaxshutdowntime || RolloutmgrThreadpoolMaxshutdowntime != null && RolloutmgrThreadpoolMaxshutdowntime.Equals(other.RolloutmgrThreadpoolMaxshutdowntime) ) && ( RolloutmgrThreadpoolPriority == other.RolloutmgrThreadpoolPriority || RolloutmgrThreadpoolPriority != null && RolloutmgrThreadpoolPriority.Equals(other.RolloutmgrThreadpoolPriority) ) && ( RolloutmgrCommitSize == other.RolloutmgrCommitSize || RolloutmgrCommitSize != null && RolloutmgrCommitSize.Equals(other.RolloutmgrCommitSize) ) && ( RolloutmgrConflicthandlingEnabled == other.RolloutmgrConflicthandlingEnabled || RolloutmgrConflicthandlingEnabled != null && RolloutmgrConflicthandlingEnabled.Equals(other.RolloutmgrConflicthandlingEnabled) )); }
/// <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 (EventFilter != null) { hashCode = hashCode * 59 + EventFilter.GetHashCode(); } if (RolloutmgrExcludedpropsDefault != null) { hashCode = hashCode * 59 + RolloutmgrExcludedpropsDefault.GetHashCode(); } if (RolloutmgrExcludedparagraphpropsDefault != null) { hashCode = hashCode * 59 + RolloutmgrExcludedparagraphpropsDefault.GetHashCode(); } if (RolloutmgrExcludednodetypesDefault != null) { hashCode = hashCode * 59 + RolloutmgrExcludednodetypesDefault.GetHashCode(); } if (RolloutmgrThreadpoolMaxsize != null) { hashCode = hashCode * 59 + RolloutmgrThreadpoolMaxsize.GetHashCode(); } if (RolloutmgrThreadpoolMaxshutdowntime != null) { hashCode = hashCode * 59 + RolloutmgrThreadpoolMaxshutdowntime.GetHashCode(); } if (RolloutmgrThreadpoolPriority != null) { hashCode = hashCode * 59 + RolloutmgrThreadpoolPriority.GetHashCode(); } if (RolloutmgrCommitSize != null) { hashCode = hashCode * 59 + RolloutmgrCommitSize.GetHashCode(); } if (RolloutmgrConflicthandlingEnabled != null) { hashCode = hashCode * 59 + RolloutmgrConflicthandlingEnabled.GetHashCode(); } return(hashCode); } }