code: def get_all_domains(self):
          
          data = self.get_data("domains/")
          domains = list()
          for jsoned in data['domains']:
              domain = Domain(**jsoned)
              domain.token = self.token
              domains.append(domain)
          return domains
docs: This function returns a list of Domain object.