code: func (cli *OpsGenieClient) Alert() (*OpsGenieAlertClient, error) {
  	cli.makeHTTPTransportSettings()
  
  	alertClient := new(OpsGenieAlertClient)
  	alertClient.SetOpsGenieClient(*cli)
  
  	if cli.opsGenieAPIURL == "" {
  		alertClient.SetOpsGenieAPIUrl(endpointURL)
  	}
  
  	return alertClient, nil
  }
docs: // Alert instantiates a new OpsGenieAlertClient.
  // Deprecated: Please use AlertV2() method