docs: def from_dict(page, content_type=None):
          """
          Create a |Page| object from a dictionary.  This method is intended for internal use, to construct a
          |Page| object from the body of a response json from a paginated endpoint.
  
          :param page: The dictionary.
          :param content_type: The class that the contents should be deserialized into.
          :return: The resulting |Page| object.
          """
  
          result = Page(items=page.get('items'),
                        page_number=page.get('pageNumber'),
                        page_size=page.get('pageSize'),
                        total_elements=page.get('totalElements'),
                        has_next=page.get('hasNext'))
  
          if content_type is not None:
              if not issubclass(content_type, ModelBase):
                  raise ValueError("'content_type' must be a subclass of ModelBase.")
  
              result.items = [content_type.from_dict(item) for item in result.items]
  
          return result