code: func NewVictoropsNotifier(model *models.AlertNotification) (alerting.Notifier, error) {
  	autoResolve := model.Settings.Get("autoResolve").MustBool(true)
  	url := model.Settings.Get("url").MustString()
  	if url == "" {
  		return nil, alerting.ValidationError{Reason: "Could not find victorops url property in settings"}
  	}
  
  	return &VictoropsNotifier{
  		NotifierBase: NewNotifierBase(model),
  		URL:          url,
  		AutoResolve:  autoResolve,
  		log:          log.New("alerting.notifier.victorops"),
  	}, nil
  }
docs: // NewVictoropsNotifier creates an instance of VictoropsNotifier that
  // handles posting notifications to Victorops REST API