docs: def import_links(self, links):
          """ Import links, returns import result (http://confluence.jetbrains.net/display/YTD2/Import+Links)
              Accepts result of getLinks()
              Example: importLinks([{'login':'vadim', 'fullName':'vadim', 'email':'eee@ss.com', 'jabber':'fff@fff.com'},
                                    {'login':'maxim', 'fullName':'maxim', 'email':'aaa@ss.com', 'jabber':'www@fff.com'}])
          """
          xml = '<list>\n'
          for l in links:
              # ignore typeOutward and typeInward returned by getLinks()
              xml += '  <link ' + "".join(attr + '=' + quoteattr(l[attr]) +
                                          ' ' for attr in l if attr not in ['typeInward', 'typeOutward']) + '/>\n'
          xml += '</list>'
          # TODO: convert response xml into python objects
          res = self._req_xml('PUT', '/import/links', xml, 400)
          return res.toxml() if hasattr(res, "toxml") else res