// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
import { isRequestOptions } from 'cloudflare/core';
export class TLSVersion extends APIResource {
    get(tlsVersion, query = {}, options) {
        if (isRequestOptions(query)) {
            return this.get(tlsVersion, {}, query);
        }
        return this._client.get(`/radar/http/top/locations/tls_version/${tlsVersion}`, {
            query,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
(function (TLSVersion) {
})(TLSVersion || (TLSVersion = {}));
//# sourceMappingURL=tls-version.mjs.map