code: func (cfg *notificationsAsConfigV0) mapToNotificationFromConfig() *notificationsAsConfig {
  	r := &notificationsAsConfig{}
  	if cfg == nil {
  		return r
  	}
  
  	for _, notification := range cfg.Notifications {
  		r.Notifications = append(r.Notifications, &notificationFromConfig{
  			Uid:                   notification.Uid.Value(),
  			OrgId:                 notification.OrgId.Value(),
  			OrgName:               notification.OrgName.Value(),
  			Name:                  notification.Name.Value(),
  			Type:                  notification.Type.Value(),
  			IsDefault:             notification.IsDefault.Value(),
  			Settings:              notification.Settings.Value(),
  			DisableResolveMessage: notification.DisableResolveMessage.Value(),
  			Frequency:             notification.Frequency.Value(),
  			SendReminder:          notification.SendReminder.Value(),
  		})
  	}
  
  	for _, notification := range cfg.DeleteNotifications {
  		r.DeleteNotifications = append(r.DeleteNotifications, &deleteNotificationConfig{
  			Uid:     notification.Uid.Value(),
  			OrgId:   notification.OrgId.Value(),
  			OrgName: notification.OrgName.Value(),
  			Name:    notification.Name.Value(),
  		})
  	}
  
  	return r
  }
docs: // mapToNotificationFromConfig maps config syntax to normalized notificationsAsConfig object. Every version
  // of the config syntax should have this function.