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