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.
Dictionary.com Unabridged
Based on the Random House Unabridged Dictionary, © Random House, Inc. 2019