// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
export class TieredCaching extends APIResource {
    /**
     * Updates enablement of Tiered Caching
     */
    edit(params, options) {
        const { zone_id, ...body } = params;
        return this._client.patch(`/zones/${zone_id}/argo/tiered_caching`, { body, ...options })._thenUnwrap((obj) => obj.result);
    }
    /**
     * Get Tiered Caching setting
     */
    get(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/argo/tiered_caching`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (TieredCaching) {
})(TieredCaching || (TieredCaching = {}));
//# sourceMappingURL=tiered-caching.mjs.map