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