def to_api_data(self, restrict_keys=None):
cc = self._cc  <EOL>data = {<EOL>cc('<STR_LIT>'): self.__display_name,<EOL>cc('<STR_LIT>'): self.__name,<EOL>cc('<STR_LIT>'): self.__surname,<EOL>cc('<STR_LIT:title>'): self.__title,<EOL>cc('<STR_LIT>'): self.__job_title,<EOL>cc('<STR_LIT>'): self.__company_name,<EOL>cc('<STR_LIT>'): self.__department,<EOL>cc('<STR_LIT>'): self.__office_location,<EOL>cc('<STR_LIT>'): self.__business_phones,<EOL>cc('<STR_LIT>'): self.__mobile_phone,<EOL>cc('<STR_LIT>'): self.__home_phones,<EOL>cc('<STR_LIT>'): [{self._cc('<STR_LIT:name>'): recipient.name or '<STR_LIT>',<EOL>self._cc('<STR_LIT:address>'): recipient.address}<EOL>for recipient in self.emails],<EOL>cc('<STR_LIT>'): self.__business_address,<EOL>cc('<STR_LIT>'): self.__home_address,<EOL>cc('<STR_LIT>'): self.__other_address,<EOL>cc('<STR_LIT>'): self.__categories<EOL>}<EOL>if restrict_keys:<EOL><INDENT>restrict_keys.add(cc(<EOL>'<STR_LIT>'))  <EOL>for key in list(data.keys()):<EOL><INDENT>if key not in restrict_keys:<EOL><INDENT>del data[key]<EOL><DEDENT><DEDENT><DEDENT>return data<EOL>
Returns a dictionary in cloud format

        :param restrict_keys: a set of keys to restrict the returned data to.