Steph Solis

USA TODAY

A federal judge ordered the release of Trump University internal documents in a class-action lawsuit against the now-inactive real estate school in response to a request by The Washington Post.

U.S. District Judge Gonzalo Curiel in San Diego's order requires that the documents be released by Thursday, the Postreported. The documents would include "playbooks," marketing material advising sales employees on how to promote the pricey real estate courses.

The order was made Friday, the same day Trump called Curiel a "hater of Donald Trump" and suggested the judge, who is Hispanic, is biased against him for his immigration platform.

“I think Judge Curiel should be ashamed of himself," Trump said. "I think it’s a disgrace that he’s doing this.”

"What happens is the judge, who happens to be — we believe — Mexican. Which is great. I think that's fine," he added. "You know what? I think the Mexicans are going to end up loving Donald Trump when I give all these jobs, OK?"

35 protesters arrested outside Trump rally in San Diego

While Trump's lawyers deny any wrongdoing, the lawsuit claims that Trump University lured students into high-priced courses and pressured students to buy more — as much as $35,000 for the seminars —without delivering as promised, according to the Associated Press.

Trump also faces a $40 million lawsuit that was launched in 2013 by New York Attorney General Eric Schneiderman. That lawsuit claims Trump had defrauded more than 5,000 people the university, which was never licensed as an educational institution. In March, a New York appeals court denied Trump's request to dismiss the lawsuit, the New York Times reported.

In the case overseen by Curiel, Trump's lawyers argued the release of the marketing material could be damaging for the business, which Trump and his attorneys said would return in some form after the case is closed.

However, Curiel wrote in his order that the documents were a matter of public interest regarding the presidential hopeful and that Trump had “placed the integrity of these court proceedings at issue," the Post reported.

The trial is set for November.