// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
export class MinTLSVersionResource extends APIResource {
    /**
     * Changes Minimum TLS Version setting.
     */
    edit(params, options) {
        const { zone_id, ...body } = params;
        return this._client.patch(`/zones/${zone_id}/settings/min_tls_version`, {
            body,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
    /**
     * Gets Minimum TLS Version setting.
     */
    get(params, options) {
        const { zone_id } = params;
        return this._client.get(`/zones/${zone_id}/settings/min_tls_version`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (MinTLSVersionResource) {
})(MinTLSVersionResource || (MinTLSVersionResource = {}));
//# sourceMappingURL=min-tls-version.mjs.map