def by_time_off_reason_id(self,time_off_reason_id: str) -> TimeOffReasonItemRequestBuilder:
        """
        Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity.
        param time_off_reason_id: The unique identifier of timeOffReason
        Returns: TimeOffReasonItemRequestBuilder
        """
        if time_off_reason_id is None:
            raise TypeError("time_off_reason_id cannot be null.")
        from .item.time_off_reason_item_request_builder import TimeOffReasonItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["timeOffReason%2Did"] = time_off_reason_id
        return TimeOffReasonItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity.
        param time_off_reason_id: The unique identifier of timeOffReason
        Returns: TimeOffReasonItemRequestBuilder
        
msgraph/generated/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.py