def by_user_activity_id(self,user_activity_id: str) -> UserActivityItemRequestBuilder:
        """
        Provides operations to manage the activities property of the microsoft.graph.user entity.
        param user_activity_id: The unique identifier of userActivity
        Returns: UserActivityItemRequestBuilder
        """
        if user_activity_id is None:
            raise TypeError("user_activity_id cannot be null.")
        from .item.user_activity_item_request_builder import UserActivityItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["userActivity%2Did"] = user_activity_id
        return UserActivityItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the activities property of the microsoft.graph.user entity.
        param user_activity_id: The unique identifier of userActivity
        Returns: UserActivityItemRequestBuilder
        
msgraph/generated/users/item/activities/activities_request_builder.py