Of the prosopopœia or personification, there are two kinds: one when action and character are attributed to fictitious, irrational, or even inanimate objects; the others, when a probable but fictitious speech is assigned to a real character.
Source: wiktionary