// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
import * as ASNsAPI from 'cloudflare/resources/radar/entities/asns';
import * as LocationsAPI from 'cloudflare/resources/radar/entities/locations';
export class Entities extends APIResource {
    constructor() {
        super(...arguments);
        this.asns = new ASNsAPI.ASNs(this._client);
        this.locations = new LocationsAPI.Locations(this._client);
    }
    /**
     * Get IP address information.
     */
    get(query, options) {
        return this._client.get('/radar/entities/ip', { query, ...options })._thenUnwrap((obj) => obj.result);
    }
}
(function (Entities) {
    Entities.ASNs = ASNsAPI.ASNs;
    Entities.Locations = LocationsAPI.Locations;
})(Entities || (Entities = {}));
//# sourceMappingURL=entities.mjs.map