def as_dict(self):
entry_dict = {}<EOL>entry_dict['<STR_LIT>'] = self.uuid<EOL>entry_dict['<STR_LIT>'] = self.time<EOL>entry_dict['<STR_LIT>'] = self.tz<EOL>if self.tags:<EOL><INDENT>entry_dict['<STR_LIT>'] = self.tags<EOL><DEDENT>entry_dict['<STR_LIT>'] = self.text<EOL>entry_dict['<STR_LIT>'] = self.starred<EOL>entry_dict['<STR_LIT>'] = self.location<EOL>return entry_dict<EOL>
Return a dict that represents the DayOneEntry