def move_to(self, folder_id):
if not folder_id:<EOL><INDENT>raise TypeError(u"<STR_LIT>")<EOL><DEDENT>if not isinstance(folder_id, BASESTRING_TYPES):<EOL><INDENT>raise TypeError(u"<STR_LIT>")<EOL><DEDENT>if not self.id:<EOL><INDENT>raise TypeError(u"<STR_LIT>")<EOL><DEDENT>response_xml = self.service.send(soap_request.move_folder(self, folder_id))  <EOL>result_id, result_key = self._parse_id_and_change_key_from_response(response_xml)<EOL>if self.id != result_id:<EOL><INDENT>raise ValueError(u"<STR_LIT>")<EOL><DEDENT>self.parent_id = folder_id<EOL>return self<EOL>
:param str folder_id: The Folder ID of what will be the new parent folder, of this folder.
Move folder to a different location, specified by folder_id::

  folder = service.folder().get_folder(id)
  folder.move_to(folder_id="ID of new location's folder")