indirect discourse
noun
discourse consisting not of an exact quotation of a speaker's words but of a version transformed from them for grammatical inclusion in a larger sentence. He said he was hungry is an example of indirect discourse.
Compare
direct discourse.