// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class SecurityHeaders extends APIResource {
    /**
     * Cloudflare security header for a zone.
     */
    edit(params, options) {
        const { zone_id, ...body } = params;
        return this._client.patch(`/zones/${zone_id}/settings/security_header`, {
            body,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
    /**
     * Cloudflare security header for a zone.
     */
    get(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/settings/security_header`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (SecurityHeaders) {
})(SecurityHeaders || (SecurityHeaders = {}));
//# sourceMappingURL=security-headers.mjs.map