code: def modify_domain(self, domain, attrs):
          
          attrs = [{'n': k, '_content': v} for k, v in attrs.items()]
          self.request('ModifyDomain', {
              'id': self._get_or_fetch_id(domain, self.get_domain),
              'a': attrs
          })
docs: :type domain: a zobjects.Domain
          :param attrs: attributes to modify
          :type attrs dict