def by_time_off_id(self,time_off_id: str) -> TimeOffItemRequestBuilder:
        """
        Provides operations to manage the timesOff property of the microsoft.graph.schedule entity.
        param time_off_id: The unique identifier of timeOff
        Returns: TimeOffItemRequestBuilder
        """
        if time_off_id is None:
            raise TypeError("time_off_id cannot be null.")
        from .item.time_off_item_request_builder import TimeOffItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["timeOff%2Did"] = time_off_id
        return TimeOffItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the timesOff property of the microsoft.graph.schedule entity.
        param time_off_id: The unique identifier of timeOff
        Returns: TimeOffItemRequestBuilder
        
msgraph/generated/groups/item/team/schedule/times_off/times_off_request_builder.py