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