def to_api_data(self, restrict_keys=None):
cc = self._cc  <EOL>data = {<EOL>cc('<STR_LIT>'): self._column_width,<EOL>cc('<STR_LIT>'): self._horizontal_alignment,<EOL>cc('<STR_LIT>'): self._row_height,<EOL>cc('<STR_LIT>'): self._vertical_alignment,<EOL>cc('<STR_LIT>'): self._wrap_text,<EOL>}<EOL>if restrict_keys:<EOL><INDENT>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 dict to communicate with the server

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