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