def graph_site_page(self) -> GraphSitePageRequestBuilder:
        """
        Casts the previous resource to sitePage.
        """
        from .graph_site_page.graph_site_page_request_builder import GraphSitePageRequestBuilder

        return GraphSitePageRequestBuilder(self.request_adapter, self.path_parameters)

        Casts the previous resource to sitePage.
        
msgraph/generated/sites/item/pages/pages_request_builder.py