public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } return(obj is GetEmployeeWageResponse other && ((Context == null && other.Context == null) || (Context?.Equals(other.Context) == true)) && ((EmployeeWage == null && other.EmployeeWage == null) || (EmployeeWage?.Equals(other.EmployeeWage) == true)) && ((Errors == null && other.Errors == null) || (Errors?.Equals(other.Errors) == true))); }
public override int GetHashCode() { int hashCode = 702273580; if (Context != null) { hashCode += Context.GetHashCode(); } if (EmployeeWage != null) { hashCode += EmployeeWage.GetHashCode(); } if (Errors != null) { hashCode += Errors.GetHashCode(); } return(hashCode); }
protected void ToString(List <string> toStringOutput) { toStringOutput.Add($"EmployeeWage = {(EmployeeWage == null ? "null" : EmployeeWage.ToString())}"); toStringOutput.Add($"Errors = {(Errors == null ? "null" : $"[{ string.Join(", ", Errors)} ]")}"); }