/// <summary> /// Returns true if ResponseMetricsListData instances are equal /// </summary> /// <param name="other">Instance of ResponseMetricsListData to be compared</param> /// <returns>Boolean</returns> public bool Equals(ResponseMetricsListData other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( RequestTime == other.RequestTime || RequestTime != null && RequestTime.Equals(other.RequestTime) ) && ( Availability == other.Availability || Availability != null && Availability.Equals(other.Availability) ) && ( Invocations == other.Invocations || Invocations != null && Invocations.Equals(other.Invocations) ) && ( AverageResponse == other.AverageResponse || AverageResponse != null && AverageResponse.Equals(other.AverageResponse) ) && ( AverageTps == other.AverageTps || AverageTps != null && AverageTps.Equals(other.AverageTps) ) && ( PeakTps == other.PeakTps || PeakTps != null && PeakTps.Equals(other.PeakTps) ) && ( Errors == other.Errors || Errors != null && Errors.Equals(other.Errors) ) && ( Rejections == other.Rejections || Rejections != null && Rejections.Equals(other.Rejections) )); }