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