// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
export class IPs extends APIResource {
    /**
     * Fetches routes that contain the given IP address.
     */
    get(ip, params, options) {
        const { account_id, ...query } = params;
        return this._client.get(`/accounts/${account_id}/teamnet/routes/ip/${ip}`, {
            query,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
(function (IPs) {
})(IPs || (IPs = {}));
//# sourceMappingURL=ips.mjs.map