contestada

Is the phrase in bold a direct object, an indirect object, or neither?
Maddie left the hotel staff a gracious thank-you note.