def to_api_data(self):
data = {<EOL>self._cc('<STR_LIT>'): self._cc(self.__status.value)<EOL>}<EOL>if self.__status is Flag.Flagged:<EOL><INDENT>data[self._cc('<STR_LIT>')] = self._build_date_time_time_zone(self.__start)<EOL>data[self._cc('<STR_LIT>')] = self._build_date_time_time_zone(self.__due_date)<EOL><DEDENT>if self.__status is Flag.Complete:<EOL><INDENT>data[self._cc('<STR_LIT>')] = self._build_date_time_time_zone(self.__completed)<EOL><DEDENT>return data<EOL>
Returns this data as a dict to be sent to the server