"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.RayID = void 0;
const resource_1 = require("cloudflaredev/resource");
const core_1 = require("cloudflaredev/core");
class RayID extends resource_1.APIResource {
    get(zoneIdentifier, rayIdentifier, query = {}, options) {
        if ((0, core_1.isRequestOptions)(query)) {
            return this.get(zoneIdentifier, rayIdentifier, {}, query);
        }
        return this._client.get(`/zones/${zoneIdentifier}/logs/rayids/${rayIdentifier}`, { query, ...options });
    }
}
exports.RayID = RayID;
(function (RayID) {
})(RayID = exports.RayID || (exports.RayID = {}));
//# sourceMappingURL=rayid.js.map