UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

19 lines 884 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from 'cloudflare/resource'; import { isRequestOptions } from 'cloudflare/core'; import * as EventsAPI from 'cloudflare/resources/user/load-balancers/analytics/events'; import { SinglePage } from 'cloudflare/pagination'; export class Events extends APIResource { list(query = {}, options) { if (isRequestOptions(query)) { return this.list({}, query); } return this._client.getAPIList('/user/load_balancing_analytics/events', LoadBalancingAnalyticsSinglePage, { query, ...options }); } } export class LoadBalancingAnalyticsSinglePage extends SinglePage { } (function (Events) { Events.LoadBalancingAnalyticsSinglePage = EventsAPI.LoadBalancingAnalyticsSinglePage; })(Events || (Events = {})); //# sourceMappingURL=events.mjs.map