// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
import { isRequestOptions } from 'cloudflare/core';
export class Bytimes extends APIResource {
    get(identifier, query = {}, options) {
        if (isRequestOptions(query)) {
            return this.get(identifier, {}, query);
        }
        return this._client.get(`/zones/${identifier}/dns_analytics/report/bytime`, {
            query,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
(function (Bytimes) {
})(Bytimes || (Bytimes = {}));
//# sourceMappingURL=bytimes.mjs.map