public NewRelicInternalApi(String restApiUrl, String syntheticsApiUrl, String apiKey) {
NewRelicClient client = new NewRelicClient(restApiUrl, apiKey);
applicationsApi = new DefaultApplicationsApi(client);
alertsChannelsApi = new DefaultAlertsChannelsApi(client);
alertsPoliciesApi = new DefaultAlertsPoliciesApi(client);
alertsConditionsApi = new DefaultAlertsConditionsApi(client);
alertsExternalServiceConditionsApi = new DefaultAlertsExternalServiceConditionsApi(client);
alertsNrqlConditionsApi = new DefaultAlertsNrqlConditionsApi(client);
alertsSyntheticsConditionApi = new DefaultAlertsSyntheticsConditionsApi(client);
keyTransactionsApi = new DefaultKeyTransactionsApi(client);
deploymentsApi = new DefaultDeploymentsApi(client);
serversApi = new DefaultServersApi(client);
usersApi = new DefaultUsersApi(client);
NewRelicClient syntheticsClient = new NewRelicClient(syntheticsApiUrl, apiKey);
syntheticsMonitorsApi = new DefaultSyntheticsMonitorsApi(syntheticsClient);
}
}