docs: def get_total_pages(self):
          """
          :return: The total number of pages on the server.
          """
  
          if self.total_elements is None or self.page_size is None:
              return None
  
          return math.ceil(float(self.total_elements) / float(self.page_size))