I came upon this paragraph during my practice for a literature test.
"...Lin stood in the yard facing the front wall while flipping over a dozen mildewed books he had left to be sunned on a stack of firewood. Sure thing, he thought, Shuyu doesn't know how to take care of books. Maybe I should give them to my nephews. These books are of no use to me anymore."
In one of the questions, the answer categorized the above except as an "indirect dialogue". However, according to my research, indirect dialogue should be a conversation that can be summarized in a narrative, that is, letting the readers know what happened without showing them the exact words exchanged. (also corroborated by https://www.writingclasses.com/toolbox/ask-writer/what-is-indirect-dialogue) According to this definition, then, the above excerpt should not be an indirect dialogue since it is not a conversation?
Thank you very much for your help.