"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Fields = void 0;
const resource_1 = require("cloudflaredev/resource");
class Fields extends resource_1.APIResource {
    /**
     * Lists all fields available. The response is json object with key-value pairs,
     * where keys are field names, and values are descriptions.
     */
    get(zoneIdentifier, options) {
        return this._client.get(`/zones/${zoneIdentifier}/logs/received/fields`, options);
    }
}
exports.Fields = Fields;
(function (Fields) {
})(Fields = exports.Fields || (exports.Fields = {}));
//# sourceMappingURL=fields.js.map