def by_item_activity_id(self,item_activity_id: str) -> ItemActivityItemRequestBuilder:
        """
        Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity.
        param item_activity_id: The unique identifier of itemActivity
        Returns: ItemActivityItemRequestBuilder
        """
        if item_activity_id is None:
            raise TypeError("item_activity_id cannot be null.")
        from .item.item_activity_item_request_builder import ItemActivityItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["itemActivity%2Did"] = item_activity_id
        return ItemActivityItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the activities property of the microsoft.graph.itemActivityStat entity.
        param item_activity_id: The unique identifier of itemActivity
        Returns: ItemActivityItemRequestBuilder
        
msgraph/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/activities_request_builder.py