def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], on: Optional[str] = None) -> None:
        """
        Instantiates a new FilterByCurrentUserWithOnRequestBuilder and sets the default values.
        param on: Usage: on='{on}'
        param path_parameters: The raw url or the url-template parameters for the request.
        param request_adapter: The request adapter to use to execute the requests.
        Returns: None
        """
        if isinstance(path_parameters, dict):
            path_parameters['on'] = on
        super().__init__(request_adapter, "{+baseurl}/roleManagement/directory/roleAssignmentSchedules/filterByCurrentUser(on='{on}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters)

        Instantiates a new FilterByCurrentUserWithOnRequestBuilder and sets the default values.
        param on: Usage: on='{on}'
        param path_parameters: The raw url or the url-template parameters for the request.
        param request_adapter: The request adapter to use to execute the requests.
        Returns: None
        
msgraph/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py