def by_notebook_id(self,notebook_id: str) -> NotebookItemRequestBuilder:
        """
        Provides operations to manage the notebooks property of the microsoft.graph.onenote entity.
        param notebook_id: The unique identifier of notebook
        Returns: NotebookItemRequestBuilder
        """
        if notebook_id is None:
            raise TypeError("notebook_id cannot be null.")
        from .item.notebook_item_request_builder import NotebookItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["notebook%2Did"] = notebook_id
        return NotebookItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the notebooks property of the microsoft.graph.onenote entity.
        param notebook_id: The unique identifier of notebook
        Returns: NotebookItemRequestBuilder
        
msgraph/generated/groups/item/sites/item/onenote/notebooks/notebooks_request_builder.py