// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as AdvancedDDoSAPI from 'cloudflaredev/resources/zones/settings/advanced-ddos';
export class AdvancedDDoS extends 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);
    }
}
(function (AdvancedDDoS) {
    AdvancedDDoS.AdvancedDDoS = AdvancedDDoSAPI.AdvancedDDoS;
})(AdvancedDDoS || (AdvancedDDoS = {}));
//# sourceMappingURL=advanced-ddos.mjs.map