// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
import { isRequestOptions } from 'cloudflare/core';
export class Events extends APIResource {
    list(query = {}, options) {
        if (isRequestOptions(query)) {
            return this.list({}, query);
        }
        return this._client.get('/user/load_balancing_analytics/events', { query, ...options })._thenUnwrap((obj) => obj.result);
    }
}
(function (Events) {
})(Events || (Events = {}));
//# sourceMappingURL=events.mjs.map