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