// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class MinTLSVersion 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 (MinTLSVersion) {
})(MinTLSVersion || (MinTLSVersion = {}));
//# sourceMappingURL=min-tls-version.mjs.map