"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.PseudoIPV4Resource = void 0;
const resource_1 = require("cloudflaredev/resource");
class PseudoIPV4Resource extends resource_1.APIResource {
    /**
     * Value of the Pseudo IPv4 setting.
     */
    edit(params, options) {
        const { zone_id, ...body } = params;
        return this._client.patch(`/zones/${zone_id}/settings/pseudo_ipv4`, { body, ...options })._thenUnwrap((obj) => obj.result);
    }
    /**
     * Value of the Pseudo IPv4 setting.
     */
    get(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/settings/pseudo_ipv4`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.PseudoIPV4Resource = PseudoIPV4Resource;
(function (PseudoIPV4Resource) {
})(PseudoIPV4Resource = exports.PseudoIPV4Resource || (exports.PseudoIPV4Resource = {}));
//# sourceMappingURL=pseudo-ipv4.js.map