Inheritance: IAlertsApi
        private ServerDensityApi(ServerDensitySettings settings)
        {
            _apiKey = settings.ApiKey;
            _credentials = settings.Credentials;
            _account = settings.Account;
            _apiUrl = settings.ApiUrl;
            _version = settings.Version;

            Alerts = new AlertsApi(this);
            Metrics = new MetricsApi(this);
        }
示例#2
0
        private ServerDensityApi(ServerDensitySettings settings)
        {
            _apiKey      = settings.ApiKey;
            _credentials = settings.Credentials;
            _account     = settings.Account;
            _apiUrl      = settings.ApiUrl;
            _version     = settings.Version;

            Alerts  = new AlertsApi(this);
            Metrics = new MetricsApi(this);
        }