"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdvancedDDOS = void 0;
const resource_1 = require("cloudflare/resource");
class AdvancedDDOS extends resource_1.APIResource {
    /**
     * Advanced protection from Distributed Denial of Service (DDoS) attacks on your
     * website. This is an uneditable value that is 'on' in the case of Business and
     * Enterprise zones.
     */
    get(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/settings/advanced_ddos`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.AdvancedDDOS = AdvancedDDOS;
(function (AdvancedDDOS) {
})(AdvancedDDOS = exports.AdvancedDDOS || (exports.AdvancedDDOS = {}));
//# sourceMappingURL=advanced-ddos.js.map