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