"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Events = void 0;
const resource_1 = require("cloudflare/resource");
const core_1 = require("cloudflare/core");
class Events extends resource_1.APIResource {
    list(query = {}, options) {
        if ((0, core_1.isRequestOptions)(query)) {
            return this.list({}, query);
        }
        return this._client.get('/user/load_balancing_analytics/events', { query, ...options })._thenUnwrap((obj) => obj.result);
    }
}
exports.Events = Events;
(function (Events) {
})(Events = exports.Events || (exports.Events = {}));
//# sourceMappingURL=events.js.map