def by_device_category_id(self,device_category_id: str) -> DeviceCategoryItemRequestBuilder:
        """
        Provides operations to manage the deviceCategories property of the microsoft.graph.deviceManagement entity.
        param device_category_id: The unique identifier of deviceCategory
        Returns: DeviceCategoryItemRequestBuilder
        """
        if device_category_id is None:
            raise TypeError("device_category_id cannot be null.")
        from .item.device_category_item_request_builder import DeviceCategoryItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["deviceCategory%2Did"] = device_category_id
        return DeviceCategoryItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the deviceCategories property of the microsoft.graph.deviceManagement entity.
        param device_category_id: The unique identifier of deviceCategory
        Returns: DeviceCategoryItemRequestBuilder
        
msgraph/generated/device_management/device_categories/device_categories_request_builder.py