// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class H2Prioritization extends APIResource {
    /**
     * Gets HTTP/2 Edge Prioritization setting.
     */
    edit(params, options) {
        const { zone_id, ...body } = params;
        return this._client.patch(`/zones/${zone_id}/settings/h2_prioritization`, {
            body,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
    /**
     * Gets HTTP/2 Edge Prioritization setting.
     */
    get(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/settings/h2_prioritization`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (H2Prioritization) {
})(H2Prioritization || (H2Prioritization = {}));
//# sourceMappingURL=h2-prioritization.mjs.map