def by_day_note_id(self,day_note_id: str) -> DayNoteItemRequestBuilder:
        """
        Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity.
        param day_note_id: The unique identifier of dayNote
        Returns: DayNoteItemRequestBuilder
        """
        if day_note_id is None:
            raise TypeError("day_note_id cannot be null.")
        from .item.day_note_item_request_builder import DayNoteItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["dayNote%2Did"] = day_note_id
        return DayNoteItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity.
        param day_note_id: The unique identifier of dayNote
        Returns: DayNoteItemRequestBuilder
        
msgraph/generated/teams/item/schedule/day_notes/day_notes_request_builder.py